common/subsys.hpp File Reference


Detailed Description

Describing dependencies and lifecycle of the application's primary parts.

Within Lumiera's main(), a small number of well-known application subsystems need to be started and maintained, observing some interrelations. While the activation of the key components is controlled by options, maybe some prerequisite subsystems need to be pulled up, and in case of an regular or irregular exit of a given subsystem, the whole dependency graph needs to be brought down in a clean manner. The purpose of lumiera::Subsys is to maintain these in a self-explanatory script-like fashion within main(), without forcing the individual subsystems into a fixed implementation scheme. The only requirement is that for each subsystem there is sort-of an entry point or facade object, providing a Subsys descriptor instance to be used within main.

See also:
lumiera::AppState

lumiera::Option

main.cpp

Definition in file subsys.hpp.

#include "lib/error.hpp"
#include "common/option.hpp"
#include <boost/noncopyable.hpp>
#include <tr1/functional>
#include <string>
#include <vector>

Include dependency graph for subsys.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::Subsys
 Dependencies and lifecycle of a partially independent Subsystem of the Application. More...


Generated on Sun Aug 1 21:30:47 2010 for Lumiera by  doxygen 1.5.6