ChangeStateRequest.cpp
Go to the documentation of this file.
2
4{
7 bool validate,
8 EtherCATState* actualState) :
9 slaveIndex(slaveIndex), state(state), validate(validate), actualState(actualState)
10 {
11 }
12
13 void
15 {
16 if (actualState)
17 {
18 *actualState = state;
19 }
20 }
21} // namespace armarx::control::ethercat
This class is a wrapper around an enum containing the different EtherCAT states.