Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
GENAPI_NAMESPACE::CIntConverterImpl Class Reference

IInteger implementation with integrated conversion. More...

#include <IntConverter.h>

Inheritance diagram for GENAPI_NAMESPACE::CIntConverterImpl:
Inheritance graph
[legend]

Public Member Functions

void CheckIncreasing ()
 
 CIntConverterImpl ()
 Constructor. More...
 
virtual bool GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
 
virtual void SetProperty (CProperty &Property)
 
- Public Member Functions inherited from GENAPI_NAMESPACE::CNodeImpl
void add_child (CPropertyID::EProperty_ID_t PropertyID, CProperty &, INodePrivate *pNode)
 
void add_orphan_child (CPropertyID::EProperty_ID_t PropertyID, CProperty &, INodePrivate *pNode)
 
INodeMapPrivateGetNodeMapPrivate ()
 Retrieves the INodeMapPrivate interface. More...
 
void SetParent (INodePrivate *pParent)
 Sets a parent : CAVE : for internal use only... More...
 
 CNodeImpl ()
 Constructor. More...
 
virtual ~CNodeImpl ()
 Destructor. More...
 
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 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)
 
virtual bool IsSelector () const
 
virtual void GetSelectedFeatures (FeatureList_t &list) const
 
virtual void GetSelectingFeatures (FeatureList_t &) const
 

Protected Member Functions

virtual EAccessMode InternalGetAccessMode () const
 Get the access mode of the node. More...
 
virtual ECachingMode InternalGetCachingMode () const
 Get Caching Mode. More...
 
virtual int64_t InternalGetInc ()
 
const int64_autovector_t InternalGetListOfValidValues ()
 Get list of valid value. More...
 
virtual int64_t InternalGetMax ()
 
virtual int64_t InternalGetMin ()
 
virtual EInterfaceType InternalGetPrincipalInterfaceType () const
 Implementation of IBase::GetPrincipalInterfaceType() More...
 
virtual ERepresentation InternalGetRepresentation () const
 
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit ()
 Get the unit. More...
 
virtual int64_t InternalGetValue (bool Verify=false, bool IgnoreCache=false)
 
virtual void InternalSetValue (int64_t Value, bool Verify=true)
 
- Protected Member Functions inherited from GENAPI_NAMESPACE::CNodeImpl
EAccessMode InternalGetAccessMode (IBase *pValue) const
 Default implementation of GetAccessMode taking into account another node. More...
 
virtual GENICAM_NAMESPACE::gcstring InternalGetName (bool FullQualified=false) const
 Get node name. More...
 
virtual GENAPI_NAMESPACE::ENameSpace InternalGetNameSpace () const
 Get name space. More...
 
virtual EVisibility InternalGetVisibility () const
 Get the recommended visibility of the node. More...
 
virtual void InternalInvalidateNode (std::list< CNodeCallback * > &CallbacksToFire)
 
virtual bool InternalIsCachable () const
 Is the node value cachable. More...
 
virtual int64_t InternalGetPollingTime () const
 recommended polling time (for not cachable nodes) More...
 
virtual GENICAM_NAMESPACE::gcstring InternalGetToolTip () const
 Get a short description of the node. More...
 
virtual GENICAM_NAMESPACE::gcstring InternalGetDescription () const
 Get a long description of the node. More...
 
virtual GENICAM_NAMESPACE::gcstring InternalGetDisplayName () const
 
virtual GENICAM_NAMESPACE::gcstring InternalGetDeviceName () const
 Get a name of the device. More...
 
virtual void InternalGetChildren (GENAPI_NAMESPACE::NodeList_t &Children, ELinkType LinkType) const
 Get all children of the node. More...
 
virtual CallbackHandleType InternalRegisterCallback (CNodeCallback *pCallback)
 Register change callback. More...
 
virtual bool InternalDeregisterCallback (CallbackHandleType hCallback)
 Deregister change callback. More...
 
virtual INodeMapInternalGetNodeMap () const
 Retrieves the node map. More...
 
virtual GENICAM_NAMESPACE::gcstring GetEventID () const
 Get the EventId of the node. More...
 
virtual bool IsStreamable () const
 True if the node is streamable. More...
 
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. More...
 
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. More...
 
virtual void ImposeAccessMode (EAccessMode ImposedAccessMode)
 Imposes an access mode to the natural access mode of the node. More...
 
virtual void ImposeVisibility (EVisibility ImposedVisibility)
 Imposes a visibility to the natural visibility of the node. More...
 
virtual INodeGetAlias () const
 Retrieves the a node which describes the same feature in a different way. More...
 
virtual INodeGetCastAlias () const
 Retrieves the a node which describes the same feature so that it can be casted. More...
 
virtual void InternalCheckError () const
 Checks for an explicitly via the <pError> element defined error. More...
 
virtual GENICAM_NAMESPACE::gcstring InternalGetDocuURL () const
 Gets a URL pointing to the documentation of that feature. More...
 
virtual bool InternalIsDeprecated () const
 True if the node should not be used any more. More...
 
virtual bool IsFeature () const
 True if the node can be reached via category nodes from a category node named "Std::Root". More...
 
virtual EYesNo InternalIsAccessModeCacheable () const
 True if the AccessMode can be cached. More...
 
bool IsAccessModeCached () const
 returns true, if the AccessModeCache is valid More...
 
GENICAM_NAMESPACE::gcstring GetNodeType () const
 
CLockGetLock () const
 Acquire central lock. More...
 
CounterGetBathometer () const
 The bathometer is a counter used to measure the depth of SetValue-like call chains. More...
 
void PreSetValue ()
 Invalidates all nodes which will become affected by a SetValue call into the node tree. More...
 
void PostSetValue (std::list< CNodeCallback * > &CallbacksToFire)
 Fires callback on all nodes which became affected by a SetValue call into the node tree. More...
 
GENICAM_NAMESPACE::gcstring GetQualifiedName (GENICAM_NAMESPACE::gcstring Name, ENameSpace NameSpace) const
 Creates the full qualified name. More...
 
void CacheAccessModeIfPossible (EAccessMode AccessMode) const
 
virtual bool InternalIsValueCacheValid () const
 Checks if the value comes from cache or is requested from another node. More...
 

Private Member Functions

bool IsMaxUninitialized () const
 Checks if <Max> has ben set. More...
 
bool IsMinUninititialized () const
 Checks if <Min> has ben set. More...
 

Private Attributes

GENICAM_NAMESPACE::gcstring m_FormulaFrom
 The SwissKnife formula for Get. More...
 
GENICAM_NAMESPACE::gcstring m_FormulaTo
 The SwissKnife formula for Set. More...
 
GENICAM_NAMESPACE::gcstring m_InputName
 The Name of the external Variable. More...
 
CIntegerPolyRef m_pConvertFrom
 The Swiss Knife for Get. More...
 
CIntegerPolyRef m_pConvertTo
 The Swiss Knife for Set. More...
 
ERepresentation m_Representation
 recommended representation of the value More...
 
ESlope m_Slope
 indicates if the formula is strictly monotonous increasing or decreating More...
 
GENICAM_NAMESPACE::gcstring m_Unit
 the physical unit name More...
 
CIntegerPolyRef m_Value
 Refeerence to the value. More...
 

Additional Inherited Members

- Protected Types inherited from GENAPI_NAMESPACE::CNodeImpl
enum  ETerminalPropagationState { eNotVisited, eBeingVisited, eTerminalPropagationDone }
 States when propagating terminals. More...
 
typedef AutoLock Lock
 shortcut for the lock type More...
 
- Protected Attributes inherited from GENAPI_NAMESPACE::CNodeImpl
EYesNo m_ExposeStatic
 
NodeID_t m_NodeID
 The node's ID. More...
 
CNodeData::ENodeType_t m_NodeTypeEnum
 
UserData_t m_pUserData
 Storage of user defined data. More...
 
NodePrivateVector_t m_Parents
 All nodes for which this node is at least a DependecyChild. More...
 
NodePrivateVector_t m_ReadingChildren
 all nodes which can be read from For details see GenICam wiki : GenApi/SoftwareArchitecture/NodeDependencies More...
 
NodePrivateVector_t m_WritingChildren
 all nodes which can write a value further down the node stack For details see GenICam wiki : GenApi/SoftwareArchitecture/NodeDependencies More...
 
NodePrivateVector_t m_InvalidatingChildren
 All directly connected nodes which invalidate this node For details see GenICam wiki : GenApi/SoftwareArchitecture/NodeDependencies. More...
 
NodePrivateVector_t m_AllDependingNodes
 All directly or indirectly connected nodes which are invalidated by this nodes (i.e. More...
 
NodePrivateVector_t m_AllTerminalNodes
 All indirectly connected terminal nodes For details see GenICam wiki : GenApi/SoftwareArchitecture/NodeDependencies. More...
 
NodePrivateVector_t m_VariableChildren
 All node use as variable by this node. More...
 
LOG4CPP_NS::Categorym_pAccessLog
 Logger for messages concerning the AccessMode. More...
 
LOG4CPP_NS::Categorym_pValueLog
 Logger for messages concerning the getting and setting values. More...
 
LOG4CPP_NS::Categorym_pRangeLog
 Logger for messages concerning the range check. More...
 
LOG4CPP_NS::Categorym_pPortLog
 Logger for messages concerning the port access. More...
 
LOG4CPP_NS::Categorym_pCacheLog
 Logger for messages concerning the caching access. More...
 
LOG4CPP_NS::Categorym_pPreProcLog
 Logger for things done during pre-processing of the node map, e.g. determining dependencies. More...
 
LOG4CPP_NS::Categorym_pMiscLog
 Logger for messages concerning miscellaneous access which does not fit to the other categories. More...
 
GENICAM_NAMESPACE::gcstring m_Name
 The name of the node. More...
 
GENICAM_NAMESPACE::gcstring m_Extension
 The metadata from the extension. More...
 
ENameSpace m_NameSpace
 The namespace of the node. More...
 
GENICAM_NAMESPACE::gcstring m_DeviceName
 The device name of the node tree. More...
 
GENICAM_NAMESPACE::gcstring m_DisplayName
 The display name string of the node. More...
 
GENICAM_NAMESPACE::gcstring m_ToolTip
 The ToolTip for the node. More...
 
GENICAM_NAMESPACE::gcstring m_Description
 The Description of the node. More...
 
EVisibility m_Visibility
 recommended visibility; More...
 
CBooleanPolyRef m_IsImplemented
 Reference to a Node, which indicates if the node is implemented. More...
 
CBooleanPolyRef m_IsAvailable
 Reference to a Node, which indicates if the node is available. More...
 
CBooleanPolyRef m_IsLocked
 Reference to a Node, which indicates if the node is locked (i.e. not writable) More...
 
CBooleanPolyRef m_BlockPolling
 Reference to a Node, which indicates if the node is not cached. More...
 
IEnumerationm_pError
 Pointer to a Error class. More...
 
INodem_pAlias
 Pointer to a Node, which describes the same feature as this one. More...
 
INodem_pCastAlias
 Pointer to a Node, which describes the same feature as this one so that it can be casted. More...
 
ECachingMode m_CachingMode
 indicates that the node has changed More...
 
FeatureList_t m_Selected
 List of selected features. More...
 
FeatureList_t m_Selecting
 List of selecting features. More...
 
GENICAM_NAMESPACE::gcstring m_EventID
 The EventID. More...
 
EYesNo m_IsStreamable
 indicates if the node is streamable More...
 
EAccessMode m_ImposedAccessMode
 Access mode imposed on the natural access mode of the node. More...
 
EVisibility m_ImposedVisibility
 Visibility imposed to the natural visibility of the node. More...
 
int64_t m_PollingTime
 recommended polling time in [ms] More...
 
ETerminalPropagationState m_propagationState
 Current state for propagating terminals. More...
 
NodeList_t m_Invalidators
 List of references to nodes which may invalidate this node. More...
 
GENICAM_NAMESPACE::gcstring m_DocuURL
 A URL pointing or the documentation of this featrues. More...
 
EYesNo m_IsDeprecated
 indicates that the feature should not be used any more More...
 
GENICAM_NAMESPACE::gcstring_vector m_PropertyNames
 Helper: A list of all properties belonging to this node. More...
 
EYesNo m_IsFeature
 indicates that the node is a feature that is reachable from the Root node via categories More...
 
INodeMapPrivatem_pNodeMap
 Pointer to the node map. More...
 
int64_t m_ElapsedTime
 time elapsed since the last poll More...
 
bool m_DontDeleteThisCache
 indicates that the cache has been filled and should not be cleared at the end of the operation More...
 
std::list< CNodeCallback * > m_Callbacks
 List of callbacks. More...
 
ECachingMode m_CachingModeCache
 stores the cached value of the CachingMode More...
 
EAccessMode m_AccessModeCache
 cache access mode More...
 
bool m_ValueCacheValid
 true if the value cache is valid More...
 
bool m_ListOfValidValuesCacheValid
 true if the list of valid value is cached More...
 
EYesNo m_AccessModeCacheability
 indicates if the AccessMode is cacheable More...
 

Detailed Description

IInteger implementation with integrated conversion.

Works like a Integer, but has integrated conversion formulas by which the values are converted before writing and after reading.

The Representation may be defined using one of the values in ERepresentation. The default is _UndefinedRepresentation.

Definition at line 59 of file IntConverter.h.

Constructor & Destructor Documentation

GENAPI_NAMESPACE::CIntConverterImpl::CIntConverterImpl ( )

Constructor.

Member Function Documentation

void GENAPI_NAMESPACE::CIntConverterImpl::CheckIncreasing ( )
virtual bool GENAPI_NAMESPACE::CIntConverterImpl::GetProperty ( CNodeDataMap *  pNodeDataMap,
CPropertyID::EProperty_ID_t  PropertyID,
CNodeData::PropertyVector_t &  PropertyList 
) const
virtual

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

virtual EAccessMode GENAPI_NAMESPACE::CIntConverterImpl::InternalGetAccessMode ( ) const
protectedvirtual

Get the access mode of the node.

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

virtual ECachingMode GENAPI_NAMESPACE::CIntConverterImpl::InternalGetCachingMode ( ) const
protectedvirtual

Get Caching Mode.

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetInc ( )
protectedvirtual
const int64_autovector_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetListOfValidValues ( )
protected

Get list of valid value.

virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetMax ( )
protectedvirtual
virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetMin ( )
protectedvirtual
virtual EInterfaceType GENAPI_NAMESPACE::CIntConverterImpl::InternalGetPrincipalInterfaceType ( ) const
inlineprotectedvirtual

Implementation of IBase::GetPrincipalInterfaceType()

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Definition at line 102 of file IntConverter.h.

virtual ERepresentation GENAPI_NAMESPACE::CIntConverterImpl::InternalGetRepresentation ( ) const
inlineprotectedvirtual

Definition at line 89 of file IntConverter.h.

virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CIntConverterImpl::InternalGetUnit ( )
inlineprotectedvirtual

Get the unit.

Definition at line 108 of file IntConverter.h.

virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetValue ( bool  Verify = false,
bool  IgnoreCache = false 
)
protectedvirtual
virtual void GENAPI_NAMESPACE::CIntConverterImpl::InternalSetValue ( int64_t  Value,
bool  Verify = true 
)
protectedvirtual
bool GENAPI_NAMESPACE::CIntConverterImpl::IsMaxUninitialized ( ) const
private

Checks if <Max> has ben set.

bool GENAPI_NAMESPACE::CIntConverterImpl::IsMinUninititialized ( ) const
private

Checks if <Min> has ben set.

virtual void GENAPI_NAMESPACE::CIntConverterImpl::SetProperty ( CProperty &  Property)
virtual

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Member Data Documentation

GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CIntConverterImpl::m_FormulaFrom
private

The SwissKnife formula for Get.

Definition at line 147 of file IntConverter.h.

GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CIntConverterImpl::m_FormulaTo
private

The SwissKnife formula for Set.

Definition at line 144 of file IntConverter.h.

GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CIntConverterImpl::m_InputName
private

The Name of the external Variable.

Definition at line 150 of file IntConverter.h.

CIntegerPolyRef GENAPI_NAMESPACE::CIntConverterImpl::m_pConvertFrom
private

The Swiss Knife for Get.

Definition at line 156 of file IntConverter.h.

CIntegerPolyRef GENAPI_NAMESPACE::CIntConverterImpl::m_pConvertTo
private

The Swiss Knife for Set.

Definition at line 153 of file IntConverter.h.

ERepresentation GENAPI_NAMESPACE::CIntConverterImpl::m_Representation
mutableprivate

recommended representation of the value

Definition at line 162 of file IntConverter.h.

ESlope GENAPI_NAMESPACE::CIntConverterImpl::m_Slope
private

indicates if the formula is strictly monotonous increasing or decreating

Definition at line 168 of file IntConverter.h.

GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CIntConverterImpl::m_Unit
private

the physical unit name

Definition at line 165 of file IntConverter.h.

CIntegerPolyRef GENAPI_NAMESPACE::CIntConverterImpl::m_Value
private

Refeerence to the value.

Definition at line 159 of file IntConverter.h.


The documentation for this class was generated from the following file:


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 19:10:55