IInteger implementation for a masked register. More...
#include <MaskedIntReg.h>
Public Member Functions | |
CMaskedIntRegImpl () | |
Constructor. | |
virtual void | FinalConstruct () |
Initializes the object. | |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const |
virtual int64_t | InternalGetLength () |
Retrieves the Length of the register [Bytes]. | |
virtual EInterfaceType | InternalGetPrincipalInterfaceType () const |
Implementation of IBase::GetPrincipalInterfaceType() | |
virtual void | SetProperty (CProperty &Property) |
Protected Member Functions | |
virtual int64_t | InternalGetValue (bool Verify=false, bool IgnoreCache=false) |
Get feature value. | |
virtual void | InternalSetValue (int64_t Value, bool Verify=true) |
Set feature value. | |
Protected Attributes | |
uint32_t | m_LSB |
least siginificant bit of the integer with respect to the register | |
uint32_t | m_LSB_property |
the property belonging to m_LSB | |
uint64_t | m_Mask |
Mask with 1 were the integer is located; 0 otherwise. | |
uint32_t | m_MSB |
most siginificant bit of the integer with respect to the register | |
uint32_t | m_MSB_property |
the property belonging to m_MSB |
IInteger implementation for a masked register.
Maps an integer (signed or unsigned) to a masked register
Definition at line 46 of file MaskedIntReg.h.
Constructor.
virtual void GENAPI_NAMESPACE::CMaskedIntRegImpl::FinalConstruct | ( | ) | [virtual] |
Initializes the object.
Reimplemented from GENAPI_NAMESPACE::CRegisterImpl.
virtual bool GENAPI_NAMESPACE::CMaskedIntRegImpl::GetProperty | ( | CNodeDataMap * | pNodeDataMap, |
CPropertyID::EProperty_ID_t | PropertyID, | ||
CNodeData::PropertyVector_t & | PropertyList | ||
) | const [virtual] |
Reimplemented from GENAPI_NAMESPACE::CIntRegImpl.
virtual int64_t GENAPI_NAMESPACE::CMaskedIntRegImpl::InternalGetLength | ( | ) | [virtual] |
Retrieves the Length of the register [Bytes].
Reimplemented from GENAPI_NAMESPACE::CIntRegImpl.
virtual EInterfaceType GENAPI_NAMESPACE::CMaskedIntRegImpl::InternalGetPrincipalInterfaceType | ( | ) | const [inline, virtual] |
Implementation of IBase::GetPrincipalInterfaceType()
Reimplemented from GENAPI_NAMESPACE::CIntRegImpl.
Definition at line 53 of file MaskedIntReg.h.
virtual int64_t GENAPI_NAMESPACE::CMaskedIntRegImpl::InternalGetValue | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | [protected, virtual] |
Get feature value.
Reimplemented from GENAPI_NAMESPACE::CIntRegImpl.
virtual void GENAPI_NAMESPACE::CMaskedIntRegImpl::InternalSetValue | ( | int64_t | Value, |
bool | Verify = true |
||
) | [protected, virtual] |
Set feature value.
Reimplemented from GENAPI_NAMESPACE::CIntRegImpl.
virtual void GENAPI_NAMESPACE::CMaskedIntRegImpl::SetProperty | ( | CProperty & | Property | ) | [virtual] |
Reimplemented from GENAPI_NAMESPACE::CIntRegImpl.
uint32_t GENAPI_NAMESPACE::CMaskedIntRegImpl::m_LSB [protected] |
least siginificant bit of the integer with respect to the register
Definition at line 102 of file MaskedIntReg.h.
uint32_t GENAPI_NAMESPACE::CMaskedIntRegImpl::m_LSB_property [protected] |
the property belonging to m_LSB
Definition at line 105 of file MaskedIntReg.h.
uint64_t GENAPI_NAMESPACE::CMaskedIntRegImpl::m_Mask [protected] |
Mask with 1 were the integer is located; 0 otherwise.
Definition at line 114 of file MaskedIntReg.h.
uint32_t GENAPI_NAMESPACE::CMaskedIntRegImpl::m_MSB [protected] |
most siginificant bit of the integer with respect to the register
Definition at line 108 of file MaskedIntReg.h.
uint32_t GENAPI_NAMESPACE::CMaskedIntRegImpl::m_MSB_property [protected] |
the property belonging to m_MSB
Definition at line 111 of file MaskedIntReg.h.