ChangeStateRequest Class Reference

Brief description of class ChangeStateRequest. More...

#include <armarx/control/ethercat/bus_io/requests/ChangeStateRequest.h>

+ Inheritance diagram for ChangeStateRequest:

Public Member Functions

 ChangeStateRequest ()=default
 
 ChangeStateRequest (std::uint16_t slaveIndex, EtherCATState state, bool validate, EtherCATState *actualState)
 
void setActualState (EtherCATState state)
 
- Public Member Functions inherited from RequestBase
bool hasFailed () const
 Check whether this request has been processed. More...
 
bool isProcessed () const
 Check whether this request has been processed. More...
 
void setFailed ()
 Signal that this request has failed. More...
 
void setProcessed ()
 Signal that this request has been processed. More...
 
virtual ~RequestBase ()=default
 

Public Attributes

std::uint16_t slaveIndex = 0
 
EtherCATState state = EtherCATState::invalid
 
bool validate = false
 

Detailed Description

Brief description of class ChangeStateRequest.

Detailed description of class ChangeStateRequest.

Definition at line 18 of file ChangeStateRequest.h.

Constructor & Destructor Documentation

◆ ChangeStateRequest() [1/2]

ChangeStateRequest ( )
default

◆ ChangeStateRequest() [2/2]

ChangeStateRequest ( std::uint16_t  slaveIndex,
EtherCATState  state,
bool  validate,
EtherCATState actualState 
)

Definition at line 5 of file ChangeStateRequest.cpp.

Member Function Documentation

◆ setActualState()

void setActualState ( EtherCATState  state)

Definition at line 14 of file ChangeStateRequest.cpp.

Member Data Documentation

◆ slaveIndex

std::uint16_t slaveIndex = 0

Definition at line 27 of file ChangeStateRequest.h.

◆ state

Definition at line 28 of file ChangeStateRequest.h.

◆ validate

bool validate = false

Definition at line 29 of file ChangeStateRequest.h.


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