31 #ifndef GENAPI_INTREG_H 32 #define GENAPI_INTREG_H 35 #include "../IRegister.h" 127 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
132 void ReadReg(uint8_t* ValueBytes,
bool Verify =
false,
bool IgnoreCache =
false);
168 class CIntReg :
public BaseT < ValueT < IntegerT < RegisterT < NodeT < CIntRegImpl > > > > >
173 #endif // GENAPI_INTREG_H Definition of the ValueT class template.
virtual int64_t InternalGetInc() const
Get increment.
ESign m_Sign
sign of the integer
uint64_t m_SignMask
The bit to be set to -1 if the number is negative.
CIntRegImpl()
Constructor.
virtual void SetInvalid(ESetInvalidMode simMode)
enum GENAPI_NAMESPACE::_EEndianess EEndianess
Endianess of a value in a register.
void UpdateMasks() const
pre-computes some masks
enum GENAPI_NAMESPACE::_ESign ESign
signed or unsigned integers
void WriteReg(uint8_t *ValueBytes, bool Verify=true)
helpers to handle the register access incl. swapping
virtual int64_t InternalGetMax() const
Get maximum value allowed.
interface GENAPI_DECL_ABSTRACT IInteger
Interface for integer properties.
virtual void SetProperty(CProperty &Property)
int64_t m_Max
maximum value to be stored in the Register
virtual int64_t InternalGetValue(bool Verify=false, bool IgnoreCache=false)
Get feature value.
Implementation of the IBase interface.
Definition of the RegisterT class template.
Definition of the NodeT class template.
implements the IntReg node
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
recommended representation of a node value
Standard IRegister implementation Provides a chunk of memory which acts as a proxy to the register...
IInteger implementation for a register.
Vector of integers with reference counting.
virtual const int64_autovector_t InternalGetListOfValidValues()
Get list of valid value.
virtual ERepresentation InternalGetRepresentation() const
Get recommended representation.
interface GENAPI_DECL_ABSTRACT bool Verify
uint64_t m_SignBit
The bit indicating the sign of the number to be retrievend.
GENICAM_NAMESPACE::gcstring m_Unit
the physical unit name
Definition of the IntegerT class template.
void ReadReg(uint8_t *ValueBytes, bool Verify=false, bool IgnoreCache=false)
helpers to handle the register access incl. swapping
Definition of the BaseT class template.
virtual void InternalSetValue(int64_t Value, bool Verify=true)
Set feature value.
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
int64_t m_Min
minimum value to be stored in the Register
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
A string class which is a clone of std::string.
EEndianess m_Endianess
endianess of the register
virtual int64_t InternalGetMin() const
Get minimum value allowed.
ERepresentation m_Representation
representation of the integer
ESetInvalidMode
Three different modes of operation for INodePrivate::SetInvalid()
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit()
Get the unit.
virtual int64_t InternalGetLength()
Retrieves the Length of the register [Bytes].
bool m_MasksAreValid
if true the masks are valid
Part of the generic device API.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type