ifw
0.0.1-dev
|
#include <ActionsMove.hpp>
Public Member Functions | |
ActionsMove (rad::MsgReplier &msgReplier, DataContext &dataCtx) | |
void | Start (rad::AnyEvent const &lastEvent) |
void | Stop (rad::AnyEvent const &lastEvent) |
void | Done (rad::AnyEvent const &lastEvent) |
ActionsMove (const ActionsMove &)=delete | |
ActionsMove & | operator= (const ActionsMove &)=delete |
Disable copy constructor. More... | |
ActionsMove (rad::MsgReplier &msgReplier, DataContext &dataCtx) | |
void | Start (rad::AnyEvent const &lastEvent) |
void | Stop (rad::AnyEvent const &lastEvent) |
void | Done (rad::AnyEvent const &lastEvent) |
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... | |
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.
server2::ActionsMove::ActionsMove | ( | rad::MsgReplier & | msgReplier, |
DataContext & | dataCtx | ||
) |
Constructor.
[in] | msgReplier | This is needed to reply back to the originator of the ReqMove and ReqStop commands. |
[in] | dataCtx | Reference to the application runtime data. |
|
delete |
server2::ActionsMove::ActionsMove | ( | rad::MsgReplier & | msgReplier, |
DataContext & | dataCtx | ||
) |
|
delete |
void server2::ActionsMove::Done | ( | rad::AnyEvent const & | lastEvent | ) |
Replies OK to the originator of the ReqMove command.
[in] | lastEvent | MoveDone event. |
void server2::ActionsMove::Done | ( | rad::AnyEvent const & | lastEvent | ) |
|
delete |
Disable copy constructor.
|
delete |
Disable copy constructor.
void server2::ActionsMove::Start | ( | rad::AnyEvent const & | lastEvent | ) |
void server2::ActionsMove::Start | ( | rad::AnyEvent const & | lastEvent | ) |
Retrieves the target position to reach from the ReqMove command associated to the Move event and stores it in the DataContext.
[in] | lastEvent | Move event. |
void server2::ActionsMove::Stop | ( | rad::AnyEvent const & | lastEvent | ) |
Replies command aborted to the originator of the ReqMove command. Replies OK to the originator of the ReqStop command.
[in] | lastEvent | Stop event. |
void server2::ActionsMove::Stop | ( | rad::AnyEvent const & | lastEvent | ) |