29 #ifndef GENAPI_NODEMAP_H 30 #define GENAPI_NODEMAP_H 43 #include "GenApi/impl/ConcatenatedWriteImpl.h" 48 # pragma warning(push) 49 # pragma warning(disable: 4251) // class 'xxx' needs to have dll-interface to be used by clients of class 'yyy' 92 virtual bool ParseSwissKnifes( GENICAM_NAMESPACE::gcstring_vector *pErrorList = NULL )
const;
103 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
196 string2node_t&
Map();
199 const string2node_t&
Map()
const;
271 # pragma warning(pop) 274 #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
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IDeviceInfo
Interface to get information about the device (= nodemap)
virtual bool Connect(IPort *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const
virtual bool ConcatenatedWrite(CNodeWriteConcatenator *, bool featureStreaming=true, GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL)
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.
virtual Counter & GetBathometer()
virtual GENICAM_NAMESPACE::gcstring GetToolTip()
Definition of interface IDestroy.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IUserData
Interface to manage user data stored in nodes or nodemaps.
Counter m_Bathometer
counts the depth of SetValue call-chains
Portable string vector implementation.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT INodeMapPrivate
NodeMap functions used for initialization.
std::vector< INodePrivate * > NodePrivateVector_t
a vector of node references using the INodePrivate interface
GENICAM_INTERFACE INodePrivate
Interface including the methods for node construction common to all nodes.
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.
virtual GENICAM_NAMESPACE::gcstring GetProductGuid()
virtual void FinalConstruct(bool DetermineDependencies)
virtual void RegisterNode(INodePrivate *pNode, CNodeData::ENodeType_t NodeType, NodeID_t NodeID)
std::list< CPort * > m_connectedPort
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.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStacked
Interface for ports.
virtual INode * GetNode(const GENICAM_NAMESPACE::gcstring &Name) const
virtual CNodeWriteConcatenator * NewNodeWriteConcatenator() const
node_vector NodeList_t
a list of node references
virtual GENICAM_NAMESPACE::gcstring GetVendorName()
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)
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT CNodeData::ENodeType_t 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
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IDestroy
Interface to destroy an object.
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...
virtual bool ParseSwissKnifes(GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) const
UserData_t m_pUserData
Storage of user defined data. Ownership remains by the user!. Use IUserData interface to access the d...
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)
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() ...
virtual uint64_t GetNumNodes() const
virtual bool IsGenApiDeviceLoggingEnabled()
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPort
Interface for ports.
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)
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT CNodeData::ENodeType_t NodeType
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
GENICAM_INTERFACE INode
Interface common to all nodes.
Definition of Lock classes.
Definition of interface INodeMapPrivate.
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.
Lexical analyzer for CIntSwissKnife.
Definition of interface INodePrivate.
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.