Hold a map of all nodes. More...
#include <NodeMap.h>
Public Member Functions | |
INodePrivate * | _GetNodeByID (NodeID_t NodeID) |
CNodeMap (const GENICAM_NAMESPACE::gcstring &DeviceName="Device", CLock *pUserProvidedLock=NULL) | |
Constructor. | |
Interface INodeMap | |
virtual void | GetNodes (NodeList_t &Nodes) const |
virtual INode * | GetNode (const GENICAM_NAMESPACE::gcstring &Name) const |
virtual void | InvalidateNodes () const |
virtual bool | Connect (IPort *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const |
virtual bool | Connect (IPort *pPort) const |
virtual GENICAM_NAMESPACE::gcstring | GetDeviceName () |
virtual void | Poll (int64_t ElapsedTime) |
virtual CLock & | GetLock () const |
virtual uint64_t | GetNumNodes () const |
virtual bool | ParseSwissKnifes (GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) const |
Interface INodeMapPrivate | |
virtual void | RegisterNode (INodePrivate *pNode, CNodeData::ENodeType_t NodeType, NodeID_t NodeID) |
virtual void | FinalConstruct (bool DetermineDependencies) |
virtual void | SetNumNodes (size_t NumNodes) |
virtual INodePrivate * | GetNodeByID (NodeID_t NodeID) |
virtual void | SetProperty (CProperty &Property) |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const |
virtual Counter & | GetBathometer () |
virtual void | SetEntryPoint (EMethod EntryMethod, const INodePrivate *pEntryNode, bool IgnoreCache) |
virtual void | ResetEntryPoint () |
virtual GENICAM_NAMESPACE::gcstring | GetEntryPoint () |
virtual bool | IsGenApiLoggingEnabled () |
virtual bool | IsGenApiDeviceLoggingEnabled () |
Interface IDeviceInfo | |
virtual GENICAM_NAMESPACE::gcstring | GetModelName () |
virtual GENICAM_NAMESPACE::gcstring | GetVendorName () |
virtual GENICAM_NAMESPACE::gcstring | GetToolTip () |
virtual GENICAM_NAMESPACE::gcstring | GetStandardNameSpace () |
virtual void | GetGenApiVersion (Version_t &Version, uint16_t &Build) |
virtual void | GetSchemaVersion (Version_t &Version) |
virtual void | GetDeviceVersion (Version_t &Version) |
virtual GENICAM_NAMESPACE::gcstring | GetProductGuid () |
virtual GENICAM_NAMESPACE::gcstring | GetVersionGuid () |
Interface IDestroy | |
Makes the object to destroy itself | |
virtual void | Destroy () |
Protected Types | |
typedef std::vector < INodePrivate * > | Node2NodeID_t |
Holds the Node pointers referenced by NodeID. | |
Protected Member Functions | |
void | ClearAllNodes () |
Clear the map. | |
string2node_t & | Map () |
Retrieve the map. | |
const string2node_t & | Map () const |
Retrieve the map. | |
virtual | ~CNodeMap () |
Destructor (note that in order to destroy the node map you need to call IDestroy::Destroy() | |
Protected Attributes | |
Counter | m_Bathometer |
counts the depth of SetValue call-chains | |
GENICAM_NAMESPACE::gcstring | m_DeviceName |
The name of the device. | |
Version_t | m_DeviceVersion |
device description file's version number | |
EMethod | m_EntryMethod |
The node where a call entered the tree. | |
int | m_EntryPointDepth |
Number of call pairs to SetEntryPoint/ResetEntryPoint. | |
bool | m_EntryPointIgnoreCache |
Indicates if the entry point had the Ignore Cache flag set. | |
bool | m_GenApiDeviceLoggingEnabled |
indicates GenApi logging is enabled (caches the returnvalue of CLog::Exists("GenApi.Device") ) | |
bool | m_GenApiLoggingEnabled |
indicates GenApi logging is enabled (caches the returnvalue of CLog::Exists("GenApi") ) | |
CLock & | m_Lock |
The pointer to the lock guarding access to the node map This may be changed by the user if he decides to use another lock. | |
GENICAM_NAMESPACE::gcstring | m_ModelName |
model name | |
GENICAM_NAMESPACE::gcstring | m_Name |
Dummy name, used only for loading. | |
Node2NodeID_t | m_Node2NodeID |
const INodePrivate * | m_pEntryNode |
The node where a call entered the tree. | |
string2node_t * | m_pMap |
Holds the Node pointers referenced by NodeName. | |
NodePrivateVector_t * | m_pPollingNodes |
List of pointers to nodes which need to be polled. | |
GENICAM_NAMESPACE::gcstring | m_ProductGuid |
Guid describing the product. | |
GENICAM_NAMESPACE::gcstring_vector | m_PropertyNames |
A list with all properties set. | |
Version_t | m_SchemaVersion |
schema version number | |
GENAPI_NAMESPACE::EStandardNameSpace | m_StandardNameSpace |
standard name space | |
GENICAM_NAMESPACE::gcstring | m_ToolTip |
tool tip | |
GENICAM_NAMESPACE::gcstring | m_VendorName |
Get the vendor name. | |
GENICAM_NAMESPACE::gcstring | m_VersionGuid |
Guid describing the product version. | |
Private Member Functions | |
CNodeMap (const CNodeMap &) | |
forbidden copy constructor | |
CNodeMap & | operator= (const CNodeMap &) |
forbidden operator= | |
Interface IUserData | |
virtual UserData_t | GetUserData () const |
virtual UserData_t | SetUserData (UserData_t userdata) |
Private Attributes | |
UserData_t | m_pUserData |
Storage of user defined data. | |
CLock | m_zzz_OwnLock_DoNotUse |
The own lock guarding access to the node map Do not use this directly! Use GetLock() instead. |
typedef std::vector<INodePrivate*> GENAPI_NAMESPACE::CNodeMap::Node2NodeID_t [protected] |
GENAPI_NAMESPACE::CNodeMap::CNodeMap | ( | const GENICAM_NAMESPACE::gcstring & | DeviceName = "Device" , |
CLock * | pUserProvidedLock = NULL |
||
) |
Constructor.
virtual GENAPI_NAMESPACE::CNodeMap::~CNodeMap | ( | ) | [protected, virtual] |
Destructor (note that in order to destroy the node map you need to call IDestroy::Destroy()
GENAPI_NAMESPACE::CNodeMap::CNodeMap | ( | const CNodeMap & | ) | [private] |
forbidden copy constructor
INodePrivate* GENAPI_NAMESPACE::CNodeMap::_GetNodeByID | ( | NodeID_t | NodeID | ) | [inline] |
void GENAPI_NAMESPACE::CNodeMap::ClearAllNodes | ( | ) | [protected] |
Clear the map.
virtual bool GENAPI_NAMESPACE::CNodeMap::Connect | ( | IPort * | pPort, |
const GENICAM_NAMESPACE::gcstring & | PortName | ||
) | const [virtual] |
virtual bool GENAPI_NAMESPACE::CNodeMap::Connect | ( | IPort * | pPort | ) | const [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::Destroy | ( | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::FinalConstruct | ( | bool | DetermineDependencies | ) | [virtual] |
virtual Counter& GENAPI_NAMESPACE::CNodeMap::GetBathometer | ( | ) | [inline, virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetDeviceName | ( | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::GetDeviceVersion | ( | Version_t & | Version | ) | [virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetEntryPoint | ( | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::GetGenApiVersion | ( | Version_t & | Version, |
uint16_t & | Build | ||
) | [virtual] |
virtual CLock& GENAPI_NAMESPACE::CNodeMap::GetLock | ( | ) | const [virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetModelName | ( | ) | [virtual] |
virtual INode* GENAPI_NAMESPACE::CNodeMap::GetNode | ( | const GENICAM_NAMESPACE::gcstring & | Name | ) | const [virtual] |
virtual INodePrivate* GENAPI_NAMESPACE::CNodeMap::GetNodeByID | ( | NodeID_t | NodeID | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::GetNodes | ( | NodeList_t & | Nodes | ) | const [virtual] |
virtual uint64_t GENAPI_NAMESPACE::CNodeMap::GetNumNodes | ( | ) | const [virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetProductGuid | ( | ) | [virtual] |
virtual bool GENAPI_NAMESPACE::CNodeMap::GetProperty | ( | CNodeDataMap * | pNodeDataMap, |
CPropertyID::EProperty_ID_t | PropertyID, | ||
CNodeData::PropertyVector_t & | PropertyList | ||
) | const [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::GetSchemaVersion | ( | Version_t & | Version | ) | [virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetStandardNameSpace | ( | ) | [virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetToolTip | ( | ) | [virtual] |
virtual UserData_t GENAPI_NAMESPACE::CNodeMap::GetUserData | ( | ) | const [private, virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetVendorName | ( | ) | [virtual] |
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeMap::GetVersionGuid | ( | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::InvalidateNodes | ( | ) | const [virtual] |
virtual bool GENAPI_NAMESPACE::CNodeMap::IsGenApiDeviceLoggingEnabled | ( | ) | [virtual] |
virtual bool GENAPI_NAMESPACE::CNodeMap::IsGenApiLoggingEnabled | ( | ) | [virtual] |
string2node_t& GENAPI_NAMESPACE::CNodeMap::Map | ( | ) | [protected] |
Retrieve the map.
const string2node_t& GENAPI_NAMESPACE::CNodeMap::Map | ( | ) | const [protected] |
Retrieve the map.
virtual bool GENAPI_NAMESPACE::CNodeMap::ParseSwissKnifes | ( | GENICAM_NAMESPACE::gcstring_vector * | pErrorList = NULL | ) | const [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::Poll | ( | int64_t | ElapsedTime | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::RegisterNode | ( | INodePrivate * | pNode, |
CNodeData::ENodeType_t | NodeType, | ||
NodeID_t | NodeID | ||
) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::ResetEntryPoint | ( | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::SetEntryPoint | ( | EMethod | EntryMethod, |
const INodePrivate * | pEntryNode, | ||
bool | IgnoreCache | ||
) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::SetNumNodes | ( | size_t | NumNodes | ) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeMap::SetProperty | ( | CProperty & | Property | ) | [virtual] |
virtual UserData_t GENAPI_NAMESPACE::CNodeMap::SetUserData | ( | UserData_t | userdata | ) | [private, virtual] |
Counter GENAPI_NAMESPACE::CNodeMap::m_Bathometer [protected] |
Version_t GENAPI_NAMESPACE::CNodeMap::m_DeviceVersion [protected] |
EMethod GENAPI_NAMESPACE::CNodeMap::m_EntryMethod [protected] |
int GENAPI_NAMESPACE::CNodeMap::m_EntryPointDepth [protected] |
bool GENAPI_NAMESPACE::CNodeMap::m_EntryPointIgnoreCache [protected] |
bool GENAPI_NAMESPACE::CNodeMap::m_GenApiDeviceLoggingEnabled [protected] |
bool GENAPI_NAMESPACE::CNodeMap::m_GenApiLoggingEnabled [protected] |
CLock& GENAPI_NAMESPACE::CNodeMap::m_Lock [protected] |
const INodePrivate* GENAPI_NAMESPACE::CNodeMap::m_pEntryNode [protected] |
string2node_t* GENAPI_NAMESPACE::CNodeMap::m_pMap [protected] |
GENICAM_NAMESPACE::gcstring_vector GENAPI_NAMESPACE::CNodeMap::m_PropertyNames [protected] |
Version_t GENAPI_NAMESPACE::CNodeMap::m_SchemaVersion [protected] |