RTC Toolkit  1.0.0
rtcCommandRequestListSeries.hpp
Go to the documentation of this file.
1 
12 #ifndef RTCTK_RTCSUPERVISOR_RTCCOMMANDREQUESTLISTSERIES_HPP
13 #define RTCTK_RTCSUPERVISOR_RTCCOMMANDREQUESTLISTSERIES_HPP
14 
15 #include "Rtctkif.hpp"
18 
19 namespace rtctk::rtcSupervisor {
20 
21 using stdif::StdCmdsAsync;
22 using stdif::StdCmdsSync;
23 
25 public:
28 
29  void Append(std::shared_ptr<RtcCommandRequestList> cr);
30 
31  void RunForward(RtcCommand cmd, int delay_in_ms_between_phases, bool keep_going = false);
32  void RunReverse(RtcCommand cmd, int delay_in_ms_between_phases, bool keep_going = false);
33  void Free();
34 
35 private:
36  std::list<std::shared_ptr<RtcCommandRequestList>> m_request_list;
37 };
38 
39 } // namespace rtctk::rtcSupervisor
40 
41 #endif // RTCTK_RTCSUPERVISOR_RTCCOMMANDREQUESTLISTSERIES_HPP
rtctk::rtcSupervisor
Definition: rtcCommandRequest.hpp:18
rtctk::rtcSupervisor::RtcCommandRequestListSeries::RunReverse
void RunReverse(RtcCommand cmd, int delay_in_ms_between_phases, bool keep_going=false)
Definition: rtcCommandRequestListSeries.cpp:69
rtctk::rtcSupervisor::RtcCommandRequestListSeries::Append
void Append(std::shared_ptr< RtcCommandRequestList > cr)
Definition: rtcCommandRequestListSeries.cpp:32
rtctk::rtcSupervisor::RtcCommandRequestListSeries
Definition: rtcCommandRequestListSeries.hpp:24
rtcCommandRequestList.hpp
Handles a list of command requests to be run sequentially or in parallel.
rtctk::rtcSupervisor::RtcCommand
RtcCommand
Definition: rtcSupervisorLib.hpp:72
rtctk::rtcSupervisor::RtcCommandRequestListSeries::Free
void Free()
rtctk::rtcSupervisor::RtcCommandRequestListSeries::RtcCommandRequestListSeries
RtcCommandRequestListSeries()
Definition: rtcCommandRequestListSeries.cpp:24
rtctk::rtcSupervisor::RtcCommandRequestListSeries::RunForward
void RunForward(RtcCommand cmd, int delay_in_ms_between_phases, bool keep_going=false)
Definition: rtcCommandRequestListSeries.cpp:37
rtcObject.hpp
Handles communication with and state recording for one object.
rtctk::rtcSupervisor::RtcCommandRequestListSeries::~RtcCommandRequestListSeries
virtual ~RtcCommandRequestListSeries()
Definition: rtcCommandRequestListSeries.cpp:28