File Information
Library: IoT/CANopen
Package: CANopen
Header: IoT/CANopen/Object.h
Inheritance
Direct Base Classes: Object
All Base Classes: Object, Poco::RefCountedObject
Member Summary
Member Functions: access, code, getCOBIDCS, getCOBIDSC, getNodeID, read, setCOBIDCS, setCOBIDSC, setNodeID, type, write
Inherited Functions: access, code, copy, duplicate, read, referenceCount, release, structure, type, write, writeImpl
Types
Ptr
typedef Poco::AutoPtr < SDOParameterObject > Ptr;
Enumerations
SDOFlags
These flags are part of the Client > Server and Server > Client COB-ID fields.
SDO_FLAG_INVALID = 0x80000000
SDO exists and is valid (0) or does not exist/is not valid (1).
SDO_FLAG_DYN = 0x40000000
Value is assigned statically (0) or dynamically (1).
SDO_FLAG_EXT_FRAME = 0x20000000
Constructors
SDOParameterObject
Creates a SDOParameterObject.
Member Functions
access
Access access() const;
See also: IoT::CANopen::Object::access()
code
Object::ObjectCode code() const;
getCOBIDCS
Poco::UInt32 getCOBIDCS() const;
Returns the COB-ID for Client > Server communication.
getCOBIDSC
Poco::UInt32 getCOBIDSC() const;
Returns the COB-ID for Server > Client communication.
getNodeID
Poco::UInt8 getNodeID() const;
Returns the node ID of the server or client.
read
SDO::AbortCode read(
Poco::UInt8 subIndex,
std::vector < char > & data
) const;
See also: IoT::CANopen::Object::read()
setCOBIDCS
void setCOBIDCS(
Poco::UInt32 cobID
);
Sets the COB-ID for Client > Server communication.
setCOBIDSC
void setCOBIDSC(
Poco::UInt32 cobID
);
Sets the COB-ID for Server > Client communication.
setNodeID
void setNodeID(
Poco::UInt8 nodeID
);
Sets the node ID of the server or client.
type
Poco::UInt16 type() const;
See also: IoT::CANopen::Object::type()
write
SDO::AbortCode write(
Poco::UInt8 subIndex,
std::size_t size,
const char * data
);
See also: IoT::CANopen::Object::write()