12#ifndef RTCTK_RTCSUPERVISOR_RTCOBJECTCONTROLLER_HPP
13#define RTCTK_RTCSUPERVISOR_RTCOBJECTCONTROLLER_HPP
68 std::map<std::string, std::string>
87 std::map<std::string, std::string>
96 std::vector<std::unique_ptr<RtcObjectIf>>&
m_objects;
The RtctkException class is the base class for all Rtctk exceptions.
Definition exceptions.hpp:220
CommandFailedException(RtcCommand cmd, const std::vector< std::exception_ptr > &errs)
Definition rtcObjectController.cpp:33
std::mutex m_command_mutex
Definition rtcObjectController.hpp:101
std::map< std::string, std::string > 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
log4cplus::Logger & m_logger
Definition rtcObjectController.hpp:93
RtcObjectController()=delete
virtual ~RtcObjectController()=default
std::map< std::string, std::string > 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:77
std::vector< std::unique_ptr< RtcObjectIf > > & m_objects
reference to lists of objects
Definition rtcObjectController.hpp:96
RtcCommand
List of commands that can be issued by the RtcSupervisor.
Definition rtcObject.hpp:54
Logging Support Library based on log4cplus.
Definition alertAggregator.cpp:18
Handles communication with one supervised RtcComponent.