#include <zeitgeist.h>
Public Member Functions | |
| Zeitgeist (std::string dotName) | |
| constructs the main core and starts the zeitgeist framework. | |
| Zeitgeist (std::string dotName, std::string relPathPrefix) | |
| constructs the main core as above but changes the relative path prefix used by the ScriptServer prior to running the zeitgeist init script. | |
| ~Zeitgeist () | |
| boost::shared_ptr< CoreContext > | CreateContext () |
| creates a new corecontext | |
| boost::shared_ptr< Core > & | GetCore () |
| returns a pointer to the main core | |
Private Member Functions | |
| void | ConstructCore () |
| allocates and sets up the main core | |
| void | RunInitScript (std::string dotName) |
| runs the zeitgeist init script. | |
Private Attributes | |
| boost::shared_ptr< Core > | mCore |
| the main core | |
It is the basic interface to the client code.
Definition at line 36 of file zeitgeist.h.
|
|
constructs the main core and starts the zeitgeist framework. dotName gives the name of the directory in the user's home directory, where the default init scripts are searched. |
|
||||||||||||
|
constructs the main core as above but changes the relative path prefix used by the ScriptServer prior to running the zeitgeist init script.
|
|
|
Definition at line 47 of file zeitgeist.cpp. References mCore. |
|
|
allocates and sets up the main core
Definition at line 60 of file zeitgeist.cpp. References mCore. |
|
|
creates a new corecontext
Definition at line 86 of file zeitgeist.cpp. References mCore. |
|
|
returns a pointer to the main core
Definition at line 91 of file zeitgeist.cpp. References mCore. Referenced by spark::Spark::GetCore(), spark::Spark::GetLog(), spark::Spark::Init(), kerosin::Kerosin::Kerosin(), main(), and oxygen::Oxygen::Oxygen(). |
|
|
runs the zeitgeist init script. dotName is the name of the users local directory, where the init scripts are searched |
|
|
the main core
Definition at line 76 of file zeitgeist.h. Referenced by ConstructCore(), CreateContext(), GetCore(), and ~Zeitgeist(). |
1.4.4