Lely core libraries  1.9.2
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
 Returns an accessor object that provides read-only access to the specified CANopen sub-object in the local object dictionary. More...
 

Detailed Description

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

Definition at line 390 of file slave.hpp.

Member Function Documentation

◆ operator[]()

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

Returns an accessor object that provides read-only access to the specified CANopen sub-object in the local 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 404 of file slave.hpp.


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