00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 #ifndef ZEITGEIST_ZEITGEIST_H
00022 #define ZEITGEIST_ZEITGEIST_H
00023
00024 #include "core.h"
00025 #include "corecontext.h"
00026 #include "scriptserver/scriptserver.h"
00027 #include "logserver/logserver.h"
00028 #include <boost/shared_ptr.hpp>
00029
00030 namespace zeitgeist
00031 {
00036 class Zeitgeist
00037 {
00038
00039
00040
00041 public:
00047 Zeitgeist(std::string dotName);
00048
00053 Zeitgeist(std::string dotName, std::string relPathPrefix);
00054 ~Zeitgeist();
00055
00057 boost::shared_ptr<CoreContext> CreateContext();
00058
00060 boost::shared_ptr<Core>& GetCore();
00061
00062 private:
00064 void ConstructCore();
00065
00069 void RunInitScript(std::string dotName);
00070
00071
00072
00073
00074 private:
00076 boost::shared_ptr<Core> mCore;
00077 };
00078
00079 }
00080
00081 #endif //ZEITGEIST_ZEITGEIST_H