rad 6.2.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
server::ActionsMove Class Reference

#include <actionsMove.hpp>

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

Public Member Functions

 ActionsMove (rad::MsgReplier &msg_replier, DataContext &data_ctx)
 
void Start (scxml4cpp::Context *c)
 
void Stop (scxml4cpp::Context *c)
 
void Done (scxml4cpp::Context *c)
 
 ActionsMove (const ActionsMove &)=delete
 
ActionsMoveoperator= (const ActionsMove &)=delete
 Disable copy constructor.
 
- 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.
 

Detailed Description

Class grouping the actions related to the Move event.

Constructor & Destructor Documentation

◆ ActionsMove() [1/2]

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.

◆ ActionsMove() [2/2]

server::ActionsMove::ActionsMove ( const ActionsMove & )
delete

Member Function Documentation

◆ Done()

void server::ActionsMove::Done ( scxml4cpp::Context * c)

Replies OK to the originator of the ReqMove command.

Parameters
[in]eventMoveDone event.

◆ operator=()

ActionsMove & server::ActionsMove::operator= ( const ActionsMove & )
delete

Disable copy constructor.

◆ Start()

void server::ActionsMove::Start ( scxml4cpp::Context * c)

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.

◆ Stop()

void server::ActionsMove::Stop ( scxml4cpp::Context * c)

Replies command aborted to the originator of the ReqMove command. Replies OK to the originator of the ReqStop command.

Parameters
[in]eventStop event.

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