IoT::CANopen

class Node

File Information

Library: IoT/CANopen
Package: Node
Header: IoT/CANopen/Node.h

Inheritance

Direct Base Classes: Poco::OSP::Service

All Base Classes: Poco::OSP::Service, Poco::RefCountedObject

Known Derived Classes: NodeImpl

Member Summary

Member Functions: enumerateNodes, isA, lock, mpdo, nmt, objectDictionary, pdo, sdo, time, type, unlock

Inherited Functions: duplicate, isA, referenceCount, release, type

Nested Classes

struct NodeInfo

 

Types

Ptr

typedef Poco::AutoPtr < Node > Ptr;

ScopedLock

typedef Poco::ScopedLock < Node > ScopedLock;

Destructor

~Node virtual

virtual ~Node();

Destroys the Node.

Member Functions

enumerateNodes virtual

virtual void enumerateNodes(
    std::vector < NodeInfo > & nodes
) = 0;

Returns the node IDs of all peer nodes on the network from which a heartbeat has been received within the heartbeat timeout.

isA virtual

bool isA(
    const std::type_info & otherType
) const;

lock virtual

virtual void lock() = 0;

Locks the bus for exclusive use.

mpdo virtual

virtual MPDO & mpdo() = 0;

Returns the MPDO instance.

nmt virtual

virtual NMT & nmt() = 0;

Returns the NMT instance.

objectDictionary virtual

virtual ObjectDictionary & objectDictionary() = 0;

Returns the object dictionary.

pdo virtual

virtual PDO & pdo() = 0;

Returns the PDO instance.

sdo virtual

virtual SDO & sdo() = 0;

Returns the SDO instance.

time virtual

virtual Time & time() = 0;

Returns the TIME instance.

type virtual

const std::type_info & type() const;

unlock virtual

virtual void unlock() = 0;

Unlocks the bus.

Variables

SERVICE_NAME static

static const std::string SERVICE_NAME;

nodeGone

Poco::BasicEvent < const Poco::UInt8 > nodeGone;

Fired when a node is no longer available on the network.

nodeSeen

Poco::BasicEvent < const NodeInfo > nodeSeen;

Fired when a new node has been discovered on the network.

Securely control IoT edge devices from anywhere   Connect a Device