RTC Toolkit  0.1.0-alpha
commandHandler.hpp
Go to the documentation of this file.
1 
9 #ifndef RTCTK_COMPONENTFRAMEWORK_COMMANDHANDLER_HPP
10 #define RTCTK_COMPONENTFRAMEWORK_COMMANDHANDLER_HPP
11 
14 #include <memory>
15 
16 namespace rtctk::componentFramework {
17 
18  class CommandHandlerImpl;
19 
20  // TODO: should Command Handler own CommandReplier or not?
21  // Will we have multiple different Command Handler classes or will new command interfaces be added to impl?
23  public:
25  void Start();
26  private:
27  std::shared_ptr<CommandHandlerImpl> m_impl;
28 
29  };
30 }
31 
32 #endif
commandReplier.hpp
Receive commands via MAL.
rtctk::componentFramework::CommandHandler::Start
void Start()
Definition: commandHandler.cpp:20
rtctk::componentFramework
Definition: rtcComponent.hpp:17
rtctk::componentFramework::CommandHandler::CommandHandler
CommandHandler(CommandReplier &replier, StateMachineEventIf &ev_if)
Definition: commandHandler.cpp:14
rtctk::componentFramework::StateMachineEventIf
Definition: stateMachineEventIf.hpp:20
rtctk::componentFramework::CommandReplier
Definition: commandReplier.hpp:19
stateMachineEventIf.hpp
Interface for injecting events into the state machine.
rtctk::componentFramework::CommandHandler
Definition: commandHandler.hpp:22