Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams > Class Template Reference

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

#include <NodeMapRef.h>

List of all members.

Public Member Functions

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".
void _Destroy ()
 Destroys the node map.
virtual GENICAM_NAMESPACE::gcstring _GetDeviceName () const
 Get device name.
virtual INode_GetNode (const GENICAM_NAMESPACE::gcstring &key) const
 Retrieves the node from the central map by name.
virtual void _GetNodes (NodeList_t &Nodes) const
 Retrieves all nodes in the node map.
virtual void _GetSupportedSchemaVersions (GENICAM_NAMESPACE::gcstring_vector &SchemaVersions) const
 Gets a list of supported schema versions.
virtual void _InvalidateNodes () const
 Invalidates all nodes.
void _LoadXMLFromFile (const GENICAM_NAMESPACE::gcstring &FileName)
 Creates the object from a XML file with given file name.
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.
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_NAMESPACE::gcstring &ZipFileName)
 Creates the object from a ZIP'd XML file with given file name.
virtual void _Poll (int64_t ElapsedTime)
 Fires nodes which have a polling time.
 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.

Static Public Member Functions

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

Public Attributes

INodeMap * _Ptr
 Pointer to the NodeMap.

Private Member Functions

void Attach (INodeMap *pNodeMap, const GENICAM_NAMESPACE::gcstring &DeviceName, int *pRefCount)
void Release ()

Private Attributes

GENICAM_NAMESPACE::gcstring _DeviceName
 The name of this device.
int * _pRefCount

Detailed Description

template<class TCameraParams>
class GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >

Smartpointer template for NodeMaps with create function.

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

Definition at line 67 of file NodeMapRef.h.


Constructor & Destructor Documentation

template<class TCameraParams >
GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::CNodeMapRefT ( const GENICAM_NAMESPACE::gcstring DeviceName = "Device") [inline]

Constructor.

Definition at line 160 of file NodeMapRef.h.

template<class TCameraParams >
GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::CNodeMapRefT ( INodeMap *  pNodeMap,
const GENICAM_NAMESPACE::gcstring DeviceName = "Device" 
) [inline]

Constructor.

Definition at line 168 of file NodeMapRef.h.

template<class TCameraParams >
GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::CNodeMapRefT ( const CNodeMapRefT< TCameraParams > &  Them)

Copy constructor.

Definition at line 178 of file NodeMapRef.h.

template<class TCameraParams >
GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::~CNodeMapRefT ( ) [inline, virtual]

Destructor.

Definition at line 282 of file NodeMapRef.h.


Member Function Documentation

template<class TCameraParams >
bool GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_ClearXMLCache ( ) [inline, static]

Clears the cache of the camera description files.

Definition at line 448 of file NodeMapRef.h.

template<class TCameraParams >
bool GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_Connect ( IPort pPort,
const GENICAM_NAMESPACE::gcstring PortName 
) const [inline, virtual]

Connects a port to a port node with given name.

Definition at line 429 of file NodeMapRef.h.

template<class TCameraParams >
bool GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_Connect ( IPort pPort) const [inline, virtual]

Connects a port to the standard port "Device".

Definition at line 438 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_Destroy ( ) [inline]

Destroys the node map.

Definition at line 288 of file NodeMapRef.h.

template<class TCameraParams >
GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_GetDeviceName ( ) const [inline, virtual]

Get device name.

Definition at line 384 of file NodeMapRef.h.

template<class TCameraParams >
INode * GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_GetNode ( const GENICAM_NAMESPACE::gcstring key) const [inline, virtual]

Retrieves the node from the central map by name.

Definition at line 411 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_GetNodes ( NodeList_t Nodes) const [inline, virtual]

Retrieves all nodes in the node map.

Definition at line 402 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_GetSupportedSchemaVersions ( GENICAM_NAMESPACE::gcstring_vector &  SchemaVersions) const [inline, 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

Definition at line 378 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_InvalidateNodes ( ) const [inline, virtual]

Invalidates all nodes.

Definition at line 420 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_LoadXMLFromFile ( const GENICAM_NAMESPACE::gcstring FileName) [inline]

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

Definition at line 295 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_LoadXMLFromFileInject ( const GENICAM_NAMESPACE::gcstring TargetFileName,
const GENICAM_NAMESPACE::gcstring InjectFileName 
) [inline]

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

Definition at line 323 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_LoadXMLFromString ( const GENICAM_NAMESPACE::gcstring XMLData) [inline]

Creates the object from XML data given in a string.

Definition at line 339 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_LoadXMLFromStringInject ( const GENICAM_NAMESPACE::gcstring TargetXMLDataconst,
const GENICAM_NAMESPACE::gcstring InjectXMLData 
) [inline]

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

Definition at line 364 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_LoadXMLFromZIPData ( const void *  zipData,
size_t  zipSize 
) [inline]

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

Definition at line 352 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_LoadXMLFromZIPFile ( const GENICAM_NAMESPACE::gcstring ZipFileName) [inline]

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

Definition at line 309 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_Poll ( int64_t  ElapsedTime) [inline, virtual]

Fires nodes which have a polling time.

Definition at line 393 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::Attach ( INodeMap *  pNodeMap,
const GENICAM_NAMESPACE::gcstring DeviceName,
int *  pRefCount 
) [private]

Definition at line 189 of file NodeMapRef.h.

template<class TCameraParams >
CNodeMapRefT< TCameraParams > & GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::operator= ( const CNodeMapRefT< TCameraParams > &  Them)

Assignment.

Definition at line 274 of file NodeMapRef.h.

template<class TCameraParams >
CNodeMapRefT< TCameraParams > & GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::operator= ( INodeMap *  pNodeMap)

Assignment of an INodeMap*.

Reimplemented in GENAPI_NAMESPACE::CNodeMapRef.

Definition at line 261 of file NodeMapRef.h.

template<class TCameraParams >
void GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::Release ( ) [private]

Definition at line 221 of file NodeMapRef.h.


Member Data Documentation

template<class TCameraParams>
GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_DeviceName [private]

The name of this device.

Definition at line 149 of file NodeMapRef.h.

template<class TCameraParams>
int* GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_pRefCount [private]

Definition at line 152 of file NodeMapRef.h.

template<class TCameraParams>
INodeMap* GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_Ptr

Pointer to the NodeMap.

Definition at line 145 of file NodeMapRef.h.


The documentation for this class was generated from the following file:


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:11