10 enum ControllerReturnStatus;
19 template<u
int32_t N_ACTIVES = 1,
bool STATIC_PIMPL = false>
62 pimpl->Start(_parameters);
72 ControllerReturnStatus
WaitForAll(
const int32_t& _wait_time = -1) {
73 return pimpl->WaitForAll(_wait_time);
void StopAll()
Stop the controller, calls BaseController::Impl::StopAll.
The master parameters class.
Impl *const pimpl
the pointer to the implementation
ControllerReturnStatus WaitForAll(const int32_t &_wait_time=-1)
Wait until the controller threads finished, calls BaseController::Impl::WaitForAll.
virtual ~BaseController()
Deletes the pimpl unless it points to a static local variable.
void Start(const parameters::Scope &_parameters)
Start the controller, calls BaseController::Impl::Start.
BaseController operator=(const BaseController &i)
disable assignment
Various helper functions and classes for Scope.
Base class for all controllers.
BaseController(Impl *const _pimpl)
Constructor which can be used from derived classes to store their implementation class in BaseControl...
Implementation class of the BaseController, uses std::async to execute worker functions in a separate...