RTC Toolkit  0.1.0-alpha
rtcCommandRequestListSeries.hpp
Go to the documentation of this file.
1 
9 #ifndef RTCTK_RTCSUPERVISOR_RTCCOMMANDREQUESTLISTSERIES_HPP_
10 #define RTCTK_RTCSUPERVISOR_RTCCOMMANDREQUESTLISTSERIES_HPP_
11 
12 #include "Stdif.hpp"
13 #include "Rtctkif.hpp"
16 
17 
18 
19 namespace rtctk::rtcSupervisor {
20 using stdif::StdCmdsSync;
21 using stdif::StdCmdsAsync;
22 
24  public:
27 
28  void Append (std::shared_ptr<RtcCommandRequestList> cr);
29 
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  private:
35  std::list<std::shared_ptr<RtcCommandRequestList>> m_request_list;
36  };
37 }
38 
39 #endif
rtctk::rtcSupervisor
Definition: rtcCommandRequest.hpp:17
rtctk::rtcSupervisor::RtcCommandRequestListSeries::RunReverse
void RunReverse(RtcCommand cmd, int delay_in_ms_between_phases, bool keep_going=false)
Definition: rtcCommandRequestListSeries.cpp:70
rtctk::rtcSupervisor::RtcCommandRequestListSeries::Append
void Append(std::shared_ptr< RtcCommandRequestList > cr)
Definition: rtcCommandRequestListSeries.cpp:31
rtctk::rtcSupervisor::RtcCommandRequestListSeries
Definition: rtcCommandRequestListSeries.hpp:23
rtcCommandRequestList.hpp
Handles a list of command requests to be run sequentially or in parallel.
rtctk::rtcSupervisor::RtcCommand
RtcCommand
Definition: rtcSupervisorLib.hpp:65
rtctk::rtcSupervisor::RtcCommandRequestListSeries::Free
void Free()
rtctk::rtcSupervisor::RtcCommandRequestListSeries::RtcCommandRequestListSeries
RtcCommandRequestListSeries()
Definition: rtcCommandRequestListSeries.cpp:21
rtctk::rtcSupervisor::RtcCommandRequestListSeries::RunForward
void RunForward(RtcCommand cmd, int delay_in_ms_between_phases, bool keep_going=false)
Definition: rtcCommandRequestListSeries.cpp:36
rtcObject.hpp
Handles communication with and state recording for one object.
rtctk::rtcSupervisor::RtcCommandRequestListSeries::~RtcCommandRequestListSeries
virtual ~RtcCommandRequestListSeries()
Definition: rtcCommandRequestListSeries.cpp:27