16 #ifndef MODULERUNNER_H 17 #define MODULERUNNER_H 28 #include <initializer_list> 35 namespace ModulePrivate
44 std::string groupName;
45 std::list<LauncherBase*> groupModuleList;
46 bool terminateMsgLoop = {
false};
63 Runner(std::string groupName,
64 std::initializer_list<LauncherBase*> moduleList);
116 #endif // MODULERUNNER_H Contains interface declaration for the FSYS::MsgSender class.
Contains interface declaration for the FSYS::MsgReceiver class.
Template class allowing other classes to receive messages.
Definition: msgreceiver.h:78
void runMsgLoop(void)
Calling this function will run the message loop for this thread.
Definition: modulerunner.cpp:77
Message broadcasted when the system is initialised.
Definition: moduledeclare.h:193
void receive(MsgSystemReady)
Receiver function for the MsgSystemReady broadcast.
Definition: modulerunner.cpp:102
void shutdown(void)
Function that stops and delete all modules owned by this runner.
Definition: modulerunner.cpp:87
void startStaticModules(void)
Function to start all static modules.
Definition: modulerunner.cpp:55
Last message broadcasted to threads.
Definition: moduledeclare.h:218
Contains the declaration of the module defining macros and classes.
Runner(std::string groupName, std::initializer_list< LauncherBase * > moduleList)
Constructor for the Runner class.
Definition: modulerunner.cpp:42
Definition: modulerunner.h:38
Class enabling other classes to send messages.
Definition: msgsender.h:60
Message broadcasted when the system is being terminated.
Definition: moduledeclare.h:202