SDOUpdateRequest.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <cstdint>
4
5
#include "
RequestBase.h
"
6
7
namespace
armarx::control::ethercat
8
{
9
struct
SDOIdentifier
10
{
11
std::uint16_t
slaveIndex
;
12
std::uint16_t
index
;
13
std::uint8_t
subIndex
;
14
};
15
16
/**
17
* @class SDOUpdateRequest
18
* @ingroup Library-ethercat
19
* @brief Brief description of class SDOUpdateRequest.
20
*
21
* Detailed description of class SDOUpdateRequest.
22
*/
23
class
SDOUpdateRequest
:
public
virtual
RequestBase
24
{
25
public
:
26
SDOUpdateRequest
() =
default
;
27
28
SDOUpdateRequest
(
SDOIdentifier
sdoIdentifier
,
29
int
*
buflen
,
30
unsigned
char
*
buf
,
31
bool
readRequest
,
32
bool
completeAccess
=
false
);
33
34
SDOIdentifier
sdoIdentifier
{};
35
int
*
buflen
= 0;
36
unsigned
char
*
buf
=
nullptr
;
37
38
bool
readRequest
=
false
;
39
bool
completeAccess
=
false
;
40
};
41
}
// namespace armarx::control::ethercat
armarx::control::ethercat::SDOIdentifier::subIndex
std::uint8_t subIndex
Definition:
SDOUpdateRequest.h:13
armarx::control::ethercat::SDOUpdateRequest::sdoIdentifier
SDOIdentifier sdoIdentifier
Definition:
SDOUpdateRequest.h:34
armarx::control::ethercat::SDOIdentifier::slaveIndex
std::uint16_t slaveIndex
Definition:
SDOUpdateRequest.h:11
armarx::control::ethercat::SDOUpdateRequest::buf
unsigned char * buf
Definition:
SDOUpdateRequest.h:36
armarx::control::ethercat::SDOUpdateRequest::SDOUpdateRequest
SDOUpdateRequest()=default
armarx::control::ethercat
Definition:
Bus.cpp:24
armarx::control::ethercat::SDOIdentifier::index
std::uint16_t index
Definition:
SDOUpdateRequest.h:12
armarx::control::ethercat::SDOUpdateRequest::readRequest
bool readRequest
Definition:
SDOUpdateRequest.h:38
armarx::control::ethercat::SDOUpdateRequest::completeAccess
bool completeAccess
Definition:
SDOUpdateRequest.h:39
armarx::control::ethercat::SDOUpdateRequest::buflen
int * buflen
Definition:
SDOUpdateRequest.h:35
armarx::control::ethercat::RequestBase
Brief description of class RequestBase.
Definition:
RequestBase.h:12
armarx::control::ethercat::SDOIdentifier
Definition:
SDOUpdateRequest.h:9
RequestBase.h
armarx::control::ethercat::SDOUpdateRequest
Brief description of class SDOUpdateRequest.
Definition:
SDOUpdateRequest.h:23
armarx
control
ethercat
bus_io
requests
SDOUpdateRequest.h
Generated on Sat Oct 12 2024 09:14:14 for armarx_documentation by
1.8.17