Skip to content

Pylon::CNodeMapProxyT#

Implementation Detail: This class wraps programming interfaces that are generated from GenICam parameter description files to provide native parameter access. More…

#include <pylon/NodeMapProxy.h>

Inherits from TParams

Inherited by Pylon::CStreamGrabberProxyT< TParams >

Public Functions#

Name
CNodeMapProxyT()
Creates a CNodeMapProxyT object that is not attached to a node map. Use the Attach() method to attach the pylon node map.
CNodeMapProxyT(GenApi::INodeMap * pNodeMap)
Creates a CNodeMapProxyT object and attaches it to a pylon node map.
virtual ~CNodeMapProxyT()
Destructor.
virtual void Attach(GenApi::INodeMap * pNodeMap, bool replace =false)
Attach a pylon node map.
virtual bool IsAttached() const
Checks if a pylon node map is attached.
virtual GenApi::INodeMap * GetNodeMap() const
Returns the pylon node map interface pointer.
void GetNodes(GenApi::NodeList_t & Nodes) const
Retrieves all nodes in the node map.
GenApi::INode * GetNode(const GenICam::gcstring & Name) const
Retrieves the node from the central map by Name.
void InvalidateNodes() const
Invalidates all nodes.
void Poll(int64_t ElapsedTime)
Fires nodes which have a polling time.

Protected Functions#

Name
void CheckNodeMapPtr() const

Protected Attributes#

Name
GenApi::INodeMap * m_pNodeMap

Detailed Description#

template <class TParams >
class Pylon::CNodeMapProxyT;

Implementation Detail: This class wraps programming interfaces that are generated from GenICam parameter description files to provide native parameter access.

Template Parameters:

  • TParams The specific parameter class (auto generated from the parameter xml file)

See: Accessing Parameters

Public Functions Documentation#

CNodeMapProxyT#

inline CNodeMapProxyT()

Creates a CNodeMapProxyT object that is not attached to a node map. Use the Attach() method to attach the pylon node map.

CNodeMapProxyT#

inline CNodeMapProxyT(
    GenApi::INodeMap * pNodeMap
)

Creates a CNodeMapProxyT object and attaches it to a pylon node map.

~CNodeMapProxyT#

inline virtual ~CNodeMapProxyT()

Destructor.

Attach#

inline virtual void Attach(
    GenApi::INodeMap * pNodeMap,
    bool replace =false
)

Attach a pylon node map.

IsAttached#

inline virtual bool IsAttached() const

Checks if a pylon node map is attached.

Reimplemented by: Pylon::CStreamGrabberProxyT::IsAttached

GetNodeMap#

inline virtual GenApi::INodeMap * GetNodeMap() const

Returns the pylon node map interface pointer.

GetNodes#

inline void GetNodes(
    GenApi::NodeList_t & Nodes
) const

Retrieves all nodes in the node map.

GetNode#

inline GenApi::INode * GetNode(
    const GenICam::gcstring & Name
) const

Retrieves the node from the central map by Name.

InvalidateNodes#

inline void InvalidateNodes() const

Invalidates all nodes.

Poll#

inline void Poll(
    int64_t ElapsedTime
)

Fires nodes which have a polling time.

Protected Functions Documentation#

CheckNodeMapPtr#

inline void CheckNodeMapPtr() const

Protected Attributes Documentation#

m_pNodeMap#

GenApi::INodeMap * m_pNodeMap;

Updated on 5 July 2022 at 15:30:00