Standard implementation for the INode and the ISelector interface. More...
#include <Node.h>
Classes | |
class | EntryMethodFinalizer |
Used to ensure that PostSetValue() is called in any case. More... | |
class | PostSetValueFinalizer |
Used to ensure that PostSetValue() is called in any case. More... | |
Public Member Functions | |
void | add_child (CPropertyID::EProperty_ID_t PropertyID, CProperty &, INodePrivate *pNode) |
void | add_orphan_child (CPropertyID::EProperty_ID_t PropertyID, CProperty &, INodePrivate *pNode) |
INodeMapPrivate * | GetNodeMapPrivate () |
Retrieves the INodeMapPrivate interface. | |
void | SetParent (INodePrivate *pParent) |
Sets a parent : CAVE : for internal use only... | |
Constructor / destructor | |
CNodeImpl () | |
Constructor. | |
virtual | ~CNodeImpl () |
Destructor. | |
Interface INodePrivate | |
virtual void | Initialize (GENAPI_NAMESPACE::INodeMapPrivate *const pNodeMap, CNodeData::ENodeType_t NodeType, NodeID_t &NodeID) |
virtual CNodeData::ENodeType_t | GetNodeType () |
virtual NodeID_t | GetNodeID () |
virtual void | FinalConstruct () |
virtual void | SetProperty (CProperty &Property) |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const |
virtual void | SetInvalid (ESetInvalidMode simMode) |
virtual void | CollectCallbacksToFire (std::list< CNodeCallback * > &CallbacksToFire, bool allDependents=false) |
virtual bool | IsTerminalNode () const |
virtual void | GetTerminalNodes (GENAPI_NAMESPACE::NodeList_t &Terminals) const |
virtual bool | Poll (int64_t ElapsedTime) |
Interface ISelector | |
virtual bool | IsSelector () const |
virtual void | GetSelectedFeatures (FeatureList_t &list) const |
virtual void | GetSelectingFeatures (FeatureList_t &) const |
Protected Member Functions | |
Interface IBase (methods are called by the BaseT class) | |
virtual EAccessMode | InternalGetAccessMode () const |
Get the access mode of the node. | |
virtual EInterfaceType | InternalGetPrincipalInterfaceType () const |
Implementation of IBase::GetPrincipalInterfaceType() | |
EAccessMode | InternalGetAccessMode (IBase *pValue) const |
Default implementation of GetAccessMode taking into account another node. | |
Interface INode (methods are called by the NodeT class) | |
virtual GENICAM_NAMESPACE::gcstring | InternalGetName (bool FullQualified=false) const |
Get node name. | |
virtual GENAPI_NAMESPACE::ENameSpace | InternalGetNameSpace () const |
Get name space. | |
virtual EVisibility | InternalGetVisibility () const |
Get the recommended visibility of the node. | |
virtual void | InternalInvalidateNode (std::list< CNodeCallback * > &CallbacksToFire) |
virtual bool | InternalIsCachable () const |
Is the node value cachable. | |
virtual ECachingMode | InternalGetCachingMode () const |
Get Caching Mode. | |
virtual int64_t | InternalGetPollingTime () const |
recommended polling time (for not cachable nodes) | |
virtual GENICAM_NAMESPACE::gcstring | InternalGetToolTip () const |
Get a short description of the node. | |
virtual GENICAM_NAMESPACE::gcstring | InternalGetDescription () const |
Get a long description of the node. | |
virtual GENICAM_NAMESPACE::gcstring | InternalGetDisplayName () const |
virtual GENICAM_NAMESPACE::gcstring | InternalGetDeviceName () const |
Get a name of the device. | |
virtual void | InternalGetChildren (GENAPI_NAMESPACE::NodeList_t &Children, ELinkType LinkType) const |
Get all children of the node. | |
virtual CallbackHandleType | InternalRegisterCallback (CNodeCallback *pCallback) |
Register change callback. | |
virtual bool | InternalDeregisterCallback (CallbackHandleType hCallback) |
Deregister change callback. | |
virtual INodeMap * | InternalGetNodeMap () const |
Retrieves the node map. | |
virtual GENICAM_NAMESPACE::gcstring | GetEventID () const |
Get the EventId of the node. | |
virtual bool | IsStreamable () const |
True if the node is streamable. | |
virtual void | GetParents (GENAPI_NAMESPACE::NodeList_t &Parents) const |
virtual void | GetPropertyNames (GENICAM_NAMESPACE::gcstring_vector &PropertyNames) const |
Returns a list of the names all properties set during initialization. | |
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 void | ImposeAccessMode (EAccessMode ImposedAccessMode) |
Imposes an access mode to the natural access mode of the node. | |
virtual void | ImposeVisibility (EVisibility ImposedVisibility) |
Imposes a visibility to the natural visibility of the node. | |
virtual INode * | GetAlias () const |
Retrieves the a node which describes the same feature in a different way. | |
virtual INode * | GetCastAlias () const |
Retrieves the a node which describes the same feature so that it can be casted. | |
virtual void | InternalCheckError () const |
Checks for an explicitly via the <pError> element defined error. | |
virtual GENICAM_NAMESPACE::gcstring | InternalGetDocuURL () const |
Gets a URL pointing to the documentation of that feature. | |
virtual bool | InternalIsDeprecated () const |
True if the node should not be used any more. | |
virtual bool | IsFeature () const |
True if the node can be reached via category nodes from a category node named "Std::Root". | |
virtual EYesNo | InternalIsAccessModeCacheable () const |
True if the AccessMode can be cached. | |
bool | IsAccessModeCached () const |
returns true, if the AccessModeCache is valid | |
Protected Attributes | |
EYesNo | m_ExposeStatic |
NodeID_t | m_NodeID |
The node's ID. | |
CNodeData::ENodeType_t | m_NodeTypeEnum |
UserData_t | m_pUserData |
Implementation of the node dependency handling | |
NodePrivateVector_t | m_Parents |
All nodes for which this node is at least a DependecyChild. | |
NodePrivateVector_t | m_ReadingChildren |
NodePrivateVector_t | m_WritingChildren |
NodePrivateVector_t | m_InvalidatingChildren |
NodePrivateVector_t | m_AllDependingNodes |
NodePrivateVector_t | m_AllTerminalNodes |
Implementation of the loggers | |
LOG4CPP_NS::Category * | m_pAccessLog |
Logger for messages concerning the AccessMode. | |
LOG4CPP_NS::Category * | m_pValueLog |
Logger for messages concerning the getting and setting values. | |
LOG4CPP_NS::Category * | m_pRangeLog |
Logger for messages concerning the range check. | |
LOG4CPP_NS::Category * | m_pPortLog |
Logger for messages concerning the port access. | |
LOG4CPP_NS::Category * | m_pCacheLog |
Logger for messages concerning the caching access. | |
LOG4CPP_NS::Category * | m_pPreProcLog |
Logger for things done during pre-processing of the node map, e.g. determining dependencies. | |
LOG4CPP_NS::Category * | m_pMiscLog |
Logger for messages concerning miscellaneous access which does not fit to the other categories. | |
Private Types | |
typedef char | char_t |
typedef std::ostringstream | ostringstream_t |
typedef std::string::size_type | size_type |
typedef std::string | string_t |
Private Member Functions | |
void | GetModelName (string_t &VariableContent) const |
void | GetNodeName (string_t &VariableContent) const |
void | GetNodeValue (const CValuePtr &ptrValue, CNodeImpl::string_t &VariableContent) const |
void | GetStandardNameSpace (string_t &VariableContent) const |
void | GetStringStreamContent (const ostringstream_t &Content, string_t &VariableContent) const |
void | GetVendorName (string_t &VariableContent) const |
UserData_t | GetUserData () const |
UserData_t | SetUserData (UserData_t userdata) |
Static Private Attributes | |
static const size_t | MaxPath |
Members properties and helpers | |
enum | ETerminalPropagationState { eNotVisited, eBeingVisited, eTerminalPropagationDone } |
States when propagating terminals. More... | |
GENICAM_NAMESPACE::gcstring | m_Name |
The name of the node. | |
GENICAM_NAMESPACE::gcstring | m_Extension |
The metadata from the extension. | |
ENameSpace | m_NameSpace |
The namespace of the node. | |
GENICAM_NAMESPACE::gcstring | m_DeviceName |
The device name of the node tree. | |
GENICAM_NAMESPACE::gcstring | m_DisplayName |
The display name string of the node. | |
GENICAM_NAMESPACE::gcstring | m_ToolTip |
The ToolTip for the node. | |
GENICAM_NAMESPACE::gcstring | m_Description |
The Description of the node. | |
EVisibility | m_Visibility |
recommended visibility; | |
CBooleanPolyRef | m_IsImplemented |
Reference to a Node, which indicates if the node is implemented. | |
CBooleanPolyRef | m_IsAvailable |
Reference to a Node, which indicates if the node is available. | |
CBooleanPolyRef | m_IsLocked |
Reference to a Node, which indicates if the node is locked (i.e. not writable) | |
CBooleanPolyRef | m_BlockPolling |
Reference to a Node, which indicates if the node is not cached. | |
IEnumeration * | m_pError |
Pointer to a Error class. | |
INode * | m_pAlias |
Pointer to a Node, which describes the same feature as this one. | |
INode * | m_pCastAlias |
Pointer to a Node, which describes the same feature as this one so that it can be casted. | |
ECachingMode | m_CachingMode |
indicates that the node has changed | |
FeatureList_t | m_Selected |
List of selected features. | |
FeatureList_t | m_Selecting |
List of selecting features. | |
GENICAM_NAMESPACE::gcstring | m_EventID |
The EventID. | |
EYesNo | m_IsStreamable |
indicates if the node is streamable | |
EAccessMode | m_ImposedAccessMode |
Access mode imposed on the natural access mode of the node. | |
EVisibility | m_ImposedVisibility |
Visibility imposed to the natural visibility of the node. | |
int64_t | m_PollingTime |
recommended polling time in [ms] | |
ETerminalPropagationState | m_propagationState |
Current state for propagating terminals. | |
NodeList_t | m_Invalidators |
List of references to nodes which may invalidate this node. | |
GENICAM_NAMESPACE::gcstring | m_DocuURL |
A URL pointing or the documentation of this featrues. | |
EYesNo | m_IsDeprecated |
indicates that the feature should not be used any more | |
GENICAM_NAMESPACE::gcstring_vector | m_PropertyNames |
Helper: A list of all properties belonging to this node. | |
EYesNo | m_IsFeature |
indicates that the node is a feature that is reachable from the Root node via categories | |
GENICAM_NAMESPACE::gcstring | GetNodeType () const |
Implementation of the cache | |
ECachingMode | m_CachingModeCache |
stores the cached value of the CachingMode | |
EAccessMode | m_AccessModeCache |
cache access mode | |
bool | m_ValueCacheValid |
true if the value cache is valid | |
bool | m_ListOfValidValuesCacheValid |
true if the list of valid value is cached | |
EYesNo | m_AccessModeCacheability |
indicates if the AccessMode is cacheable | |
void | CacheAccessModeIfPossible (EAccessMode AccessMode) const |
virtual bool | InternalIsValueCacheValid () const |
Checks if the value comes from cache or is requested from another node. | |
Implementation members and methods | |
typedef AutoLock | Lock |
shortcut for the lock type | |
INodeMapPrivate * | m_pNodeMap |
Pointer to the node map. | |
int64_t | m_ElapsedTime |
time elapsed since the last poll | |
bool | m_DontDeleteThisCache |
indicates that the cache has been filled and should not be cleared at the end of the operation | |
std::list< CNodeCallback * > | m_Callbacks |
List of callbacks. | |
CLock & | GetLock () const |
Acquire central lock. | |
Counter & | GetBathometer () const |
The bathometer is a counter used to measure the depth of SetValue-like call chains. | |
void | PreSetValue () |
Invalidates all nodes which will become affected by a SetValue call into the node tree. | |
void | PostSetValue (std::list< CNodeCallback * > &CallbacksToFire) |
Fires callback on all nodes which became affected by a SetValue call into the node tree. | |
GENICAM_NAMESPACE::gcstring | GetQualifiedName (GENICAM_NAMESPACE::gcstring Name, ENameSpace NameSpace) const |
Creates the full qualified name. |
Standard implementation for the INode and the ISelector interface.
typedef char GENAPI_NAMESPACE::CNodeImpl::char_t [private] |
typedef AutoLock GENAPI_NAMESPACE::CNodeImpl::Lock [protected] |
typedef std::ostringstream GENAPI_NAMESPACE::CNodeImpl::ostringstream_t [private] |
typedef std::string::size_type GENAPI_NAMESPACE::CNodeImpl::size_type [private] |
typedef std::string GENAPI_NAMESPACE::CNodeImpl::string_t [private] |
enum GENAPI_NAMESPACE::CNodeImpl::ETerminalPropagationState [protected] |
Constructor.
virtual GENAPI_NAMESPACE::CNodeImpl::~CNodeImpl | ( | ) | [virtual] |
Destructor.
void GENAPI_NAMESPACE::CNodeImpl::add_child | ( | CPropertyID::EProperty_ID_t | PropertyID, |
CProperty & | , | ||
INodePrivate * | pNode | ||
) | [inline] |
void GENAPI_NAMESPACE::CNodeImpl::add_orphan_child | ( | CPropertyID::EProperty_ID_t | PropertyID, |
CProperty & | , | ||
INodePrivate * | pNode | ||
) | [inline] |
void GENAPI_NAMESPACE::CNodeImpl::CacheAccessModeIfPossible | ( | EAccessMode | AccessMode | ) | const [inline, protected] |
virtual void GENAPI_NAMESPACE::CNodeImpl::CollectCallbacksToFire | ( | std::list< CNodeCallback * > & | CallbacksToFire, |
bool | allDependents = false |
||
) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeImpl::FinalConstruct | ( | ) | [virtual] |
Reimplemented in GENAPI_NAMESPACE::CSwissKnifeImpl, GENAPI_NAMESPACE::CIntSwissKnifeImpl, GENAPI_NAMESPACE::CBooleanImpl, GENAPI_NAMESPACE::CIntegerImpl, GENAPI_NAMESPACE::CEnumerationImpl, GENAPI_NAMESPACE::CTxtKeyImpl, GENAPI_NAMESPACE::CCategoryImpl, GENAPI_NAMESPACE::CRegisterImpl, GENAPI_NAMESPACE::CEnumEntryImpl, GENAPI_NAMESPACE::CIntKeyImpl, GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CIEEE1212ParserImpl, GENAPI_NAMESPACE::CMaskedIntRegImpl, and GENAPI_NAMESPACE::CStringNodeImpl.
virtual INode* GENAPI_NAMESPACE::CNodeImpl::GetAlias | ( | ) | const [protected, virtual] |
Retrieves the a node which describes the same feature in a different way.
Counter& GENAPI_NAMESPACE::CNodeImpl::GetBathometer | ( | ) | const [protected] |
The bathometer is a counter used to measure the depth of SetValue-like call chains.
virtual INode* GENAPI_NAMESPACE::CNodeImpl::GetCastAlias | ( | ) | const [protected, virtual] |
Retrieves the a node which describes the same feature so that it can be casted.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::GetEventID | ( | ) | const [protected, virtual] |
Get the EventId of the node.
Reimplemented in GENAPI_NAMESPACE::NodeT< CValueNodeImpl >, GENAPI_NAMESPACE::NodeT< CPortImplIntern >, GENAPI_NAMESPACE::NodeT< StringT< CTxtKeyImpl > >, GENAPI_NAMESPACE::NodeT< CIntegerImpl >, GENAPI_NAMESPACE::NodeT< IntegerT< CIntSwissKnifeImpl > >, GENAPI_NAMESPACE::NodeT< CIntRegImpl >, GENAPI_NAMESPACE::NodeT< FloatT< CSwissKnifeImpl > >, GENAPI_NAMESPACE::NodeT< IntegerT< RegisterT< CSmartFeatureImpl > > >, GENAPI_NAMESPACE::NodeT< IntegerT< CIntConverterImpl > >, GENAPI_NAMESPACE::NodeT< CBooleanImpl >, GENAPI_NAMESPACE::NodeT< FloatT< CConverterImpl > >, GENAPI_NAMESPACE::NodeT< StringT< CStringNodeImpl > >, GENAPI_NAMESPACE::NodeT< FloatT< CFloatImpl > >, GENAPI_NAMESPACE::NodeT< IntegerT< RegisterT< CMaskedIntRegImpl > > >, GENAPI_NAMESPACE::NodeT< CIEEE1212ParserImpl >, GENAPI_NAMESPACE::NodeT< IntegerT< CIntKeyImpl > >, GENAPI_NAMESPACE::NodeT< StringT< RegisterT< CStringRegisterImpl > > >, GENAPI_NAMESPACE::NodeT< CEnumerationImpl >, GENAPI_NAMESPACE::NodeT< CCategoryImpl >, GENAPI_NAMESPACE::NodeT< CFltRegImpl >, GENAPI_NAMESPACE::NodeT< CommandT< CCommandImpl > >, GENAPI_NAMESPACE::NodeT< RegisterT< ValueT< BaseT< CRegisterImpl > > > >, GENAPI_NAMESPACE::NodeT< CEnumEntryImpl >, and GENAPI_NAMESPACE::NodeT< IntegerT< CDcamAccessCtrlRegImpl > >.
CLock& GENAPI_NAMESPACE::CNodeImpl::GetLock | ( | ) | const [protected] |
Acquire central lock.
void GENAPI_NAMESPACE::CNodeImpl::GetModelName | ( | string_t & | VariableContent | ) | const [private] |
virtual NodeID_t GENAPI_NAMESPACE::CNodeImpl::GetNodeID | ( | ) | [virtual] |
void GENAPI_NAMESPACE::CNodeImpl::GetNodeName | ( | string_t & | VariableContent | ) | const [private] |
virtual CNodeData::ENodeType_t GENAPI_NAMESPACE::CNodeImpl::GetNodeType | ( | ) | [virtual] |
GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::GetNodeType | ( | ) | const [inline, protected] |
void GENAPI_NAMESPACE::CNodeImpl::GetNodeValue | ( | const CValuePtr & | ptrValue, |
CNodeImpl::string_t & | VariableContent | ||
) | const [private] |
virtual void GENAPI_NAMESPACE::CNodeImpl::GetParents | ( | GENAPI_NAMESPACE::NodeList_t & | Parents | ) | const [protected, virtual] |
virtual bool GENAPI_NAMESPACE::CNodeImpl::GetProperty | ( | const GENICAM_NAMESPACE::gcstring & | PropertyName, |
GENICAM_NAMESPACE::gcstring & | ValueStr, | ||
GENICAM_NAMESPACE::gcstring & | AttributeStr | ||
) | const [protected, virtual] |
Retrieves a property plus an additional attribute by name.
If a property has multiple values/attribute they come with Tabs as delimiters
virtual bool GENAPI_NAMESPACE::CNodeImpl::GetProperty | ( | CNodeDataMap * | pNodeDataMap, |
CPropertyID::EProperty_ID_t | PropertyID, | ||
CNodeData::PropertyVector_t & | PropertyList | ||
) | const [virtual] |
Reimplemented in GENAPI_NAMESPACE::CSwissKnifeImpl, GENAPI_NAMESPACE::CConverterImpl, GENAPI_NAMESPACE::CIntSwissKnifeImpl, GENAPI_NAMESPACE::CPortImplIntern, GENAPI_NAMESPACE::CFltRegImpl, GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, GENAPI_NAMESPACE::CFloatImpl, GENAPI_NAMESPACE::CRegisterImpl, GENAPI_NAMESPACE::CIntRegImpl, GENAPI_NAMESPACE::CIntConverterImpl, GENAPI_NAMESPACE::CSmartFeatureImpl, GENAPI_NAMESPACE::CIntegerImpl, GENAPI_NAMESPACE::CStringNodeImpl, GENAPI_NAMESPACE::CBooleanImpl, GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CCommandImpl, GENAPI_NAMESPACE::CEnumEntryImpl, GENAPI_NAMESPACE::CEnumerationImpl, GENAPI_NAMESPACE::CMaskedIntRegImpl, GENAPI_NAMESPACE::CTxtKeyImpl, GENAPI_NAMESPACE::CCategoryImpl, GENAPI_NAMESPACE::CIEEE1212ParserImpl, and GENAPI_NAMESPACE::CIntKeyImpl.
virtual void GENAPI_NAMESPACE::CNodeImpl::GetPropertyNames | ( | GENICAM_NAMESPACE::gcstring_vector & | PropertyNames | ) | const [protected, virtual] |
Returns a list of the names all properties set during initialization.
Reimplemented in GENAPI_NAMESPACE::NodeT< CValueNodeImpl >, GENAPI_NAMESPACE::NodeT< CPortImplIntern >, GENAPI_NAMESPACE::NodeT< StringT< CTxtKeyImpl > >, GENAPI_NAMESPACE::NodeT< CIntegerImpl >, GENAPI_NAMESPACE::NodeT< IntegerT< CIntSwissKnifeImpl > >, GENAPI_NAMESPACE::NodeT< CIntRegImpl >, GENAPI_NAMESPACE::NodeT< FloatT< CSwissKnifeImpl > >, GENAPI_NAMESPACE::NodeT< IntegerT< RegisterT< CSmartFeatureImpl > > >, GENAPI_NAMESPACE::NodeT< IntegerT< CIntConverterImpl > >, GENAPI_NAMESPACE::NodeT< CBooleanImpl >, GENAPI_NAMESPACE::NodeT< FloatT< CConverterImpl > >, GENAPI_NAMESPACE::NodeT< StringT< CStringNodeImpl > >, GENAPI_NAMESPACE::NodeT< FloatT< CFloatImpl > >, GENAPI_NAMESPACE::NodeT< IntegerT< RegisterT< CMaskedIntRegImpl > > >, GENAPI_NAMESPACE::NodeT< CIEEE1212ParserImpl >, GENAPI_NAMESPACE::NodeT< IntegerT< CIntKeyImpl > >, GENAPI_NAMESPACE::NodeT< StringT< RegisterT< CStringRegisterImpl > > >, GENAPI_NAMESPACE::NodeT< CEnumerationImpl >, GENAPI_NAMESPACE::NodeT< CCategoryImpl >, GENAPI_NAMESPACE::NodeT< CFltRegImpl >, GENAPI_NAMESPACE::NodeT< CommandT< CCommandImpl > >, GENAPI_NAMESPACE::NodeT< RegisterT< ValueT< BaseT< CRegisterImpl > > > >, GENAPI_NAMESPACE::NodeT< CEnumEntryImpl >, and GENAPI_NAMESPACE::NodeT< IntegerT< CDcamAccessCtrlRegImpl > >.
GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::GetQualifiedName | ( | GENICAM_NAMESPACE::gcstring | Name, |
ENameSpace | NameSpace | ||
) | const [protected] |
Creates the full qualified name.
virtual void GENAPI_NAMESPACE::CNodeImpl::GetSelectedFeatures | ( | FeatureList_t & | list | ) | const [virtual] |
virtual void GENAPI_NAMESPACE::CNodeImpl::GetSelectingFeatures | ( | FeatureList_t & | ) | const [virtual] |
void GENAPI_NAMESPACE::CNodeImpl::GetStandardNameSpace | ( | string_t & | VariableContent | ) | const [private] |
void GENAPI_NAMESPACE::CNodeImpl::GetStringStreamContent | ( | const ostringstream_t & | Content, |
string_t & | VariableContent | ||
) | const [private] |
virtual void GENAPI_NAMESPACE::CNodeImpl::GetTerminalNodes | ( | GENAPI_NAMESPACE::NodeList_t & | Terminals | ) | const [virtual] |
UserData_t GENAPI_NAMESPACE::CNodeImpl::GetUserData | ( | ) | const [private] |
void GENAPI_NAMESPACE::CNodeImpl::GetVendorName | ( | string_t & | VariableContent | ) | const [private] |
virtual void GENAPI_NAMESPACE::CNodeImpl::ImposeAccessMode | ( | EAccessMode | ImposedAccessMode | ) | [protected, virtual] |
Imposes an access mode to the natural access mode of the node.
virtual void GENAPI_NAMESPACE::CNodeImpl::ImposeVisibility | ( | EVisibility | ImposedVisibility | ) | [protected, virtual] |
Imposes a visibility to the natural visibility of the node.
virtual void GENAPI_NAMESPACE::CNodeImpl::Initialize | ( | GENAPI_NAMESPACE::INodeMapPrivate *const | pNodeMap, |
CNodeData::ENodeType_t | NodeType, | ||
NodeID_t & | NodeID | ||
) | [virtual] |
virtual void GENAPI_NAMESPACE::CNodeImpl::InternalCheckError | ( | ) | const [protected, virtual] |
Checks for an explicitly via the <pError> element defined error.
virtual bool GENAPI_NAMESPACE::CNodeImpl::InternalDeregisterCallback | ( | CallbackHandleType | hCallback | ) | [protected, virtual] |
Deregister change callback.
Destroys CNodeCallback object
virtual EAccessMode GENAPI_NAMESPACE::CNodeImpl::InternalGetAccessMode | ( | ) | const [protected, virtual] |
Get the access mode of the node.
Reimplemented in GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, GENAPI_NAMESPACE::CSmartFeatureImpl, GENAPI_NAMESPACE::CRegisterImpl, GENAPI_NAMESPACE::CConverterImpl, GENAPI_NAMESPACE::CIntConverterImpl, GENAPI_NAMESPACE::CCategoryImpl, GENAPI_NAMESPACE::CIntSwissKnifeImpl, GENAPI_NAMESPACE::CTxtKeyImpl, GENAPI_NAMESPACE::CPortImplIntern, GENAPI_NAMESPACE::CSwissKnifeImpl, GENAPI_NAMESPACE::CBooleanImpl, GENAPI_NAMESPACE::CEnumerationImpl, GENAPI_NAMESPACE::CCommandImpl, GENAPI_NAMESPACE::CIntegerImpl, GENAPI_NAMESPACE::CFloatImpl, GENAPI_NAMESPACE::CStringNodeImpl, GENAPI_NAMESPACE::CIntKeyImpl, and GENAPI_NAMESPACE::CEnumEntryImpl.
EAccessMode GENAPI_NAMESPACE::CNodeImpl::InternalGetAccessMode | ( | IBase * | pValue | ) | const [protected] |
Default implementation of GetAccessMode taking into account another node.
virtual ECachingMode GENAPI_NAMESPACE::CNodeImpl::InternalGetCachingMode | ( | ) | const [protected, virtual] |
virtual void GENAPI_NAMESPACE::CNodeImpl::InternalGetChildren | ( | GENAPI_NAMESPACE::NodeList_t & | Children, |
ELinkType | LinkType | ||
) | const [protected, virtual] |
Get all children of the node.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::InternalGetDescription | ( | ) | const [protected, virtual] |
Get a long description of the node.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::InternalGetDeviceName | ( | ) | const [protected, virtual] |
Get a name of the device.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::InternalGetDisplayName | ( | ) | const [protected, virtual] |
Reimplemented in GENAPI_NAMESPACE::CEnumEntryImpl.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::InternalGetDocuURL | ( | ) | const [protected, virtual] |
Gets a URL pointing to the documentation of that feature.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::InternalGetName | ( | bool | FullQualified = false | ) | const [protected, virtual] |
Get node name.
virtual GENAPI_NAMESPACE::ENameSpace GENAPI_NAMESPACE::CNodeImpl::InternalGetNameSpace | ( | ) | const [protected, virtual] |
Get name space.
virtual INodeMap* GENAPI_NAMESPACE::CNodeImpl::InternalGetNodeMap | ( | ) | const [protected, virtual] |
Retrieves the node map.
virtual int64_t GENAPI_NAMESPACE::CNodeImpl::InternalGetPollingTime | ( | ) | const [protected, virtual] |
recommended polling time (for not cachable nodes)
virtual EInterfaceType GENAPI_NAMESPACE::CNodeImpl::InternalGetPrincipalInterfaceType | ( | ) | const [inline, protected, virtual] |
Implementation of IBase::GetPrincipalInterfaceType()
Reimplemented in GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, GENAPI_NAMESPACE::CSmartFeatureImpl, GENAPI_NAMESPACE::CConverterImpl, GENAPI_NAMESPACE::CIntConverterImpl, GENAPI_NAMESPACE::CCategoryImpl, GENAPI_NAMESPACE::CTxtKeyImpl, GENAPI_NAMESPACE::CRegisterImpl, GENAPI_NAMESPACE::CPortImplIntern, GENAPI_NAMESPACE::CIEEE1212ParserImpl, GENAPI_NAMESPACE::CSwissKnifeImpl, GENAPI_NAMESPACE::CBooleanImpl, GENAPI_NAMESPACE::CCommandImpl, GENAPI_NAMESPACE::CEnumerationImpl, GENAPI_NAMESPACE::CIntegerImpl, GENAPI_NAMESPACE::CStringNodeImpl, GENAPI_NAMESPACE::CFloatImpl, GENAPI_NAMESPACE::CIntKeyImpl, GENAPI_NAMESPACE::CIntSwissKnifeImpl, GENAPI_NAMESPACE::CEnumEntryImpl, GENAPI_NAMESPACE::CIntRegImpl, GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CValueNodeImpl, GENAPI_NAMESPACE::CFltRegImpl, and GENAPI_NAMESPACE::CMaskedIntRegImpl.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CNodeImpl::InternalGetToolTip | ( | ) | const [protected, virtual] |
Get a short description of the node.
virtual EVisibility GENAPI_NAMESPACE::CNodeImpl::InternalGetVisibility | ( | ) | const [protected, virtual] |
Get the recommended visibility of the node.
virtual void GENAPI_NAMESPACE::CNodeImpl::InternalInvalidateNode | ( | std::list< CNodeCallback * > & | CallbacksToFire | ) | [protected, virtual] |
virtual EYesNo GENAPI_NAMESPACE::CNodeImpl::InternalIsAccessModeCacheable | ( | ) | const [protected, virtual] |
True if the AccessMode can be cached.
Reimplemented in GENAPI_NAMESPACE::CEnumerationImpl.
virtual bool GENAPI_NAMESPACE::CNodeImpl::InternalIsCachable | ( | ) | const [protected, virtual] |
Is the node value cachable.
virtual bool GENAPI_NAMESPACE::CNodeImpl::InternalIsDeprecated | ( | ) | const [protected, virtual] |
True if the node should not be used any more.
virtual bool GENAPI_NAMESPACE::CNodeImpl::InternalIsValueCacheValid | ( | ) | const [protected, virtual] |
Checks if the value comes from cache or is requested from another node.
Reimplemented in GENAPI_NAMESPACE::CEnumerationImpl, GENAPI_NAMESPACE::CStringNodeImpl, and GENAPI_NAMESPACE::CBooleanImpl.
virtual CallbackHandleType GENAPI_NAMESPACE::CNodeImpl::InternalRegisterCallback | ( | CNodeCallback * | pCallback | ) | [protected, virtual] |
Register change callback.
Takes ownership of the CNodeCallback object
bool GENAPI_NAMESPACE::CNodeImpl::IsAccessModeCached | ( | ) | const [inline, protected] |
virtual bool GENAPI_NAMESPACE::CNodeImpl::IsFeature | ( | ) | const [protected, virtual] |
True if the node can be reached via category nodes from a category node named "Std::Root".
virtual bool GENAPI_NAMESPACE::CNodeImpl::IsSelector | ( | ) | const [virtual] |
virtual bool GENAPI_NAMESPACE::CNodeImpl::IsStreamable | ( | ) | const [protected, virtual] |
True if the node is streamable.
virtual bool GENAPI_NAMESPACE::CNodeImpl::IsTerminalNode | ( | ) | const [virtual] |
Reimplemented in GENAPI_NAMESPACE::CIEEE1212ParserImpl.
virtual bool GENAPI_NAMESPACE::CNodeImpl::Poll | ( | int64_t | ElapsedTime | ) | [virtual] |
Reimplemented in GENAPI_NAMESPACE::CCommandImpl, and GENAPI_NAMESPACE::CEnumerationImpl.
void GENAPI_NAMESPACE::CNodeImpl::PostSetValue | ( | std::list< CNodeCallback * > & | CallbacksToFire | ) | [protected] |
Fires callback on all nodes which became affected by a SetValue call into the node tree.
void GENAPI_NAMESPACE::CNodeImpl::PreSetValue | ( | ) | [protected] |
Invalidates all nodes which will become affected by a SetValue call into the node tree.
virtual void GENAPI_NAMESPACE::CNodeImpl::SetInvalid | ( | ESetInvalidMode | simMode | ) | [virtual] |
void GENAPI_NAMESPACE::CNodeImpl::SetParent | ( | INodePrivate * | pParent | ) | [inline] |
virtual void GENAPI_NAMESPACE::CNodeImpl::SetProperty | ( | CProperty & | Property | ) | [virtual] |
Reimplemented in GENAPI_NAMESPACE::CSwissKnifeImpl, GENAPI_NAMESPACE::CConverterImpl, GENAPI_NAMESPACE::CIntSwissKnifeImpl, GENAPI_NAMESPACE::CPortImplIntern, GENAPI_NAMESPACE::CFltRegImpl, GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, GENAPI_NAMESPACE::CFloatImpl, GENAPI_NAMESPACE::CRegisterImpl, GENAPI_NAMESPACE::CIntRegImpl, GENAPI_NAMESPACE::CIntConverterImpl, GENAPI_NAMESPACE::CSmartFeatureImpl, GENAPI_NAMESPACE::CIntegerImpl, GENAPI_NAMESPACE::CStringNodeImpl, GENAPI_NAMESPACE::CBooleanImpl, GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CCommandImpl, GENAPI_NAMESPACE::CEnumEntryImpl, GENAPI_NAMESPACE::CEnumerationImpl, GENAPI_NAMESPACE::CMaskedIntRegImpl, GENAPI_NAMESPACE::CTxtKeyImpl, GENAPI_NAMESPACE::CCategoryImpl, GENAPI_NAMESPACE::CIEEE1212ParserImpl, and GENAPI_NAMESPACE::CIntKeyImpl.
UserData_t GENAPI_NAMESPACE::CNodeImpl::SetUserData | ( | UserData_t | userdata | ) | [private] |
EAccessMode GENAPI_NAMESPACE::CNodeImpl::m_AccessModeCache [mutable, protected] |
EYesNo GENAPI_NAMESPACE::CNodeImpl::m_AccessModeCacheability [mutable, protected] |
ECachingMode GENAPI_NAMESPACE::CNodeImpl::m_CachingMode [mutable, protected] |
ECachingMode GENAPI_NAMESPACE::CNodeImpl::m_CachingModeCache [mutable, protected] |
std::list<CNodeCallback*> GENAPI_NAMESPACE::CNodeImpl::m_Callbacks [protected] |
int64_t GENAPI_NAMESPACE::CNodeImpl::m_ElapsedTime [protected] |
EYesNo GENAPI_NAMESPACE::CNodeImpl::m_ExposeStatic [protected] |
EYesNo GENAPI_NAMESPACE::CNodeImpl::m_IsDeprecated [protected] |
EYesNo GENAPI_NAMESPACE::CNodeImpl::m_IsFeature [protected] |
EYesNo GENAPI_NAMESPACE::CNodeImpl::m_IsStreamable [protected] |
bool GENAPI_NAMESPACE::CNodeImpl::m_ListOfValidValuesCacheValid [mutable, protected] |
ENameSpace GENAPI_NAMESPACE::CNodeImpl::m_NameSpace [protected] |
NodeID_t GENAPI_NAMESPACE::CNodeImpl::m_NodeID [protected] |
CNodeData::ENodeType_t GENAPI_NAMESPACE::CNodeImpl::m_NodeTypeEnum [protected] |
INode* GENAPI_NAMESPACE::CNodeImpl::m_pAlias [protected] |
INode* GENAPI_NAMESPACE::CNodeImpl::m_pCastAlias [protected] |
IEnumeration* GENAPI_NAMESPACE::CNodeImpl::m_pError [protected] |
INodeMapPrivate* GENAPI_NAMESPACE::CNodeImpl::m_pNodeMap [protected] |
int64_t GENAPI_NAMESPACE::CNodeImpl::m_PollingTime [protected] |
GENICAM_NAMESPACE::gcstring_vector GENAPI_NAMESPACE::CNodeImpl::m_PropertyNames [protected] |
UserData_t GENAPI_NAMESPACE::CNodeImpl::m_pUserData [protected] |
FeatureList_t GENAPI_NAMESPACE::CNodeImpl::m_Selected [protected] |
FeatureList_t GENAPI_NAMESPACE::CNodeImpl::m_Selecting [protected] |
bool GENAPI_NAMESPACE::CNodeImpl::m_ValueCacheValid [mutable, protected] |
EVisibility GENAPI_NAMESPACE::CNodeImpl::m_Visibility [protected] |
const size_t GENAPI_NAMESPACE::CNodeImpl::MaxPath [static, private] |