rad  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
server::ActionsMove Class Reference

#include <actionsMove.hpp>

Inheritance diagram for server::ActionsMove:
rad::ActionGroup rad::ActionGroup

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
 
ActionsMoveoperator= (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
 
ActionsMoveoperator= (const ActionsMove &)=delete
 Disable copy constructor. More...
 
- Public Member Functions inherited from rad::ActionGroup
 ActionGroup (const std::string &id)
 
virtual ~ActionGroup ()
 
const std::string & GetId () const
 
void SetId (const std::string &id)
 
 ActionGroup (const ActionGroup &)=delete
 
ActionGroupoperator= (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
 
ActionGroupoperator= (const ActionGroup &)=delete
 Disable copy constructor. More...
 

Detailed Description

Class grouping the actions related to the Move event.

Constructor & Destructor Documentation

server::ActionsMove::ActionsMove ( rad::MsgReplier msg_replier,
DataContext data_ctx 
)

Constructor.

Parameters
[in]msg_replierThis is needed to reply back to the originator of the ReqMove and ReqStop commands.
[in]data_ctxReference to the application runtime data.
server::ActionsMove::ActionsMove ( const ActionsMove )
delete
server::ActionsMove::ActionsMove ( rad::MsgReplier msg_replier,
DataContext data_ctx 
)
server::ActionsMove::ActionsMove ( const ActionsMove )
delete

Member Function Documentation

void server::ActionsMove::Done ( rad::AnyEvent const &  event)

Replies OK to the originator of the ReqMove command.

Parameters
[in]eventMoveDone event.
void server::ActionsMove::Done ( rad::AnyEvent const &  event)
ActionsMove& server::ActionsMove::operator= ( const ActionsMove )
delete

Disable copy constructor.

ActionsMove& server::ActionsMove::operator= ( const ActionsMove )
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.

Parameters
[in]eventMove 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.

Parameters
[in]eventStop event.
void server::ActionsMove::Stop ( rad::AnyEvent const &  event)

The documentation for this class was generated from the following files: