27 #include "../common/WLogger.h"
29 #include "WModuleCombiner.h"
30 #include "WModuleContainer.h"
40 m_container(
WKernel::getRunningKernel()->getRootContainer() )
53 m_container->addPendingThread( shared_from_this() );
67 wlog::error(
"ModuleCombiner" ) <<
"Exception thrown. Aborting module combiner.";
71 m_container->finishedPendingThread( shared_from_this() );
OpenWalnut kernel, managing modules and interaction between UI, GE and DataHandler.
virtual void apply()=0
Apply the internal module structure to the target container.
virtual ~WModuleCombiner()
Destructor.
WModuleCombiner()
Creates an empty combiner.
virtual void threadMain()
Function that has to be overwritten for execution.
std::shared_ptr< WModuleContainer > m_container
The module container to use for the modules.
virtual void run()
Run thread and call apply().
Base class for all classes needing to be executed in a separate thread.
virtual void run()
Run thread.
WStreamedLogger error(const std::string &source)
Logging an error message.