File Information
Library: IoT/CANopen
Package: Node
Header: IoT/CANopen/NodeImpl.h
Inheritance
Direct Base Classes: Node
All Base Classes: Node, Poco::OSP::Service, Poco::RefCountedObject
Member Summary
Member Functions: enumerateNodes, isA, lock, mpdo, nmt, objectDictionary, onHeartbeatReceived, onRemove, pdo, sdo, time, type, unlock
Inherited Functions: duplicate, enumerateNodes, isA, lock, mpdo, nmt, objectDictionary, pdo, referenceCount, release, sdo, time, type, unlock
Types
Ptr
typedef Poco::AutoPtr < Node > Ptr;
Constructors
NodeImpl
NodeImpl(
CANBus & canBus,
Poco::UInt8 nodeID,
Poco::UInt32 timeCOBID,
Poco::Timespan protocolTimeout,
Poco::Timespan heartbeatTimeout,
Poco::Util::Timer & timer
);
Creates the NodeImpl.
Destructor
~NodeImpl
~NodeImpl();
Destroys the NodeImpl.
Member Functions
enumerateNodes
void enumerateNodes(
std::vector < Node::NodeInfo > & nodes
);
isA
bool isA(
const std::type_info & otherType
) const;
See also: IoT::CANopen::Node::isA()
lock
void lock();
See also: IoT::CANopen::Node::lock()
mpdo
MPDO & mpdo();
See also: IoT::CANopen::Node::mpdo()
nmt
NMT & nmt();
See also: IoT::CANopen::Node::nmt()
objectDictionary
ObjectDictionary & objectDictionary();
See also: IoT::CANopen::Node::objectDictionary()
pdo
PDO & pdo();
See also: IoT::CANopen::Node::pdo()
sdo
SDO & sdo();
See also: IoT::CANopen::Node::sdo()
time
Time & time();
See also: IoT::CANopen::Node::time()
type
const std::type_info & type() const;
See also: IoT::CANopen::Node::type()
unlock
void unlock();
See also: IoT::CANopen::Node::unlock()
onHeartbeatReceived
void onHeartbeatReceived(
const NMT::Heartbeat & heartbeat
);
onRemove
void onRemove(
const Poco::UInt8 & nodeID
);