Lely core libraries 2.3.4
lely::canopen::detail::SdoRequestBase Class Referenceabstract
Inheritance diagram for lely::canopen::detail::SdoRequestBase:
Collaboration diagram for lely::canopen::detail::SdoRequestBase:

Public Member Functions

ev::Executor GetExecutor () const noexcept
 Returns the executor to which the completion task is (to be) submitted.
 

Data Fields

uint8_t id {0}
 The node-ID.
 
uint16_t idx {0}
 The object index.
 
uint8_t subidx {0}
 The object sub-index.
 
bool block {false}
 A flag specifying whether the request should use a block SDO instead of a segmented (or expedited) SDO.
 
::std::chrono::milliseconds timeout
 The SDO timeout.
 
::std::error_code ec
 The SDO abort code (0 on success).
 
- Data Fields inherited from ev_task
ev_exec_texec
 A pointer to the executor to which the task is (to be) submitted.
 
ev_task_func_tfunc
 The function to be invoked when the task is run.
 

Detailed Description

Definition at line 162 of file sdo.hpp.

Field Documentation

◆ timeout

::std::chrono::milliseconds lely::canopen::detail::SdoRequestBase::timeout

The SDO timeout.

If, after the request is initiated, the timeout expires before receiving a response from the server, the client aborts the transfer with abort code SdoErrc::TIMEOUT.

Definition at line 206 of file sdo.hpp.


The documentation for this class was generated from the following file: