rad
2.0.0
|
#include <actionsMove.hpp>
Public Member Functions | |
ActionsMove (rad::MsgReplier &msg_replier, DataContext &data_ctx) | |
void | Start (rad::AnyEvent const &event) |
void | Stop (rad::AnyEvent const &event) |
void | Done (rad::AnyEvent const &event) |
ActionsMove (const ActionsMove &)=delete | |
ActionsMove & | operator= (const ActionsMove &)=delete |
Disable copy constructor. More... | |
ActionsMove (rad::MsgReplier &msg_replier, DataContext &data_ctx) | |
void | Start (rad::AnyEvent const &event) |
void | Stop (rad::AnyEvent const &event) |
void | Done (rad::AnyEvent const &event) |
ActionsMove (const ActionsMove &)=delete | |
ActionsMove & | operator= (const ActionsMove &)=delete |
Disable copy constructor. More... | |
![]() | |
ActionGroup (const std::string &id) | |
virtual | ~ActionGroup () |
const std::string & | GetId () const |
void | SetId (const std::string &id) |
ActionGroup (const ActionGroup &)=delete | |
ActionGroup & | operator= (const ActionGroup &)=delete |
Disable copy constructor. More... | |
ActionGroup (const std::string &id) | |
virtual | ~ActionGroup () |
const std::string & | GetId () const |
void | SetId (const std::string &id) |
ActionGroup (const ActionGroup &)=delete | |
ActionGroup & | operator= (const ActionGroup &)=delete |
Disable copy constructor. More... | |
Class grouping the actions related to the Move event.
server::ActionsMove::ActionsMove | ( | rad::MsgReplier & | msg_replier, |
DataContext & | data_ctx | ||
) |
Constructor.
[in] | msg_replier | This is needed to reply back to the originator of the ReqMove and ReqStop commands. |
[in] | data_ctx | Reference to the application runtime data. |
|
delete |
server::ActionsMove::ActionsMove | ( | rad::MsgReplier & | msg_replier, |
DataContext & | data_ctx | ||
) |
|
delete |
void server::ActionsMove::Done | ( | rad::AnyEvent const & | event | ) |
Replies OK to the originator of the ReqMove command.
[in] | event | MoveDone event. |
void server::ActionsMove::Done | ( | rad::AnyEvent const & | event | ) |
|
delete |
Disable copy constructor.
|
delete |
Disable copy constructor.
void server::ActionsMove::Start | ( | rad::AnyEvent const & | event | ) |
void server::ActionsMove::Start | ( | rad::AnyEvent const & | event | ) |
Retrieves the target position to reach from the ReqMove command associated to the Move event and stores it in the DataContext.
[in] | event | Move event. |
void server::ActionsMove::Stop | ( | rad::AnyEvent const & | event | ) |
Replies command aborted to the originator of the ReqMove command. Replies OK to the originator of the ReqStop command.
[in] | event | Stop event. |
void server::ActionsMove::Stop | ( | rad::AnyEvent const & | event | ) |