Skip to content

GenApi::INodeMap#

Module: GenICam / GenApi Node Interfaces and Access Mode Check Functions

Interface to access the node map.

#include <GenApi/INodeMap.h>

Public Functions#

Name
virtual void GetNodes(NodeList_t & Nodes) const
Retrieves all nodes in the node map.
virtual INode * GetNode(const GenICam::gcstring & Name) const
Retrieves the node from the central map by Name.
virtual void InvalidateNodes() const
Invalidates all nodes.
virtual bool Connect(IPort * pPort, const GenICam::gcstring & PortName) const
Connects a port to a port node with given name.
virtual bool Connect(IPort * pPort) const
Connects a port to the standard port "Device".
virtual GenICam::gcstring GetDeviceName()
Get device name.
virtual void Poll(int64_t ElapsedTime)
Fires nodes which have a polling time.
virtual CLock & GetLock() const
Returns the lock which guards the node map.
virtual uint64_t GetNumNodes() const
Get the number of nodes in the map.
virtual bool ParseSwissKnifes(GenICam::gcstring_vector * pErrorList =NULL) const
Parse all Swissknife equations.

Public Functions Documentation#

GetNodes#

virtual void GetNodes(
    NodeList_t & Nodes
) const 

Retrieves all nodes in the node map.

GetNode#

virtual INode * GetNode(
    const GenICam::gcstring & Name
) const 

Retrieves the node from the central map by Name.

InvalidateNodes#

virtual void InvalidateNodes() const 

Invalidates all nodes.

Connect#

virtual bool Connect(
    IPort * pPort,
    const GenICam::gcstring & PortName
) const 

Connects a port to a port node with given name.

Connect#

virtual bool Connect(
    IPort * pPort
) const 

Connects a port to the standard port "Device".

GetDeviceName#

virtual GenICam::gcstring GetDeviceName() 

Get device name.

The device name identifies a device instance, e.g. for debugging purposes. The default ist "Device".

Poll#

virtual void Poll(
    int64_t ElapsedTime
) 

Fires nodes which have a polling time.

GetLock#

virtual CLock & GetLock() const 

Returns the lock which guards the node map.

GetNumNodes#

virtual uint64_t GetNumNodes() const 

Get the number of nodes in the map.

ParseSwissKnifes#

virtual bool ParseSwissKnifes(
    GenICam::gcstring_vector * pErrorList =NULL
) const 

Parse all Swissknife equations.


Updated on 5 July 2022 at 15:30:01