ChangeStateRequest.cpp
Go to the documentation of this file.
1
#include "
ChangeStateRequest.h
"
2
3
namespace
armarx::control::ethercat
4
{
5
ChangeStateRequest::ChangeStateRequest
(std::uint16_t slaveIndex,
6
EtherCATState
state,
7
bool
validate
,
8
EtherCATState
* actualState) :
9
slaveIndex(slaveIndex), state(state),
validate
(
validate
), actualState(actualState)
10
{
11
}
12
13
void
14
ChangeStateRequest::setActualState
(
EtherCATState
state)
15
{
16
if
(actualState)
17
{
18
*actualState =
state
;
19
}
20
}
21
}
// namespace armarx::control::ethercat
armarx::control::ethercat::ChangeStateRequest::state
EtherCATState state
Definition:
ChangeStateRequest.h:28
armarx::control::ethercat::EtherCATState
This class is a wrapper around an enum containing the different EtherCAT states.
Definition:
EtherCATState.h:25
armarx::control::ethercat::ChangeStateRequest::ChangeStateRequest
ChangeStateRequest()=default
ChangeStateRequest.h
armarx::control::ethercat
Definition:
Bus.cpp:24
armarx::control::ethercat::ChangeStateRequest::setActualState
void setActualState(EtherCATState state)
Definition:
ChangeStateRequest.cpp:14
armarx::navigation::client::validate
void validate(const std::vector< WaypointTarget > &path)
Definition:
ice_conversions.h:70
armarx
control
ethercat
bus_io
requests
ChangeStateRequest.cpp
Generated on Sat Oct 12 2024 09:14:14 for armarx_documentation by
1.8.17