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

A mutator providing read/write access to TPDO-mapped objects in a remote object dictionary. More...

#include <slave.hpp>

Public Member Functions

Object operator[] (uint16_t idx) noexcept
 Returns a mutator object that provides read/write access to the specified TPDO-mapped object in the remote object dictionary. More...
 
ConstObject operator[] (uint16_t idx) const noexcept
 Returns an accessor object that provides read-only access to the specified TPDO-mapped object in the remote object dictionary. More...
 

Detailed Description

A mutator providing read/write access to TPDO-mapped objects in a remote object dictionary.

Definition at line 568 of file slave.hpp.

Member Function Documentation

◆ operator[]() [1/2]

Object lely::canopen::BasicSlave::TpdoMapped::operator[] ( uint16_t  idx)
inlinenoexcept

Returns a mutator object that provides read/write access to the specified TPDO-mapped object in the remote object dictionary.

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

Parameters
idxthe object index.
Returns
a mutator object for a CANopen object in the remote object dictionary.

Definition at line 583 of file slave.hpp.

◆ operator[]() [2/2]

ConstObject lely::canopen::BasicSlave::TpdoMapped::operator[] ( uint16_t  idx) const
inlinenoexcept

Returns an accessor object that provides read-only access to the specified TPDO-mapped object in the remote object dictionary.

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

Parameters
idxthe object index.
Returns
an accessor object for a CANopen object in the remote object dictionary.

Definition at line 598 of file slave.hpp.


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