GenApi::CNodeMapRefT#
Smartpointer template for NodeMaps with create function. More…
#include <GenApi/NodeMapRef.h>
Inherits from TCameraParams
Public Functions#
Name | |
---|---|
CNodeMapRefT(const GenICam::gcstring & DeviceName ="Device") Constructor. | |
CNodeMapRefT(INodeMap * pNodeMap, const GenICam::gcstring & DeviceName ="Device") Constructor. | |
CNodeMapRefT(const CNodeMapRefT & Them) Copy constructor. | |
CNodeMapRefT & | operator=(const CNodeMapRefT & Them) Assignment. |
CNodeMapRefT & | operator=(INodeMap * pNodeMap) Assignment of an INodeMap*. |
virtual | ~CNodeMapRefT() Destructor. |
void | _Destroy() Destroys the node map. |
void | _LoadXMLFromFile(const GenICam::gcstring & FileName) Creates the object from a XML file with given file name. |
void | _LoadXMLFromZIPFile(const GenICam::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::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. |
virtual void | _GetSupportedSchemaVersions(GenICam::gcstring_vector & SchemaVersions) const Gets a list of supported schema versions. |
virtual GenICam::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::gcstring & key) const Retrieves the node from the central map by name. |
virtual void | _InvalidateNodes() const Invalidates all nodes. |
virtual bool | _Connect(IPort * pPort, const GenICam::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::gcstring_vector * pErrorList =NULL) const Parse all Swissknife equations. |
bool | _ClearXMLCache() Clears the cache of the camera description files. |
Public Attributes#
Name | |
---|---|
INodeMap * | _Ptr Pointer to the NodeMap. |
Detailed Description#
Smartpointer template for NodeMaps with create function.
Template Parameters:
- TCameraParams The camera specific parameter class (auto generated from camera xml file)
Public Functions Documentation#
function CNodeMapRefT#
Constructor.
function CNodeMapRefT#
Constructor.
function CNodeMapRefT#
Copy constructor.
function operator=#
Assignment.
function operator=#
Assignment of an INodeMap*.
function ~CNodeMapRefT#
Destructor.
function _Destroy#
Destroys the node map.
function _LoadXMLFromFile#
Creates the object from a XML file with given file name.
function _LoadXMLFromZIPFile#
Creates the object from a ZIP'd XML file with given file name.
function _LoadXMLFromZIPData#
Creates the object from a ZIP'd XML file given in a string.
function _LoadXMLFromFileInject#
inline 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.
function _LoadXMLFromString#
Creates the object from XML data given in a string.
function _LoadXMLFromStringInject#
inline void _LoadXMLFromStringInject(
const GenICam::gcstring & TargetXMLDataconst,
const GenICam::gcstring & InjectXMLData
)
Creates the object from XML data given in a string with injection.
function _GetSupportedSchemaVersions#
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
function _GetDeviceName#
Get device name.
function _Poll#
Fires nodes which have a polling time.
function _GetNodes#
Retrieves all nodes in the node map.
function _GetNode#
Retrieves the node from the central map by name.
function _InvalidateNodes#
Invalidates all nodes.
function _Connect#
Connects a port to a port node with given name.
function _Connect#
Connects a port to the standard port "Device".
function _ParseSwissKnifes#
Parse all Swissknife equations.
function _ClearXMLCache#
Clears the cache of the camera description files.
Public Attributes Documentation#
variable _Ptr#
Pointer to the NodeMap.