ReadStatesRequest.h
Go to the documentation of this file.
1 #pragma once
2 
4 
5 #include "RequestBase.h"
6 
8 {
9  /**
10  * @class ReadStatesRequest
11  * @ingroup Library-ethercat
12  * @brief Brief description of class ReadStatesRequest.
13  *
14  * Detailed description of class ReadStatesRequest.
15  */
16  class ReadStatesRequest : public virtual RequestBase
17  {
18  public:
19  ReadStatesRequest() = default;
21 
22  void setState(EtherCATState state);
23 
24  private:
25  EtherCATState* state = nullptr;
26  };
27 } // namespace armarx::control::ethercat
armarx::control::ethercat::ReadStatesRequest
Brief description of class ReadStatesRequest.
Definition: ReadStatesRequest.h:16
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
EtherCATState.h
armarx::control::ethercat
Definition: Bus.cpp:24
armarx::control::ethercat::ReadStatesRequest::setState
void setState(EtherCATState state)
Definition: ReadStatesRequest.cpp:11
armarx::control::ethercat::RequestBase
Brief description of class RequestBase.
Definition: RequestBase.h:12
RequestBase.h