13#ifndef RTCTK_COMPONENTFRAMEWORK_RTCCMDSIMPL_HPP
14#define RTCTK_COMPONENTFRAMEWORK_RTCCMDSIMPL_HPP
18#include <rtctk/componentFramework/events.rad.hpp>
38 std::shared_ptr<elt::mal::rr::RrEntity>
rr_service = std::make_shared<FuncCmdsImpl>(
engine);
43 : m_logger(GetLogger(
"rtctk")), m_engine(
engine) {
46 ::elt::mal::future<std::string>
Run()
override {
51 ::elt::mal::future<std::string>
Idle()
override {
57 log4cplus::Logger& m_logger;
69 std::shared_ptr<elt::mal::rr::RrEntity>
rr_service =
70 std::make_shared<RecoverCmdsImpl>(
engine);
75 : m_logger(GetLogger(
"rtctk")), m_engine(
engine) {
78 ::elt::mal::future<std::string>
Recover()
override {
84 log4cplus::Logger& m_logger;
96 std::shared_ptr<elt::mal::rr::RrEntity>
rr_service =
97 std::make_shared<AlertCmdsImpl>(
engine);
102 : m_logger(GetLogger(
"rtctk")), m_engine(
engine) {
111 log4cplus::Logger& m_logger;
123 std::shared_ptr<elt::mal::rr::RrEntity>
rr_service =
124 std::make_shared<UpdateCmdsImpl>(
engine);
129 : m_logger(GetLogger(
"rtctk")), m_engine(
engine) {
132 ::elt::mal::future<std::string>
Update(
const std::string&
args)
override {
138 log4cplus::Logger& m_logger;
Class that handles reception of command ClearAlerts using MAL.
Definition rtcCmdsImpl.hpp:93
AlertCmdsImpl(StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:101
static void Register(CommandReplier &replier, StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:95
::elt::mal::future< std::string > ClearAlerts() override
Definition rtcCmdsImpl.hpp:105
Class that handles reception of commands using MAL.
Definition commandReplier.hpp:30
Class that handles reception of commands Run, Idle and Recover using MAL.
Definition rtcCmdsImpl.hpp:35
static void Register(CommandReplier &replier, StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:37
::elt::mal::future< std::string > Idle() override
Definition rtcCmdsImpl.hpp:51
FuncCmdsImpl(StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:42
::elt::mal::future< std::string > Run() override
Definition rtcCmdsImpl.hpp:46
Class that handles reception of command Recover using MAL.
Definition rtcCmdsImpl.hpp:66
::elt::mal::future< std::string > Recover() override
Definition rtcCmdsImpl.hpp:78
static void Register(CommandReplier &replier, StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:68
RecoverCmdsImpl(StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:74
Definition stateMachineEngine.hpp:35
Class that handles reception of command Update using MAL.
Definition rtcCmdsImpl.hpp:120
::elt::mal::future< std::string > Update(const std::string &args) override
Definition rtcCmdsImpl.hpp:132
static void Register(CommandReplier &replier, StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:122
UpdateCmdsImpl(StateMachineEngine &engine)
Definition rtcCmdsImpl.hpp:128
Receive commands via MAL.
Logging Support Library based on log4cplus.
Provides core functionality of an RTC Component.
Definition commandReplier.cpp:22
elt::mal::future< std::string > InjectReqRepEvent(StateMachineEngine &engine)
Definition malEventInjector.hpp:23
Wrapper around the SCXML State Machine Engine.