4 #include <utl/ErrorLogger.h>
5 #include <fwk/RunController.h>
11 using namespace SuperModuleNS;
14 SuperModule::SuperModule()
19 SuperModule::~SuperModule()
27 INFO(
"SuperModule::Init()");
30 RunController::GetInstance().GetModule(
"SubModuleA").Init();
31 RunController::GetInstance().GetModule(
"SubModuleB").Init();
40 INFO(
"SuperModule::Run()");
43 RunController::GetInstance().GetModule(
"SubModuleA").Run(event);
44 RunController::GetInstance().GetModule(
"SubModuleB").Run(event);
53 INFO(
"SuperModule::Finish()");
56 RunController::GetInstance().GetModule(
"SubModuleA").Finish();
57 RunController::GetInstance().GetModule(
"SubModuleB").Finish();
#define INFO(message)
Macro for logging informational messages.
void Init()
Initialise the registry.
ResultFlag
Flag returned by module methods to the RunController.