GenApi::CNodeMapRef#
Smartpointer for NodeMaps with create function. More…
#include <GenApi/NodeMapRef.h>
Inherits from GenApi::CNodeMapRefT< GenApi::CGeneric_XMLLoaderParams >, TCameraParams
Public Functions#
| Name | |
|---|---|
| CNodeMapRef(const GenICam::gcstring & DeviceName ="Device") Constructor. | |
| CNodeMapRef(INodeMap * pNodeMap, const GenICam::gcstring & DeviceName ="Device") Constructor. | |
| CNodeMapRef(const CNodeMapRef & Them) Copy constructor. | |
| CNodeMapRef & | operator=(const CNodeMapRef & Them) Assignment. |
| CNodeMapRef & | operator=(INodeMap * pNodeMap) Assignment of an INodeMap*. |
| 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. |
Additional inherited members#
Public Functions inherited from GenApi::CNodeMapRefT< GenApi::CGeneric_XMLLoaderParams >
| Name | |
|---|---|
| CNodeMapRefT(const GenICam::gcstring & DeviceName ="Device") Constructor. | |
| CNodeMapRefT(INodeMap * pNodeMap, const GenICam::gcstring & DeviceName ="Device") Constructor. | |
| CNodeMapRefT(const CNodeMapRefT & Them) Copy constructor. | |
| virtual | ~CNodeMapRefT() Destructor. |
Detailed Description#
class GenApi::CNodeMapRef;
Smartpointer for NodeMaps with create function.
Note
This class is a simple typedef definition. The class syntax is only used, because Doxygen has to generate a useful documentation.
Public Functions Documentation#
function CNodeMapRef#
inline CNodeMapRef(
const GenICam::gcstring & DeviceName ="Device"
)
Constructor.
function CNodeMapRef#
inline CNodeMapRef(
INodeMap * pNodeMap,
const GenICam::gcstring & DeviceName ="Device"
)
Constructor.
function CNodeMapRef#
inline CNodeMapRef(
const CNodeMapRef & Them
)
Copy constructor.
function operator=#
inline CNodeMapRef & operator=(
const CNodeMapRef & Them
)
Assignment.
function operator=#
inline CNodeMapRef & operator=(
INodeMap * pNodeMap
)
Assignment of an INodeMap*.
function _Destroy#
void _Destroy()
Destroys the node map.
function _LoadXMLFromFile#
void _LoadXMLFromFile(
const GenICam::gcstring & FileName
)
Creates the object from a XML file with given file name.
function _LoadXMLFromZIPFile#
void _LoadXMLFromZIPFile(
const GenICam::gcstring & ZipFileName
)
Creates the object from a ZIP'd XML file with given file name.
function _LoadXMLFromZIPData#
void _LoadXMLFromZIPData(
const void * zipData,
size_t zipSize
)
Creates the object from a ZIP'd XML file given in a string.
function _LoadXMLFromFileInject#
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#
void _LoadXMLFromString(
const GenICam::gcstring & XMLData
)
Creates the object from XML data given in a string.
function _LoadXMLFromStringInject#
void _LoadXMLFromStringInject(
const GenICam::gcstring & TargetXMLDataconst,
const GenICam::gcstring & InjectXMLData
)
Creates the object from XML data given in a string with injection.
function _GetSupportedSchemaVersions#
virtual void _GetSupportedSchemaVersions(
GenICam::gcstring_vector & SchemaVersions
) const
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#
virtual GenICam::gcstring _GetDeviceName() const
Get device name.
function _Poll#
virtual void _Poll(
int64_t ElapsedTime
)
Fires nodes which have a polling time.
function _GetNodes#
virtual void _GetNodes(
NodeList_t & Nodes
) const
Retrieves all nodes in the node map.
function _GetNode#
virtual INode * _GetNode(
const GenICam::gcstring & key
) const
Retrieves the node from the central map by name.
function _InvalidateNodes#
virtual void _InvalidateNodes() const
Invalidates all nodes.
function _Connect#
virtual bool _Connect(
IPort * pPort,
const GenICam::gcstring & PortName
) const
Connects a port to a port node with given name.
function _Connect#
virtual bool _Connect(
IPort * pPort
) const
Connects a port to the standard port "Device".
function _ParseSwissKnifes#
virtual bool _ParseSwissKnifes(
GenICam::gcstring_vector * pErrorList =NULL
) const
Parse all Swissknife equations.
function _ClearXMLCache#
static bool _ClearXMLCache()
Clears the cache of the camera description files.
Public Attributes Documentation#
variable _Ptr#
INodeMap * _Ptr;
Pointer to the NodeMap.
Updated on 23 September 2022 at 03:12:52