implements the IntReg node More...
#include <IntReg.h>
Additional Inherited Members | |
Public Member Functions inherited from GENAPI_NAMESPACE::BaseT< ValueT< IntegerT< RegisterT< NodeT< CIntRegImpl > > > > > | |
virtual EAccessMode | GetAccessMode () const |
Implementation of IBase::GetAccessMode() More... | |
Public Member Functions inherited from GENAPI_NAMESPACE::ValueT< IntegerT< RegisterT< NodeT< CIntRegImpl > > > > | |
virtual void | FromString (const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true) |
Implementation of IValue::FromString() More... | |
virtual bool | IsValueCacheValid () const |
Checks if the value comes from cache or is requested from another node. More... | |
virtual GENICAM_NAMESPACE::gcstring | ToString (bool Verify=false, bool IgnoreCache=false) |
Implementation of IValue::ToString() More... | |
Public Member Functions inherited from GENAPI_NAMESPACE::IntegerT< RegisterT< NodeT< CIntRegImpl > > > | |
virtual int64_t | GetInc () |
Implementation of IInteger::GetInc() More... | |
virtual EIncMode | GetIncMode () |
Implementation of IInteger::GetIncMode. More... | |
virtual int64_autovector_t | GetListOfValidValues (bool bounded=true) |
Implementation of IInteger::GetListOfValidValues. More... | |
virtual int64_t | GetMax () |
Implementation of IInteger::GetMax() More... | |
virtual int64_t | GetMin () |
Implementation of IInteger::GetMin() More... | |
virtual ERepresentation | GetRepresentation () |
Implementation of IInteger::GetRepresentation. More... | |
virtual GENICAM_NAMESPACE::gcstring | GetUnit () |
Implementation of IInteger::GetUnit() More... | |
virtual int64_t | GetValue (bool Verify=false, bool IgnoreCache=false) |
Implementation of IInteger::GetValue() More... | |
virtual void | ImposeMax (int64_t Value) |
Restrict maximum value. More... | |
virtual void | ImposeMin (int64_t Value) |
Restrict minimum value. More... | |
IntegerT () | |
Constructor. More... | |
void | InternalFromString (const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true) |
GENICAM_NAMESPACE::gcstring | InternalToString (bool Verify=false, bool IgnoreCache=false) |
virtual int64_t | operator() () |
Implementation of IInteger::operator()() More... | |
virtual int64_t | operator* () |
Implementation of IInteger::operator*() More... | |
virtual IInteger & | operator= (int64_t Value) |
Implementation of IInteger::operator=() More... | |
virtual void | SetValue (int64_t Value, bool Verify=true) |
Implementation of IInteger::SetValue. More... | |
Public Member Functions inherited from GENAPI_NAMESPACE::RegisterT< NodeT< CIntRegImpl > > | |
virtual void | Get (uint8_t *pBuffer, int64_t Length, bool Verify=false, bool IgnoreCache=false) |
Implementation of IRegister::Get() More... | |
virtual int64_t | GetAddress () |
Retrieves the Address of the register. More... | |
virtual int64_t | GetLength () |
Implementation of IRegister::GetLength() More... | |
virtual void | Set (const uint8_t *pBuffer, int64_t Length, bool Verify=true) |
Implementation of IRegister::Set() More... | |
Public Member Functions inherited from GENAPI_NAMESPACE::NodeT< CIntRegImpl > | |
virtual bool | DeregisterCallback (CallbackHandleType hCallback) |
Implementation of INode::DeregisterCallback() More... | |
virtual ECachingMode | GetCachingMode () const |
Implementation of INode::GetCachingMode. More... | |
virtual void | GetChildren (NodeList_t &Children, ELinkType LinkType) const |
Implementation of INode::GetChildren() More... | |
virtual GENICAM_NAMESPACE::gcstring | GetDescription () const |
Implementation of INode::GetDescription() More... | |
virtual GENICAM_NAMESPACE::gcstring | GetDeviceName () const |
Implementation of INode::GetDeviceName. More... | |
virtual GENICAM_NAMESPACE::gcstring | GetDisplayName () const |
Implementation of INode::GetDisplayName. More... | |
virtual GENICAM_NAMESPACE::gcstring | GetDocuURL () const |
Gets a URL pointing to the documentation of that feature. More... | |
virtual GENICAM_NAMESPACE::gcstring | GetEventID () const |
Implementation of INode::GetNodeMap() More... | |
virtual GENICAM_NAMESPACE::gcstring | GetName (bool FullQualified) const |
Implementation of INode::GetName() More... | |
virtual GENAPI_NAMESPACE::ENameSpace | GetNameSpace () const |
Implementation of INode::GetNameSpace() More... | |
virtual INodeMap * | GetNodeMap () const |
Implementation of INode::GetNodeMap() More... | |
virtual int64_t | GetPollingTime () const |
Implementation of INode::GetPollingTime() More... | |
virtual EInterfaceType | GetPrincipalInterfaceType () const |
Implementation of IBase::GetPrincipalInterfaceType() More... | |
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. More... | |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) |
virtual void | GetPropertyNames (GENICAM_NAMESPACE::gcstring_vector &PropertyNames) const |
Returns a list of the names all properties set during initialization. More... | |
virtual GENICAM_NAMESPACE::gcstring | GetToolTip () const |
Implementation of INode::GetToolTip() More... | |
virtual EVisibility | GetVisibility () const |
Implementation of INode::GetVisibility() More... | |
virtual void | InvalidateNode () |
Implementation of INode::InvalidateNode() More... | |
virtual EYesNo | IsAccessModeCacheable () const |
True if the AccessMode can be cached. More... | |
virtual bool | IsCachable () const |
Implementation of INode::IsCachable() More... | |
virtual bool | IsDeprecated () const |
True if the node should not be used any more. More... | |
virtual CallbackHandleType | RegisterCallback (CNodeCallback *pCallback) |
Implementation of INode::RegisterCallback() More... | |
Public Member Functions inherited from GENAPI_NAMESPACE::CIntRegImpl | |
CIntRegImpl () | |
Constructor. More... | |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const |
virtual EInterfaceType | InternalGetPrincipalInterfaceType () const |
Implementation of IBase::GetPrincipalInterfaceType() More... | |
virtual void | SetProperty (CProperty &Property) |
Public Member Functions inherited from GENAPI_NAMESPACE::CRegisterImpl | |
CRegisterImpl () | |
Default Contructor. More... | |
virtual void | FinalConstruct () |
finalizes the construction of the node More... | |
virtual void | SetInvalid (INodePrivate::ESetInvalidMode simMode) |
Initializes the object. More... | |
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) |
INodeMapPrivate * | GetNodeMapPrivate () |
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 | 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 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 Member Functions inherited from GENAPI_NAMESPACE::CIntRegImpl | |
virtual int64_t | InternalGetInc () const |
Get increment. More... | |
virtual int64_t | InternalGetLength () |
Retrieves the Length of the register [Bytes]. More... | |
virtual const int64_autovector_t | InternalGetListOfValidValues () |
Get list of valid value. More... | |
virtual int64_t | InternalGetMax () const |
Get maximum value allowed. More... | |
virtual int64_t | InternalGetMin () const |
Get minimum value allowed. More... | |
virtual ERepresentation | InternalGetRepresentation () const |
Get recommended representation. More... | |
virtual GENICAM_NAMESPACE::gcstring | InternalGetUnit () |
Get the unit. More... | |
virtual int64_t | InternalGetValue (bool Verify=false, bool IgnoreCache=false) |
Get feature value. More... | |
virtual void | InternalSetValue (int64_t Value, bool Verify=true) |
Set feature value. More... | |
void | ReadReg (uint8_t *ValueBytes, bool Verify=false, bool IgnoreCache=false) |
helpers to handle the register access incl. swapping More... | |
virtual void | SetInvalid (ESetInvalidMode simMode) |
void | UpdateMasks () const |
pre-computes some masks More... | |
void | WriteReg (uint8_t *ValueBytes, bool Verify=true) |
helpers to handle the register access incl. swapping More... | |
Protected Member Functions inherited from GENAPI_NAMESPACE::CRegisterImpl | |
virtual void | InternalGet (uint8_t *ppBuffer, int64_t pLength, bool Verify=false, bool IgnoreCache=false) |
Retrieves a pointer to a buffer containing the register's contents. More... | |
virtual EAccessMode | InternalGetAccessMode () const |
Get the access mode of the node. More... | |
virtual int64_t | InternalGetAddress (bool Verify, bool IgnoreCache) |
Retrieves the Address of the register. More... | |
virtual ECachingMode | InternalGetCachingMode () const |
Get Caching Mode. More... | |
virtual void | InternalSet (const uint8_t *pBuffer, int64_t Length, bool Verify=true) |
Set the register's contents. More... | |
void | UpdateAddress (bool Verify, bool IgnoreCache) |
Recomputes the Address. More... | |
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 INodeMap * | InternalGetNodeMap () const |
Retrieves the node map. More... | |
virtual bool | IsStreamable () const |
True if the node is streamable. More... | |
virtual void | GetParents (GENAPI_NAMESPACE::NodeList_t &Parents) const |
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 INode * | GetAlias () const |
Retrieves the a node which describes the same feature in a different way. More... | |
virtual INode * | GetCastAlias () 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 |
CLock & | GetLock () const |
Acquire central lock. More... | |
Counter & | GetBathometer () 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... | |
Protected Attributes inherited from GENAPI_NAMESPACE::IntegerT< RegisterT< NodeT< CIntRegImpl > > > | |
int64_autovector_impl | m_CurentValidValueSet |
The cached list of valie value for the integer. More... | |
int64_t | m_ImposedMax |
a Value imposed to the maximum More... | |
int64_t | m_ImposedMin |
a Value imposed to the minimum More... | |
int64_t | m_ValueCache |
The cache for the integer value. More... | |
Protected Attributes inherited from GENAPI_NAMESPACE::CIntRegImpl | |
EEndianess | m_Endianess |
endianess of the register More... | |
bool | m_MasksAreValid |
if true the masks are valid More... | |
int64_t | m_Max |
maximum value to be stored in the Register More... | |
int64_t | m_Min |
minimum value to be stored in the Register More... | |
ERepresentation | m_Representation |
representation of the integer More... | |
ESign | m_Sign |
sign of the integer More... | |
uint64_t | m_SignBit |
The bit indicating the sign of the number to be retrievend. More... | |
uint64_t | m_SignMask |
The bit to be set to -1 if the number is negative. More... | |
GENICAM_NAMESPACE::gcstring | m_Unit |
the physical unit name More... | |
Protected Attributes inherited from GENAPI_NAMESPACE::CRegisterImpl | |
EAccessMode | m_AccessMode |
the access mode More... | |
int64_t | m_Address |
Address of the register. More... | |
std::list< CIntegerPolyRef > | m_Addresses |
List of Addresses or pointer to address supplying nodes. More... | |
int64_t | m_AddressValid |
TRue if m_Address is valid. More... | |
std::list< CIntegerOffsetPolyRef > | m_Indexes |
List of Indexes or pointer to address supplying nodes. More... | |
CIntegerPolyRef | m_Length |
Length of the register. More... | |
CPort * | m_pPort |
pointer to Port node providing access to the port 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::Category * | m_pAccessLog |
Logger for messages concerning the AccessMode. More... | |
LOG4CPP_NS::Category * | m_pValueLog |
Logger for messages concerning the getting and setting values. More... | |
LOG4CPP_NS::Category * | m_pRangeLog |
Logger for messages concerning the range check. More... | |
LOG4CPP_NS::Category * | m_pPortLog |
Logger for messages concerning the port access. More... | |
LOG4CPP_NS::Category * | m_pCacheLog |
Logger for messages concerning the caching access. More... | |
LOG4CPP_NS::Category * | m_pPreProcLog |
Logger for things done during pre-processing of the node map, e.g. determining dependencies. More... | |
LOG4CPP_NS::Category * | m_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... | |
IEnumeration * | m_pError |
Pointer to a Error class. More... | |
INode * | m_pAlias |
Pointer to a Node, which describes the same feature as this one. More... | |
INode * | m_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... | |
INodeMapPrivate * | m_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... | |