Lely core libraries  2.3.4
lely::canopen::BasicSlave::ConstObject Class Reference

An accessor providing read-only access to a CANopen object in a local object dictionary. More...

#include <slave.hpp>

Public Member Functions

ConstSubObject operator[] (uint8_t subidx) const noexcept
 Returns an accessor object that provides read-only access to the specified CANopen sub-object in the local object dictionary (or the PDO-mapped sub-object in the remote object dictionary). More...
 

Detailed Description

An accessor providing read-only access to a CANopen object in a local object dictionary.

Definition at line 497 of file slave.hpp.

Member Function Documentation

◆ operator[]()

ConstSubObject lely::canopen::BasicSlave::ConstObject::operator[] ( uint8_t  subidx) const
inlinenoexcept

Returns an accessor object that provides read-only access to the specified CANopen sub-object in the local object dictionary (or the PDO-mapped sub-object in the remote object dictionary).

Note that this function succeeds even if the object does not exist.

Parameters
subidxthe object sub-index.
Returns
an accessor object for a CANopen sub-object in the local object dictionary.

Definition at line 515 of file slave.hpp.


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