31 #ifndef GENAPI_NODET_H 32 #define GENAPI_NODET_H 34 #include "../NodeCallback.h" 37 #include "GenApi/impl/Log.h" 49 template<
class Base >
58 return Base::InternalGetName(FullQualified);
66 return Base::InternalGetNameSpace();
74 EVisibility NaturalVisibility = Base::InternalGetVisibility();
85 std::list<CNodeCallback*> CallbacksToFire;
89 Base::InternalInvalidateNode( CallbacksToFire );
92 std::list<CNodeCallback*>::iterator ptrCallback;
93 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
100 std::list<CNodeCallback*>::iterator ptrCallback;
101 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
112 return Base::InternalIsCachable();
120 return Base::InternalGetCachingMode();
128 return Base::InternalIsAccessModeCacheable();
136 return Base::InternalGetPollingTime();
144 return Base::InternalGetToolTip();
152 return Base::InternalGetDescription();
160 return Base::InternalGetDisplayName();
168 return Base::InternalGetDeviceName();
176 return Base::InternalGetChildren( Children, LinkType );
184 return Base::InternalRegisterCallback( pCallback );
192 return Base::InternalDeregisterCallback( hCallback );
200 return Base::InternalGetNodeMap();
228 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
241 return Base::InternalGetDocuURL();
249 return Base::InternalIsDeprecated();
257 return Base::InternalGetPrincipalInterfaceType();
269 #endif // GENAPI_NODET_H virtual bool GetProperty(const GENICAM_NAMESPACE::gcstring &PropertyName, GENICAM_NAMESPACE::gcstring &ValueStr, GENICAM_NAMESPACE::gcstring &AttributeStr) const
Retrieves a property plus an additional attribute by name.
virtual bool GetProperty(const GENICAM_NAMESPACE::gcstring &PropertyName, GENICAM_NAMESPACE::gcstring &ValueStr, GENICAM_NAMESPACE::gcstring &AttributeStr)
Retrieves a property plus an additional attribute by name.
virtual EInterfaceType GetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
NodeT< Base > & operator=(const NodeT< Base > &)
enum GENAPI_NAMESPACE::_EVisibility EVisibility
recommended visibility of a node
virtual bool IsCachable() const
Implementation of INode::IsCachable()
virtual INodeMap * GetNodeMap() const
Implementation of INode::GetNodeMap()
virtual bool DeregisterCallback(CallbackHandleType hCallback)
Implementation of INode::DeregisterCallback()
virtual void GetPropertyNames(GENICAM_NAMESPACE::gcstring_vector &PropertyNames) const
Returns a list of the names all properties set during initialization.
virtual CallbackHandleType RegisterCallback(CNodeCallback *pCallback)
Implementation of INode::RegisterCallback()
virtual GENICAM_NAMESPACE::gcstring GetName(bool FullQualified) const
Implementation of INode::GetName()
EAccessMode Combine(EAccessMode Peter, EAccessMode Paul)
Computes which access mode the two guards allow together.
interface GENAPI_DECL_ABSTRACT INodeMap
Interface to access the node map.
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const =0
Retrieves a property from the node map itself.
callback body instance for INode pointers
virtual int64_t GetPollingTime() const
Implementation of INode::GetPollingTime()
virtual GENICAM_NAMESPACE::gcstring GetDeviceName() const
Implementation of INode::GetDeviceName.
virtual void GetChildren(NodeList_t &Children, ELinkType LinkType) const
Implementation of INode::GetChildren()
virtual EVisibility GetVisibility() const
Implementation of INode::GetVisibility()
Implementation of the INode interface.
node_vector NodeList_t
a list of node references
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
caching mode of a register
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
virtual void InvalidateNode()
Implementation of INode::InvalidateNode()
enum GENAPI_NAMESPACE::_EYesNo EYesNo
Defines the choices of a Yes/No alternatives.
virtual GENICAM_NAMESPACE::gcstring GetEventID() const
Implementation of INode::GetNodeMap()
virtual GENICAM_NAMESPACE::gcstring GetDescription() const
Implementation of INode::GetDescription()
virtual ECachingMode GetCachingMode() const
Implementation of INode::GetCachingMode.
virtual GENICAM_NAMESPACE::gcstring GetEventID() const =0
Get the EventId of the node.
virtual GENAPI_NAMESPACE::ENameSpace GetNameSpace() const
Implementation of INode::GetNameSpace()
virtual GENICAM_NAMESPACE::gcstring GetDisplayName() const
Implementation of INode::GetDisplayName.
intptr_t CallbackHandleType
the callback handle for nodes
virtual GENICAM_NAMESPACE::gcstring GetToolTip() const
Implementation of INode::GetToolTip()
A string class which is a clone of std::string.
virtual GENICAM_NAMESPACE::gcstring GetDocuURL() const
Gets a URL pointing to the documentation of that feature.
virtual EYesNo IsAccessModeCacheable() const
True if the AccessMode can be cached.
virtual bool IsDeprecated() const
True if the node should not be used any more.
virtual void GetPropertyNames(GENICAM_NAMESPACE::gcstring_vector &PropertyNames) const =0
Returns a list of the names all properties set during initialization.
Part of the generic device API.
callback is fired on leaving the tree inside the lock-guarded area
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.
enum GENAPI_NAMESPACE::_ENameSpace ENameSpace
Defines if a node name is standard or custom.
enum GENAPI_NAMESPACE::_ELinkType ELinkType
typedef for link type