ifw  0.0.1-dev
 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 &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
 
ActionsMoveoperator= (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
 
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...
 
 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 msgReplier,
DataContext dataCtx 
)

Constructor.

Parameters
[in]msgReplierThis is needed to reply back to the originator of the ReqMove and ReqStop commands.
[in]dataCtxReference to the application runtime data.
server::ActionsMove::ActionsMove ( const ActionsMove )
delete
server::ActionsMove::ActionsMove ( rad::MsgReplier msgReplier,
DataContext dataCtx 
)
server::ActionsMove::ActionsMove ( const ActionsMove )
delete

Member Function Documentation

void server::ActionsMove::Done ( rad::AnyEvent const lastEvent)

Replies OK to the originator of the ReqMove command.

Parameters
[in]lastEventMoveDone event.
void server::ActionsMove::Done ( rad::AnyEvent const lastEvent)
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 lastEvent)
void server::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.

Parameters
[in]lastEventMove event.
void server::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.

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

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