An SDO download request.
More...
#include <sdo.hpp>
|
| template<class F > |
| | DownloadRequest (aio::ExecutorBase &exec, F &&con) |
| | Constructs an empty SDO download request. More...
|
| |
| template<class U , class F > |
| | DownloadRequest (uint16_t idx, uint8_t subidx, U &&value, aio::ExecutorBase &exec, F &&con, const duration &timeout) |
| | Constructs an SDO download request. More...
|
| |
template<class T>
class lely::canopen::Sdo::DownloadRequest< T >
An SDO download request.
Definition at line 132 of file sdo.hpp.
◆ DownloadRequest() [1/2]
template<class T>
template<class F >
Constructs an empty SDO download request.
The object index and sub-index, the value to be written and, optionally, the SDO timeout have to be set before the request can be submitted.
- Parameters
-
| exec | the executor used to execute the confirmation function. |
| con | the confirmation function to be called on completion of the SDO request. |
- See also
- Sdo::SubmitDownload<T>()
Definition at line 146 of file sdo.hpp.
◆ DownloadRequest() [2/2]
template<class T>
template<class U , class F >
Constructs an SDO download request.
- Parameters
-
| idx | the object index. |
| subidx | the object sub-index. |
| value | the value to be written. |
| exec | the executor used to execute the confirmation function. |
| con | the confirmation function to be called on completion of the SDO request. |
| 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. |
- See also
- Sdo::SubmitDownload<T>()
Definition at line 166 of file sdo.hpp.
The documentation for this class was generated from the following files: