Lely core libraries 2.3.4
|
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) noexcept |
Returns a mutator object that provides read/write access to the specified CANopen sub-object in the local object dictionary (or the TPDO-mapped sub-object in the remote object dictionary). | |
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 TPDO-mapped sub-object in the remote object dictionary). | |
A mutator providing read/write access to a CANopen object in a local object dictionary.
Returns a mutator object that provides read/write access to the specified CANopen sub-object in the local object dictionary (or the TPDO-mapped sub-object in the remote object dictionary).
Note that this function succeeds even if the sub-object does not exist.
subidx | the object sub-index. |
|
inlinenoexcept |
Returns an accessor object that provides read-only access to the specified CANopen sub-object in the local object dictionary (or the TPDO-mapped sub-object in the remote object dictionary).
Note that this function succeeds even if the object does not exist.
subidx | the object sub-index. |