29 #ifndef GENAPI_NODEMAP_H 30 #define GENAPI_NODEMAP_H 45 # pragma warning(push) 46 # pragma warning(disable: 4251) // class 'xxx' needs to have dll-interface to be used by clients of class 'yyy' 84 virtual bool ParseSwissKnifes( GENICAM_NAMESPACE::gcstring_vector *pErrorList = NULL )
const;
95 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
188 string2node_t&
Map();
191 const string2node_t&
Map()
const;
260 # pragma warning(pop) 263 #endif // GENAPI_NODEMAP_H Definition of value2string and string2value functions.
central versioning counters
virtual UserData_t GetUserData() const
GENAPI_NAMESPACE::EStandardNameSpace m_StandardNameSpace
standard name space
virtual void InvalidateNodes() const
virtual bool Connect(IPort *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const
virtual void GetSchemaVersion(Version_t &Version)
const INodePrivate * m_pEntryNode
The node where a call entered the tree.
GENICAM_NAMESPACE::gcstring m_DeviceName
The name of the device.
interface GENAPI_DECL_ABSTRACT INodePrivate
Interface including the methods for node construction common to all nodes.
virtual Counter & GetBathometer()
virtual GENICAM_NAMESPACE::gcstring GetToolTip()
Definition of interface IDestroy.
Counter m_Bathometer
counts the depth of SetValue call-chains
std::vector< INodePrivate * > NodePrivateVector_t
a vector of node references using the INodePrivate interface
interface GENAPI_DECL_ABSTRACT IPort
Interface for ports.
EMethod m_EntryMethod
The node where a call entered the tree.
string2node_t & Map()
Retrieve the map.
virtual void SetEntryPoint(EMethod EntryMethod, const INodePrivate *pEntryNode, bool IgnoreCache)
virtual void GetNodes(NodeList_t &Nodes) const
string2node_t * m_pMap
Holds the Node pointers referenced by NodeName.
interface GENAPI_DECL_ABSTRACT IDeviceInfo
Interface to get information about the device (= nodemap)
virtual GENICAM_NAMESPACE::gcstring GetProductGuid()
virtual void FinalConstruct(bool DetermineDependencies)
virtual void RegisterNode(INodePrivate *pNode, CNodeData::ENodeType_t NodeType, NodeID_t NodeID)
GENICAM_NAMESPACE::gcstring m_VersionGuid
Guid describing the product version.
CNodeMap & operator=(const CNodeMap &)
forbidden operator=
GENICAM_NAMESPACE::gcstring m_VendorName
Get the vendor name.
virtual INode * GetNode(const GENICAM_NAMESPACE::gcstring &Name) const
node_vector NodeList_t
a list of node references
virtual GENICAM_NAMESPACE::gcstring GetVendorName()
interface GENAPI_DECL_ABSTRACT CNodeData::ENodeType_t NodeID_t NodeID
Version_t m_DeviceVersion
device description file's version number
virtual GENICAM_NAMESPACE::gcstring GetEntryPoint()
virtual void ResetEntryPoint()
Node2NodeID_t m_Node2NodeID
virtual INodePrivate * GetNodeByID(NodeID_t NodeID)
std::vector< INodePrivate * > Node2NodeID_t
Holds the Node pointers referenced by NodeID.
bool m_GenApiLoggingEnabled
indicates GenApi logging is enabled (caches the returnvalue of CLog::Exists("GenApi") ) ...
GENICAM_NAMESPACE::gcstring m_ModelName
model name
int m_EntryPointDepth
Number of call pairs to SetEntryPoint/ResetEntryPoint.
CLock & m_Lock
The pointer to the lock guarding access to the node map This may be changed by the user if he decides...
interface GENAPI_DECL_ABSTRACT CNodeData::ENodeType_t NodeType
virtual bool ParseSwissKnifes(GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) const
UserData_t m_pUserData
Storage of user defined data.
EMethod
denotes through which method call the node tree was entered
GENICAM_NAMESPACE::gcstring m_ToolTip
tool tip
GENICAM_NAMESPACE::gcstring m_ProductGuid
Guid describing the product.
INodePrivate * _GetNodeByID(NodeID_t NodeID)
interface GENAPI_DECL_ABSTRACT IUserData
Interface to manage user data stored in nodes or nodemaps.
void ClearAllNodes()
Clear the map.
virtual bool IsGenApiLoggingEnabled()
virtual ~CNodeMap()
Destructor (note that in order to destroy the node map you need to call IDestroy::Destroy() ...
interface GENAPI_DECL_ABSTRACT INodeMapPrivate
NodeMap functions used for initialization.
virtual uint64_t GetNumNodes() const
virtual bool IsGenApiDeviceLoggingEnabled()
GENICAM_NAMESPACE::gcstring_vector m_PropertyNames
A list with all properties set.
Definition of interface IUserData.
A string class which is a clone of std::string.
virtual void SetNumNodes(size_t NumNodes)
enum GENAPI_NAMESPACE::_EStandardNameSpace EStandardNameSpace
Defines from which standard namespace a node name comes from.
virtual void GetGenApiVersion(Version_t &Version, uint16_t &Build)
Portable string implementation.
bool m_GenApiDeviceLoggingEnabled
indicates GenApi logging is enabled (caches the returnvalue of CLog::Exists("GenApi.Device") )
CLock m_zzz_OwnLock_DoNotUse
The own lock guarding access to the node map Do not use this directly! Use GetLock() instead...
virtual GENICAM_NAMESPACE::gcstring GetModelName()
declspec's to be used for GenApi Windows dll
Definition of Lock classes.
Definition of interface INodeMapPrivate.
interface GENAPI_DECL_ABSTRACT INode
Interface common to all nodes.
virtual GENICAM_NAMESPACE::gcstring GetVersionGuid()
virtual void SetProperty(CProperty &Property)
CNodeMap(const GENICAM_NAMESPACE::gcstring &DeviceName="Device", CLock *pUserProvidedLock=NULL)
Constructor.
virtual void Poll(int64_t ElapsedTime)
Version_t m_SchemaVersion
schema version number
virtual GENICAM_NAMESPACE::gcstring GetDeviceName()
bool m_EntryPointIgnoreCache
Indicates if the entry point had the Ignore Cache flag set.
virtual void GetDeviceVersion(Version_t &Version)
virtual UserData_t SetUserData(UserData_t userdata)
NodePrivateVector_t * m_pPollingNodes
List of pointers to nodes which need to be polled.
virtual CLock & GetLock() const
virtual GENICAM_NAMESPACE::gcstring GetStandardNameSpace()
Definition of interface INodeMap.
Part of the generic device API.
Definition of interface INodePrivate.
interface GENAPI_DECL_ABSTRACT IDestroy
Interface to destroy an object.
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
GENICAM_NAMESPACE::gcstring m_Name
Dummy name, used only for loading.