#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "Listener.h" #include "EventSender.h" #include "TimeStampedEvent.h" #include "PolymorphEvent.h" namespace fsm = boost::statechart; #include "mdcommon.h" #include "mdevents.h" #include "mdLogger.h" #include "mdBehavior.h" #include "mdHost.h" #define MD_HAUSHALT 2000 // milliseconds between attention routine #define MD_LOCK_FILE "cliever-md.lock" #include "masterDaemonConfig.h" #ifdef MD_MAIN mdHostFabrik *deviceFactory; mdLogger *theseLogs; masterDaemonConfig *thisConfig; extern void runMasterDaemon(); extern void runAPILayer(); #else extern mdHostFabrik *deviceFactory; extern mdLogger *theseLogs; extern masterDaemonConfig *thisConfig; #endif