25 #ifndef WMODULECOMBINER_H
26 #define WMODULECOMBINER_H
29 #include <boost/shared_ptr.hpp>
32 #include "../common/WThreadedRunner.h"
34 #include "WModuleContainer.h"
45 public boost::enable_shared_from_this< WModuleCombiner >
53 explicit WModuleCombiner( boost::shared_ptr< WModuleContainer > target );
71 virtual void apply() = 0;
93 #endif // WMODULECOMBINER_H
Base class for all classes needing to be executed in a separate thread.
This is a base class for all module combination classes.
virtual void threadMain()
Function that has to be overwritten for execution.
boost::shared_ptr< WModuleContainer > m_container
The module container to use for the modules.
WModuleCombiner()
Creates an empty combiner.
virtual void apply()=0
Apply the internal module structure to the target container.
virtual ~WModuleCombiner()
Destructor.
virtual void run()
Run thread and call apply().