Lely core libraries 2.3.4
lely::canopen::LssGetVendorIdRequest Class Reference

An LSS 'inquire identity vendor-ID' request. More...

#include <lss_master.hpp>

Inheritance diagram for lely::canopen::LssGetVendorIdRequest:
Collaboration diagram for lely::canopen::LssGetVendorIdRequest:

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 vendor-ID' request.
 

Public Member Functions

template<class F >
 LssGetVendorIdRequest (ev_exec_t *exec, F &&con)
 Constructs an empty LSS 'store configuration' request with a completion task.
 
template<class F >
 LssGetVendorIdRequest (F &&con)
 Equivalent to LssGetVendorIdRequest(nullptr, con).
 
- Public Member Functions inherited from lely::canopen::detail::LssRequestBase
ev::Executor GetExecutor () const noexcept
 Returns the executor to which the completion task is (to be) submitted.
 

Additional Inherited Members

- Data Fields inherited from lely::canopen::detail::LssGetNumberRequestBase
uint32_t number {0}
 The LSS number reported by the slave device.
 
- Data Fields inherited from lely::canopen::detail::LssRequestBase
::std::error_code ec {}
 The error code (0 on success).
 
- Data Fields inherited from ev_task
ev_exec_texec
 A pointer to the executor to which the task is (to be) submitted.
 
ev_task_func_tfunc
 The function to be invoked when the task is run.
 

Detailed Description

An LSS 'inquire identity vendor-ID' request.

Definition at line 513 of file lss_master.hpp.

Member Typedef Documentation

◆ Signature

The signature of the callback function invoked on completion of an LSS 'inquire identity vendor-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().

Parameters
ecthe error code (0 on success).
numberthe vendor-ID reported by the slave device.

Definition at line 525 of file lss_master.hpp.


The documentation for this class was generated from the following file: