13#ifndef RTCTK_RTCSUPERVISOR_RTCOBJECTCONTROLLER_HPP
14#define RTCTK_RTCSUPERVISOR_RTCOBJECTCONTROLLER_HPP
89 std::vector<std::unique_ptr<RtcObjectIf>>&
m_objects;
The RtctkException class is the base class for all Rtctk exceptions.
Definition: exceptions.hpp:237
Dedicated exception type to indicate errors.
Definition: rtcObjectController.hpp:29
Class used to control multiple RtcObjects.
Definition: rtcObjectController.hpp:44
std::mutex m_command_mutex
Definition: rtcObjectController.hpp:94
void RunSequential(RtcCommand cmd, bool keep_going, std::optional< unsigned > timeout=std::nullopt)
Runs specified command on each object in sequence and waits for completion or error.
Definition: rtcObjectController.cpp:43
void RunParallel(RtcCommand cmd, std::optional< unsigned > timeout=std::nullopt)
Runs specified command on each object in parallel and waits for completion or error.
Definition: rtcObjectController.cpp:74
log4cplus::Logger & m_logger
Definition: rtcObjectController.hpp:86
RtcObjectController()=delete
virtual ~RtcObjectController()=default
std::vector< std::unique_ptr< RtcObjectIf > > & m_objects
reference to lists of objects
Definition: rtcObjectController.hpp:89
Logging Support Library based on log4cplus.
Definition: rtcSupervisor.cpp:21
RtcCommand
List of commands that can be issued by the RtcSupervisor.
Definition: rtcObject.hpp:51
Handles communication with one supervised RtcComponent.