Lely core libraries  1.9.2
lely::canopen::BasicSlave::Object Class Reference

A mutator providing read/write access to a CANopen object in a local object dictionary. More...

#include <slave.hpp>

Public Member Functions

SubObject operator[] (uint8_t subidx)
 Returns a mutator object that provides read/write access to the specified CANopen sub-object in the local object dictionary. More...
 
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

A mutator providing read/write access to a CANopen object in a local object dictionary.

Definition at line 347 of file slave.hpp.

Member Function Documentation

◆ operator[]() [1/2]

SubObject lely::canopen::BasicSlave::Object::operator[] ( uint8_t  subidx)
inline

Returns a mutator object that provides read/write access to the specified CANopen sub-object in the local object dictionary.

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

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

Definition at line 361 of file slave.hpp.

◆ operator[]() [2/2]

ConstSubObject lely::canopen::BasicSlave::Object::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 375 of file slave.hpp.


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