ReadStatesRequest.cpp
Go to the documentation of this file.
1
#include "
ReadStatesRequest.h
"
2
3
namespace
armarx::control::ethercat
4
{
5
6
ReadStatesRequest::ReadStatesRequest
(
EtherCATState
* state) : state(state)
7
{
8
}
9
10
void
11
ReadStatesRequest::setState
(
EtherCATState
state)
12
{
13
if
(this->state)
14
{
15
*this->state = state;
16
}
17
}
18
}
// namespace armarx::control::ethercat
armarx::control::ethercat::ReadStatesRequest::ReadStatesRequest
ReadStatesRequest()=default
armarx::control::ethercat::EtherCATState
This class is a wrapper around an enum containing the different EtherCAT states.
Definition:
EtherCATState.h:25
ReadStatesRequest.h
armarx::control::ethercat
Definition:
Bus.cpp:24
armarx::control::ethercat::ReadStatesRequest::setState
void setState(EtherCATState state)
Definition:
ReadStatesRequest.cpp:11
armarx
control
ethercat
bus_io
requests
ReadStatesRequest.cpp
Generated on Sat Oct 12 2024 09:14:14 for armarx_documentation by
1.8.17