Standard IRegister implementation Provides a chunk of memory which acts as a proxy to the register. More...
#include <Register.h>
Public Member Functions | |
CRegisterImpl () | |
Default Contructor. | |
virtual void | FinalConstruct () |
finalizes the construction of the node | |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const |
virtual EInterfaceType | InternalGetPrincipalInterfaceType () const |
Implementation of IBase::GetPrincipalInterfaceType() | |
virtual void | SetInvalid (INodePrivate::ESetInvalidMode simMode) |
Initializes the object. | |
virtual void | SetProperty (CProperty &Property) |
Protected Member Functions | |
virtual void | InternalFromString (const GENICAM_NAMESPACE::gcstring &valueString, bool Verify=true) |
Set value of the node as string. | |
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. | |
virtual EAccessMode | InternalGetAccessMode () const |
Get the access mode of the node. | |
virtual int64_t | InternalGetAddress (bool Verify, bool IgnoreCache) |
Retrieves the Address of the register. | |
virtual ECachingMode | InternalGetCachingMode () const |
Get Caching Mode. | |
virtual int64_t | InternalGetLength () |
Retrieves the Length of the register [Bytes]. | |
virtual void | InternalSet (const uint8_t *pBuffer, int64_t Length, bool Verify=true) |
Set the register's contents. | |
virtual GENICAM_NAMESPACE::gcstring | InternalToString (bool Verify=false, bool IgnoreCache=false) |
Implements interface IValue (called by IValueT) | |
void | UpdateAddress (bool Verify, bool IgnoreCache) |
Recomputes the Address. | |
Protected Attributes | |
EAccessMode | m_AccessMode |
the access mode | |
int64_t | m_Address |
Address of the register. | |
std::list< CIntegerPolyRef > | m_Addresses |
List of Addresses or pointer to address supplying nodes. | |
int64_t | m_AddressValid |
TRue if m_Address is valid. | |
std::list< CIntegerOffsetPolyRef > | m_Indexes |
List of Indexes or pointer to address supplying nodes. | |
CIntegerPolyRef | m_Length |
Length of the register. | |
CPort * | m_pPort |
pointer to Port node providing access to the port |
Standard IRegister implementation Provides a chunk of memory which acts as a proxy to the register.
Definition at line 58 of file Register.h.
Default Contructor.
virtual void GENAPI_NAMESPACE::CRegisterImpl::FinalConstruct | ( | ) | [virtual] |
finalizes the construction of the node
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
Reimplemented in GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CIEEE1212ParserImpl, and GENAPI_NAMESPACE::CMaskedIntRegImpl.
virtual bool GENAPI_NAMESPACE::CRegisterImpl::GetProperty | ( | CNodeDataMap * | pNodeDataMap, |
CPropertyID::EProperty_ID_t | PropertyID, | ||
CNodeData::PropertyVector_t & | PropertyList | ||
) | const [virtual] |
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
Reimplemented in GENAPI_NAMESPACE::CFltRegImpl, GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, GENAPI_NAMESPACE::CIntRegImpl, GENAPI_NAMESPACE::CSmartFeatureImpl, GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CMaskedIntRegImpl, and GENAPI_NAMESPACE::CIEEE1212ParserImpl.
virtual void GENAPI_NAMESPACE::CRegisterImpl::InternalFromString | ( | const GENICAM_NAMESPACE::gcstring & | valueString, |
bool | Verify = true |
||
) | [protected, virtual] |
Set value of the node as string.
Reimplemented in GENAPI_NAMESPACE::FloatT< RegisterT< NodeT< CFltRegImpl > > >, GENAPI_NAMESPACE::IntegerT< RegisterT< CMaskedIntRegImpl > >, GENAPI_NAMESPACE::IntegerT< RegisterT< CSmartFeatureImpl > >, GENAPI_NAMESPACE::IntegerT< CDcamAccessCtrlRegImpl >, GENAPI_NAMESPACE::IntegerT< RegisterT< NodeT< CIntRegImpl > > >, and GENAPI_NAMESPACE::CStringRegisterImpl.
virtual void GENAPI_NAMESPACE::CRegisterImpl::InternalGet | ( | uint8_t * | ppBuffer, |
int64_t | pLength, | ||
bool | Verify = false , |
||
bool | IgnoreCache = false |
||
) | [protected, virtual] |
Retrieves a pointer to a buffer containing the register's contents.
Reimplemented in GENAPI_NAMESPACE::CIEEE1212ParserImpl, and GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl.
virtual EAccessMode GENAPI_NAMESPACE::CRegisterImpl::InternalGetAccessMode | ( | ) | const [protected, virtual] |
Get the access mode of the node.
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
Reimplemented in GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, and GENAPI_NAMESPACE::CSmartFeatureImpl.
virtual int64_t GENAPI_NAMESPACE::CRegisterImpl::InternalGetAddress | ( | bool | Verify, |
bool | IgnoreCache | ||
) | [protected, virtual] |
Retrieves the Address of the register.
virtual ECachingMode GENAPI_NAMESPACE::CRegisterImpl::InternalGetCachingMode | ( | ) | const [protected, virtual] |
Get Caching Mode.
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual int64_t GENAPI_NAMESPACE::CRegisterImpl::InternalGetLength | ( | ) | [protected, virtual] |
Retrieves the Length of the register [Bytes].
Reimplemented in GENAPI_NAMESPACE::CIntRegImpl, GENAPI_NAMESPACE::CMaskedIntRegImpl, and GENAPI_NAMESPACE::CFltRegImpl.
virtual EInterfaceType GENAPI_NAMESPACE::CRegisterImpl::InternalGetPrincipalInterfaceType | ( | ) | const [inline, virtual] |
Implementation of IBase::GetPrincipalInterfaceType()
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
Reimplemented in GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, GENAPI_NAMESPACE::CSmartFeatureImpl, GENAPI_NAMESPACE::CIEEE1212ParserImpl, GENAPI_NAMESPACE::CIntRegImpl, GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CFltRegImpl, and GENAPI_NAMESPACE::CMaskedIntRegImpl.
Definition at line 80 of file Register.h.
virtual void GENAPI_NAMESPACE::CRegisterImpl::InternalSet | ( | const uint8_t * | pBuffer, |
int64_t | Length, | ||
bool | Verify = true |
||
) | [protected, virtual] |
Set the register's contents.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CRegisterImpl::InternalToString | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | [protected, virtual] |
Implements interface IValue (called by IValueT)
Get value of the node as string
Reimplemented in GENAPI_NAMESPACE::FloatT< RegisterT< NodeT< CFltRegImpl > > >, GENAPI_NAMESPACE::IntegerT< RegisterT< CMaskedIntRegImpl > >, GENAPI_NAMESPACE::IntegerT< RegisterT< CSmartFeatureImpl > >, GENAPI_NAMESPACE::IntegerT< CDcamAccessCtrlRegImpl >, GENAPI_NAMESPACE::IntegerT< RegisterT< NodeT< CIntRegImpl > > >, GENAPI_NAMESPACE::CIEEE1212ParserImpl, and GENAPI_NAMESPACE::CStringRegisterImpl.
virtual void GENAPI_NAMESPACE::CRegisterImpl::SetInvalid | ( | INodePrivate::ESetInvalidMode | simMode | ) | [virtual] |
Initializes the object.
Reimplemented in GENAPI_NAMESPACE::CIEEE1212ParserImpl.
virtual void GENAPI_NAMESPACE::CRegisterImpl::SetProperty | ( | CProperty & | Property | ) | [virtual] |
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
Reimplemented in GENAPI_NAMESPACE::CFltRegImpl, GENAPI_NAMESPACE::CDcamAccessCtrlRegImpl, GENAPI_NAMESPACE::CIntRegImpl, GENAPI_NAMESPACE::CSmartFeatureImpl, GENAPI_NAMESPACE::CStringRegisterImpl, GENAPI_NAMESPACE::CMaskedIntRegImpl, and GENAPI_NAMESPACE::CIEEE1212ParserImpl.
void GENAPI_NAMESPACE::CRegisterImpl::UpdateAddress | ( | bool | Verify, |
bool | IgnoreCache | ||
) | [protected] |
Recomputes the Address.
the access mode
Definition at line 159 of file Register.h.
int64_t GENAPI_NAMESPACE::CRegisterImpl::m_Address [protected] |
Address of the register.
Definition at line 144 of file Register.h.
std::list<CIntegerPolyRef> GENAPI_NAMESPACE::CRegisterImpl::m_Addresses [protected] |
List of Addresses or pointer to address supplying nodes.
Definition at line 153 of file Register.h.
TRue if m_Address is valid.
Definition at line 147 of file Register.h.
std::list<CIntegerOffsetPolyRef> GENAPI_NAMESPACE::CRegisterImpl::m_Indexes [protected] |
List of Indexes or pointer to address supplying nodes.
Definition at line 156 of file Register.h.
Length of the register.
Definition at line 150 of file Register.h.
CPort* GENAPI_NAMESPACE::CRegisterImpl::m_pPort [protected] |
pointer to Port node providing access to the port
Definition at line 141 of file Register.h.