lib/lifecycleregistry.hpp File Reference


Detailed Description

Helper for registering lifecycle event callbacks, which are provided as a global service by lumiera::AppState.

This service allows to enrol functions under a given label and then to call all those registered functions.

Note:
this is in fact an event mechanism, and if we start using more than just this basic functionality, we should switch to boost::signals. (which has the downside of being an binary dependency).
See also:
appstate.hpp

Definition in file lifecycleregistry.hpp.

#include <map>
#include <set>
#include <string>
#include <tr1/functional>
#include <boost/noncopyable.hpp>
#include "lib/util.hpp"

Include dependency graph for lifecycleregistry.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  lumiera

Classes

class  lumiera::LifecycleRegistry
 Registry of callback functions accessible by a label (ID) provided at registration. More...


Generated on Tue Jan 6 17:20:48 2009 for Lumiera by  doxygen 1.5.6