Lely core libraries 2.3.4
|
An LSS 'configure node-ID' request. More...
#include <lss_master.hpp>
Public Types | |
using | Signature = void(::std::error_code ec) |
The signature of the callback function invoked on completion of an LSS 'configure node-ID' request. More... | |
Public Member Functions | |
template<class F > | |
LssSetIdRequest (ev_exec_t *exec, F &&con) | |
Constructs an empty LSS 'configure node-ID' request with a completion task. More... | |
template<class F > | |
LssSetIdRequest (F &&con) | |
Equivalent to LssSetIdRequest(nullptr, con) . | |
![]() | |
ev::Executor | GetExecutor () const noexcept |
Returns the executor to which the completion task is (to be) submitted. | |
Additional Inherited Members | |
![]() | |
uint8_t | id {0} |
The requested pending node-ID of the LSS slave device. | |
![]() | |
::std::error_code | ec {} |
The error code (0 on success). | |
![]() | |
ev_exec_t * | exec |
A pointer to the executor to which the task is (to be) submitted. | |
ev_task_func_t * | func |
The function to be invoked when the task is run. | |
An LSS 'configure node-ID' request.
Definition at line 369 of file lss_master.hpp.
using lely::canopen::LssSetIdRequest::Signature = void(::std::error_code ec) |
The signature of the callback function invoked on completion of an LSS 'configure node-ID' request.
Note that the callback function SHOULD NOT throw exceptions. Since it is invoked from C, any exception that is thrown cannot be caught and will result in a call to std::terminate()
.
ec | the error code (0 on success). |
Definition at line 379 of file lss_master.hpp.
|
inlineexplicit |
Constructs an empty LSS 'configure node-ID' request with a completion task.
The requested pending node-ID of the LSS slave device has to be set before the request can be submitted.
Definition at line 387 of file lss_master.hpp.