Smart pointer template for NodeMaps with create function. More...
#include <NodeMap.h>
Public Member Functions | |
| NodeMap (GenICam::gcstring DeviceName="Device") | |
| Constructor. | |
| virtual | ~NodeMap () |
| Destructor. | |
| void | Destroy () |
| Destroys the node map. | |
| void | LoadXMLFromFile (GenICam::gcstring FileName) |
| Creates the object from a XML file with given file name. | |
| void | LoadXMLFromZIPFile (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 (GenICam::gcstring TargetFileName, 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) |
| Gets a list of supported schema versions. | |
| virtual GenICam::gcstring | GetDeviceName () |
| 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 CLock & | GetLock () const |
| Returns the lock which guards the node map. | |
| virtual uint64_t | GetNumNodes () const |
| Get the number of nodes in the map. | |
| void * | GetNodeMapHandle () const |
| virtual GenICam::gcstring | GetModelName () |
| Get the model name. | |
| virtual GenICam::gcstring | GetVendorName () |
| Get the vendor name. | |
| virtual GenICam::gcstring | GetToolTip () |
| Get tool tip. | |
| virtual GenICam::gcstring | GetStandardNameSpace () |
| Get the standard name space. | |
| virtual void | GetGenApiVersion (GenICam::Version_t &Version, uint16_t &Build) |
| Get the version of the DLL's GenApi implementation. | |
| virtual void | GetSchemaVersion (GenICam::Version_t &Version) |
| Get the schema version number. | |
| virtual void | GetDeviceVersion (GenICam::Version_t &Version) |
| Get the version of the device description file. | |
| virtual GenICam::gcstring | GetProductGuid () |
| Get the GUID describing the product. | |
| virtual GenICam::gcstring | GetVersionGuid () |
| Get the GUID describing the product version. | |
Static Public Member Functions | |
| static bool | ClearXMLCache () |
| Clears the cache of the camera description files. | |
Public Attributes | |
| INodeMap * | _Ptr |
| Pointer to the NodeMap. | |
Smart pointer template for NodeMaps with create function.
| TCameraParams | The camera specific parameter class (auto generated from camera xml file) |
| NodeMap | ( | GenICam::gcstring | DeviceName = "Device" | ) |
Constructor.
|
virtual |
Destructor.
|
static |
Clears the cache of the camera description files.
|
virtual |
Connects a port to the standard port "Device".
|
virtual |
Connects a port to a port node with given name.
| void Destroy | ( | ) |
Destroys the node map.
|
virtual |
Get device name.
|
virtual |
Get the version of the device description file.
|
virtual |
Get the version of the DLL's GenApi implementation.
|
virtual |
Returns the lock which guards the node map.
|
virtual |
Get the model name.
|
virtual |
Retrieves the node from the central map by name.
| void * GetNodeMapHandle | ( | ) | const |
|
virtual |
Retrieves all nodes in the node map.
|
virtual |
Get the number of nodes in the map.
|
virtual |
Get the GUID describing the product.
|
virtual |
Get the schema version number.
|
virtual |
Get the standard name space.
|
virtual |
Gets a list of supported schema versions.
! Loads an XML, checks it for correctness, applies a style-sheet and outputs it void PreprocessXMLFromFile(const GenICam::gcstring& XMLFileName, const GenICam::gcstring& StyleSheetFileName, const GenICam::gcstring& OutputFileName, const uint32_t XMLValidation = xvDefault);
! Loads a Zipped XML, checks it for correctness, applies a style-sheet and outputs it void PreprocessXMLFromZIPFile(const GenICam::gcstring& ZIPFileName, const GenICam::gcstring& StyleSheetFileName, const GenICam::gcstring& OutputFileName, const uint32_t XMLValidation = xvDefault);
! Injects an XML file into a target file virtual void MergeXMLFiles( const GenICam::gcstring& TargetFileName, *< Name of the target XML file to process const GenICam::gcstring& InjectedFileName, *< Name of the Injected XML file to process const GenICam::gcstring& OutputFileName *< Name of the output file );
! Extract independent subtree virtual void ExtractIndependentSubtree( const GenICam::gcstring& XMLData, *< The XML data the subtree is extracted from. const GenICam::gcstring& InjectXMLData, *< Optional XML data that is injected before extracting the subtree. No effect if an empty string is passed. const GenICam::gcstring& SubTreeRootNodeName,*< The name of the node that represents the root of the subtree that shall be extracted. GenICam::gcstring& ExtractedSubtree *< The returned extracted subtree as string. );
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 |
Get tool tip.
|
virtual |
Get the vendor name.
|
virtual |
Get the GUID describing the product version.
|
virtual |
Invalidates all nodes.
| void LoadXMLFromFile | ( | GenICam::gcstring | FileName | ) |
Creates the object from a XML file with given file name.
| void LoadXMLFromFileInject | ( | GenICam::gcstring | TargetFileName, |
| 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 | ( | GenICam::gcstring | ZipFileName | ) |
Creates the object from a ZIP'd XML file with given file name.
|
virtual |
Fires nodes which have a polling time.