Lely core libraries
2.3.4
|
An LSS 'inquire identity serial-number' request. More...
#include <lss_master.hpp>
Public Types | |
using | Signature = void(::std::error_code ec, uint32_t number) |
The signature of the callback function invoked on completion of an LSS 'inquire identity serial-number' request. More... | |
Public Member Functions | |
template<class F > | |
LssGetSerialNrRequest (ev_exec_t *exec, F &&con) | |
Constructs an empty LSS 'store configuration' request with a completion task. | |
template<class F > | |
LssGetSerialNrRequest (F &&con) | |
Equivalent to LssGetSerialNrRequest(nullptr, con) . | |
![]() | |
ev::Executor | GetExecutor () const noexcept |
Returns the executor to which the completion task is (to be) submitted. | |
Additional Inherited Members | |
![]() | |
uint32_t | number {0} |
The LSS number reported by the 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 'inquire identity serial-number' request.
Definition at line 625 of file lss_master.hpp.
using lely::canopen::LssGetSerialNrRequest::Signature = void(::std::error_code ec, uint32_t number) |
The signature of the callback function invoked on completion of an LSS 'inquire identity serial-number' 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). |
number | the serial number reported by the slave device. |
Definition at line 637 of file lss_master.hpp.