An SDO upload request.
More...
#include <sdo.hpp>
|
| template<class F > |
| | UploadRequest (aio::ExecutorBase &exec, F &&con) |
| | Constructs an empty SDO upload request. More...
|
| |
| template<class F > |
| | UploadRequest (uint16_t idx, uint8_t subidx, aio::ExecutorBase &exec, F &&con, const duration &timeout) |
| | Constructs an SDO upload request. More...
|
| |
template<class T>
class lely::canopen::Sdo::UploadRequest< T >
An SDO upload request.
Definition at line 197 of file sdo.hpp.
◆ UploadRequest() [1/2]
template<class T>
template<class F >
Constructs an empty SDO upload request.
The object index and sub-index 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::SubmitUpload<T>()
Definition at line 211 of file sdo.hpp.
◆ UploadRequest() [2/2]
template<class T>
template<class F >
Constructs an SDO upload request.
- Parameters
-
| idx | the object index. |
| subidx | the object sub-index. |
| 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::SubmitUpload<T>()
Definition at line 230 of file sdo.hpp.
The documentation for this class was generated from the following files: