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' 91 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;
199 string2node_t&
Map();
202 const string2node_t&
Map()
const;
309 # pragma warning(pop) 312 #endif // GENAPI_NODEMAP_H Definition of value2string and string2value functions.
virtual CNodeWriteConcatenator * NewNodeWriteConcatenator() const
central versioning counters
GENAPI_NAMESPACE::EStandardNameSpace m_StandardNameSpace
standard name space
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IDeviceInfo
Interface to get information about the device (= nodemap)
virtual uint64_t GetNumNodes() 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
bool m_GenApiPersistenceMode
indicates who GenApi deals with the verify flag.
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
virtual CLock & GetLock() const
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.
enum GENAPI_NAMESPACE::_ECallbackSuppressMode ECallbackSuppressMode
typedef for callback suppression mod
EntryMethodFinalizer(CNodeMap *pThis)
Constructor.
uint64_t m_suppressCallback
counts the depth of SetValue call-chains
string2node_t & Map()
Retrieve the map.
~EntryMethodFinalizer()
Destructor calling.
virtual void SetGenApiPersistenceMode(bool)
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
bool m_EntryPointStreamable
Indicate if the entry point has the stremable flag.
string2node_t * m_pMap
Holds the Node pointers referenced by NodeName.
virtual bool EntryIsStremable()
Indicates suppression is used once.
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.
Used to ensure that PostSetValue() is called in any case.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IPortStacked
Interface for ports.
node_vector NodeList_t
a list of node references
virtual GENICAM_NAMESPACE::gcstring GetVendorName()
virtual void SetEntryPoint(EMethod EntryMethod, const INodePrivate *pEntryNode, bool stremable, bool IgnoreCache)
Indicates suppression is turned off.
Version_t m_DeviceVersion
device description file's version number
virtual GENICAM_NAMESPACE::gcstring GetEntryPoint()
CNodeMap * m_pNodeMapPrivate
Private cache for the INodeMapPrivate pointer.
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
virtual void InvalidateNodes() const
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...
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.
virtual void SetSuppressCallbackMode(ECallbackSuppressMode mode)
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 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)
virtual bool Connect(IPort *pPort, const GENICAM_NAMESPACE::gcstring &PortName) const
virtual void GetNodes(NodeList_t &Nodes) const
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.
virtual UserData_t GetUserData() const
virtual bool IsCallbackSuppressed()
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 bool ParseSwissKnifes(GENICAM_NAMESPACE::gcstring_vector *pErrorList=NULL) const
virtual INode * GetNode(const GENICAM_NAMESPACE::gcstring &Name) const
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 GENICAM_NAMESPACE::gcstring GetStandardNameSpace()
Definition of interface INodeMap.
Lexical analyzer for CIntSwissKnife.
Definition of interface INodePrivate.
GENICAM_NAMESPACE::gcstring m_Name
Dummy name, used only for loading.