GenApi 3.5.1
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
CNodeMapRefT< TCameraParams > Class Template Reference

Smartpointer template for NodeMaps with create function. More...

#include <NodeMapRef.h>

Inheritance diagram for CNodeMapRefT< TCameraParams >:
CNodeMapRef

Public Member Functions

 CNodeMapRefT (const GENICAM_NAMESPACE::gcstring &DeviceName="Device")
 Constructor.
 
 CNodeMapRefT (INodeMap *pNodeMap, const GENICAM_NAMESPACE::gcstring &DeviceName="Device")
 Constructor.
 
 CNodeMapRefT (const CNodeMapRefT &Them)
 Copy constructor.
 
CNodeMapRefToperator= (const CNodeMapRefT &Them)
 Assignment.
 
CNodeMapRefToperator= (INodeMap *pNodeMap)
 Assignment of an INodeMap*.
 
virtual ~CNodeMapRefT ()
 Destructor.
 
void _Destroy ()
 Destroys the node map.
 
void _LoadXMLFromFile (const GENICAM_NAMESPACE::gcstring &FileName)
 Creates the object from a XML file with given file name.
 
void _LoadXMLFromZIPFile (const GENICAM_NAMESPACE::gcstring &ZipFileName)
 Creates the object from a ZIP'd XML file with given file name.
 
void _LoadXMLFromZIPData (const void *zipData, size_t zipSize)
 Creates the object from a ZIP'd XML file given in a string.
 
void _LoadXMLFromFileInject (const GENICAM_NAMESPACE::gcstring &TargetFileName, const GENICAM_NAMESPACE::gcstring &InjectFileName)
 Creates the object from a XML target and an inject file with given file name.
 
void _LoadXMLFromString (const GENICAM_NAMESPACE::gcstring &XMLData)
 Creates the object from XML data given in a string.
 
void _LoadXMLFromStringInject (const GENICAM_NAMESPACE::gcstring &TargetXMLDataconst, const GENICAM_NAMESPACE::gcstring &InjectXMLData)
 Creates the object from XML data given in a string with injection.
 
virtual void _GetSupportedSchemaVersions (GENICAM_NAMESPACE::gcstring_vector &SchemaVersions) const
 Gets a list of supported schema versions.
 
virtual GENICAM_NAMESPACE::gcstring _GetDeviceName () const
 Get device name.
 
virtual void _Poll (int64_t ElapsedTime)
 Fires nodes which have a polling time.
 
virtual void _GetNodes (NodeList_t &Nodes) const
 Retrieves all nodes in the node map.
 
virtual INode * _GetNode (const GENICAM_NAMESPACE::gcstring &key) const
 Retrieves the node from the central map by name.
 
virtual void _SetSuppressCallbackMode (ECallbackSuppressMode) const
 Set suppress callback mode.
 
virtual CNodeWriteConcatenator * _NewNodeWriteConcatenator () const
 Create a new write concatenator object.
 
virtual bool _ConcatenatedWrite (CNodeWriteConcatenator *, bool featureStreaming=true, GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL)
 Execute the transaction.
 
virtual void _InvalidateNodes () const
 Invalidates all nodes.
 
virtual bool _Connect (IPort *pPort, const GENICAM_NAMESPACE::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 bool _ParseSwissKnifes (GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) const
 Parse all Swissknife equations.
 
virtual bool _Connect (IPortStacked *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const
 Connects a port to a port node with given name.
 
virtual bool _Connect (IPortStacked *pPort) const
 Connects a port to the standard port "Device".
 

Static Public Member Functions

static bool _ClearXMLCache ()
 Clears the cache of the camera description files.
 

Public Attributes

INodeMap * _Ptr
 Pointer to the NodeMap.
 

Detailed Description

template<class TCameraParams>
class GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >
Template Parameters
TCameraParamsThe camera specific parameter class (auto generated from camera xml file)

Member Function Documentation

◆ _GetSupportedSchemaVersions()

template<class TCameraParams >
void _GetSupportedSchemaVersions ( GENICAM_NAMESPACE::gcstring_vector & SchemaVersions) const
virtual

Each list entry is a string with the format "{Major}.{Minor}" were {Major} and {Minor} are integers Example: {"1.1", "1.2"} indicates that the schema v1.1 and v1.2 are supported. The SubMinor version number is not given since it is for fully compatible bug fixes only