Smartpointer template for NodeMaps with create function. More...
#include <NodeMapRef.h>
Public Member Functions | |
virtual bool | _ConcatenatedWrite (CNodeWriteConcatenator *, bool featureStreaming=true, GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) |
Execute the transaction. More... | |
virtual bool | _Connect (IPort *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const |
Connects a port to a port node with given name. More... | |
virtual bool | _Connect (IPort *pPort) const |
Connects a port to the standard port "Device". More... | |
virtual bool | _Connect (IPortStacked *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const |
Connects a port to a port node with given name. More... | |
virtual bool | _Connect (IPortStacked *pPort) const |
Connects a port to the standard port "Device". More... | |
void | _Destroy () |
Destroys the node map. More... | |
virtual GENICAM_NAMESPACE::gcstring | _GetDeviceName () const |
Get device name. More... | |
virtual INode * | _GetNode (const GENICAM_NAMESPACE::gcstring &key) const |
Retrieves the node from the central map by name. More... | |
virtual void | _GetNodes (NodeList_t &Nodes) const |
Retrieves all nodes in the node map. More... | |
virtual void | _GetSupportedSchemaVersions (GENICAM_NAMESPACE::gcstring_vector &SchemaVersions) const |
Gets a list of supported schema versions. More... | |
virtual void | _InvalidateNodes () const |
Invalidates all nodes. More... | |
void | _LoadXMLFromFile (const GENICAM_NAMESPACE::gcstring &FileName) |
Creates the object from a XML file with given file name. More... | |
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. More... | |
void | _LoadXMLFromString (const GENICAM_NAMESPACE::gcstring &XMLData) |
Creates the object from XML data given in a string. More... | |
void | _LoadXMLFromStringInject (const GENICAM_NAMESPACE::gcstring &TargetXMLDataconst, const GENICAM_NAMESPACE::gcstring &InjectXMLData) |
Creates the object from XML data given in a string with injection. More... | |
void | _LoadXMLFromZIPData (const void *zipData, size_t zipSize) |
Creates the object from a ZIP'd XML file given in a string. More... | |
void | _LoadXMLFromZIPFile (const GENICAM_NAMESPACE::gcstring &ZipFileName) |
Creates the object from a ZIP'd XML file with given file name. More... | |
virtual CNodeWriteConcatenator * | _NewNodeWriteConcatenator () const |
Create a new write concatenator object. More... | |
virtual bool | _ParseSwissKnifes (GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) const |
Parse all Swissknife equations. More... | |
virtual void | _Poll (int64_t ElapsedTime) |
Fires nodes which have a polling time. More... | |
CNodeMapRefT (const GENICAM_NAMESPACE::gcstring &DeviceName="Device") | |
Constructor. More... | |
CNodeMapRefT (INodeMap *pNodeMap, const GENICAM_NAMESPACE::gcstring &DeviceName="Device") | |
Constructor. More... | |
CNodeMapRefT (const CNodeMapRefT &Them) | |
Copy constructor. More... | |
CNodeMapRefT & | operator= (const CNodeMapRefT &Them) |
Assignment. More... | |
CNodeMapRefT & | operator= (INodeMap *pNodeMap) |
Assignment of an INodeMap*. More... | |
virtual | ~CNodeMapRefT () |
Destructor. 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... | |
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. More... | |
int * | _pRefCount |
Smartpointer template for NodeMaps with create function.
TCameraParams | The camera specific parameter class (auto generated from camera xml file) |
Definition at line 67 of file NodeMapRef.h.
|
inline |
Constructor.
Definition at line 174 of file NodeMapRef.h.
|
inline |
Constructor.
Definition at line 182 of file NodeMapRef.h.
GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::CNodeMapRefT | ( | const CNodeMapRefT< TCameraParams > & | Them | ) |
Copy constructor.
Definition at line 192 of file NodeMapRef.h.
|
inlinevirtual |
Destructor.
Definition at line 296 of file NodeMapRef.h.
|
inlinestatic |
Clears the cache of the camera description files.
Definition at line 494 of file NodeMapRef.h.
|
inlinevirtual |
Execute the transaction.
Definition at line 430 of file NodeMapRef.h.
|
inlinevirtual |
Connects a port to a port node with given name.
Definition at line 462 of file NodeMapRef.h.
|
inlinevirtual |
Connects a port to the standard port "Device".
Definition at line 470 of file NodeMapRef.h.
|
inlinevirtual |
Connects a port to a port node with given name.
Definition at line 478 of file NodeMapRef.h.
|
inlinevirtual |
Connects a port to the standard port "Device".
Definition at line 486 of file NodeMapRef.h.
|
inline |
Destroys the node map.
Definition at line 302 of file NodeMapRef.h.
|
inlinevirtual |
Get device name.
Definition at line 398 of file NodeMapRef.h.
|
inlinevirtual |
Retrieves the node from the central map by name.
Definition at line 438 of file NodeMapRef.h.
|
inlinevirtual |
Retrieves all nodes in the node map.
Definition at line 414 of file NodeMapRef.h.
|
inlinevirtual |
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 392 of file NodeMapRef.h.
|
inlinevirtual |
Invalidates all nodes.
Definition at line 446 of file NodeMapRef.h.
|
inline |
Creates the object from a XML file with given file name.
Definition at line 309 of file NodeMapRef.h.
|
inline |
Creates the object from a XML target and an inject file with given file name.
Definition at line 337 of file NodeMapRef.h.
|
inline |
Creates the object from XML data given in a string.
Definition at line 353 of file NodeMapRef.h.
|
inline |
Creates the object from XML data given in a string with injection.
Definition at line 378 of file NodeMapRef.h.
|
inline |
Creates the object from a ZIP'd XML file given in a string.
Definition at line 366 of file NodeMapRef.h.
|
inline |
Creates the object from a ZIP'd XML file with given file name.
Definition at line 323 of file NodeMapRef.h.
|
inlinevirtual |
Create a new write concatenator object.
Definition at line 422 of file NodeMapRef.h.
|
inlinevirtual |
Parse all Swissknife equations.
Definition at line 454 of file NodeMapRef.h.
|
inlinevirtual |
Fires nodes which have a polling time.
Definition at line 406 of file NodeMapRef.h.
|
private |
Definition at line 203 of file NodeMapRef.h.
CNodeMapRefT< TCameraParams > & GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::operator= | ( | const CNodeMapRefT< TCameraParams > & | Them | ) |
Assignment.
Definition at line 288 of file NodeMapRef.h.
CNodeMapRefT< TCameraParams > & GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::operator= | ( | INodeMap * | pNodeMap | ) |
Assignment of an INodeMap*.
Definition at line 275 of file NodeMapRef.h.
|
private |
Definition at line 235 of file NodeMapRef.h.
|
private |
The name of this device.
Definition at line 163 of file NodeMapRef.h.
|
private |
Definition at line 166 of file NodeMapRef.h.
INodeMap* GENAPI_NAMESPACE::CNodeMapRefT< TCameraParams >::_Ptr |
Pointer to the NodeMap.
Definition at line 159 of file NodeMapRef.h.