Spinnaker C++
2.6.0.0
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...

Inheritance diagram for CNodeMapRefT< TCameraParams >:

Public Member Functions

 CNodeMapRefT (const GenICam::gcstring &DeviceName="Device")
 Constructor. More...
 
 CNodeMapRefT (INodeMap *pNodeMap, const GenICam::gcstring &DeviceName="Device")
 Constructor. More...
 
 CNodeMapRefT (const CNodeMapRefT &Them)
 Copy constructor. More...
 
CNodeMapRefToperator= (const CNodeMapRefT &Them)
 Assignment. More...
 
CNodeMapRefToperator= (INodeMap *pNodeMap)
 Assignment of an INodeMap*. More...
 
virtual ~CNodeMapRefT ()
 Destructor. More...
 
void _Destroy ()
 Destroys the node map. More...
 
void _LoadXMLFromFile (const GenICam::gcstring &FileName)
 Creates the object from a XML file with given file name. More...
 
void _LoadXMLFromZIPFile (const GenICam::gcstring &ZipFileName)
 Creates the object from a ZIP'd XML file with given file name. More...
 
void _LoadXMLFromZIPData (const void *zipData, size_t zipSize)
 Creates the object from a ZIP'd XML file given in a string. More...
 
void _LoadXMLFromFileInject (const GenICam::gcstring &TargetFileName, const GenICam::gcstring &InjectFileName)
 Creates the object from a XML target and an inject file with given file name. More...
 
void _LoadXMLFromString (const GenICam::gcstring &XMLData)
 Creates the object from XML data given in a string. More...
 
void _LoadXMLFromStringInject (const GenICam::gcstring &TargetXMLDataconst, const GenICam::gcstring &InjectXMLData)
 Creates the object from XML data given in a string with injection. More...
 
virtual void _GetSupportedSchemaVersions (GenICam::gcstring_vector &SchemaVersions)
 Gets a list of supported schema versions. More...
 
virtual GenICam::gcstring _GetDeviceName ()
 Get device name. More...
 
virtual void _Poll (int64_t ElapsedTime)
 Fires nodes which have a polling time. More...
 
virtual void _GetNodes (NodeList_t &Nodes)
 Retrieves all nodes in the node map. More...
 
virtual INode_GetNode (const GenICam::gcstring &key)
 Retrieves the node from the central map by name. More...
 
virtual void _InvalidateNodes ()
 Invalidates all nodes. More...
 
virtual bool _Connect (IPort *pPort, const GenICam::gcstring &PortName)
 Connects a port to a port node with given name. More...
 
virtual bool _Connect (IPort *pPort)
 Connects a port to the standard port "Device". More...
 

Static Public Member Functions

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

Public Attributes

INodeMap_Ptr
 Pointer to the NodeMap. More...
 

Detailed Description

template<class TCameraParams>
class Spinnaker::GenApi::CNodeMapRefT< TCameraParams >

Smartpointer template for NodeMaps with create function.

Parameters
TCameraParamsThe camera specific parameter class (auto generated from camera xml file)

Member Function Documentation

static bool _ClearXMLCache ( )
static

Clears the cache of the camera description files.

virtual bool _Connect ( IPort pPort,
const GenICam::gcstring PortName 
)
virtual

Connects a port to a port node with given name.

virtual bool _Connect ( IPort pPort)
virtual

Connects a port to the standard port "Device".

virtual GenICam::gcstring _GetDeviceName ( )
virtual

Get device name.

virtual INode* _GetNode ( const GenICam::gcstring key)
virtual

Retrieves the node from the central map by name.

virtual void _GetNodes ( NodeList_t Nodes)
virtual

Retrieves all nodes in the node map.

virtual void _GetSupportedSchemaVersions ( GenICam::gcstring_vector &  SchemaVersions)
virtual

Gets a list of supported schema versions.

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

virtual void _InvalidateNodes ( )
virtual

Invalidates all nodes.

void _LoadXMLFromFile ( const GenICam::gcstring FileName)

Creates the object from a XML file with given file name.

void _LoadXMLFromFileInject ( const GenICam::gcstring TargetFileName,
const GenICam::gcstring InjectFileName 
)

Creates the object from a XML target and an inject file with given file name.

void _LoadXMLFromString ( const GenICam::gcstring XMLData)

Creates the object from XML data given in a string.

void _LoadXMLFromStringInject ( const GenICam::gcstring TargetXMLDataconst,
const GenICam::gcstring InjectXMLData 
)

Creates the object from XML data given in a string with injection.

void _LoadXMLFromZIPData ( const void *  zipData,
size_t  zipSize 
)

Creates the object from a ZIP'd XML file given in a string.

void _LoadXMLFromZIPFile ( const GenICam::gcstring ZipFileName)

Creates the object from a ZIP'd XML file with given file name.

virtual void _Poll ( int64_t  ElapsedTime)
virtual

Fires nodes which have a polling time.

Member Data Documentation

INodeMap* _Ptr

Pointer to the NodeMap.


The documentation for this class was generated from the following file:
Contact Support Spinnaker® SDK Programmer's Guide and API Reference