Lely core libraries
2.2.5
|
An 'LSS Slowscan' request. More...
#include <lss_master.hpp>
Public Types | |
using | Signature = void(::std::error_code ec, LssAddress address) |
The signature of the callback function invoked on completion of an 'LSS Slowscan' request. More... | |
Public Member Functions | |
template<class F > | |
LssSlowscanRequest (ev_exec_t *exec, F &&con) | |
Constructs an empty 'LSS Slowscan' request with a completion task. More... | |
template<class F > | |
LssSlowscanRequest (F &&con) | |
Equivalent to LssSlowscanRequest(nullptr, con) . | |
![]() | |
ev::Executor | GetExecutor () const noexcept |
Returns the executor to which the completion task is (to be) submitted. | |
Additional Inherited Members | |
![]() | |
LssAddress | lo {0, 0, 0, 0} |
The lower bound of the LSS address of the slave device. | |
LssAddress | hi {0, 0, 0, 0} |
The upper bound of the LSS address of the slave device. More... | |
![]() | |
LssAddress | address {0, 0, 0, 0} |
On success, the LSS address of the detected slave device. More... | |
![]() | |
::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 Slowscan' request.
Definition at line 738 of file lss_master.hpp.
using lely::canopen::LssSlowscanRequest::Signature = void(::std::error_code ec, LssAddress address) |
The signature of the callback function invoked on completion of an 'LSS Slowscan' 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). |
id | the node-ID reported by the slave device. |
Definition at line 749 of file lss_master.hpp.
|
inlineexplicit |
Constructs an empty 'LSS Slowscan' request with a completion task.
The upper and lower bound of the LSS address of the slave device have to be set before the request can be submitted.
Definition at line 757 of file lss_master.hpp.