31 #ifndef GENAPI_FLTREG_H 32 #define GENAPI_FLTREG_H 34 #include "../IFloat.h" 96 #pragma BullseyeCoverage off 103 #pragma BullseyeCoverage on 139 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
143 void ReadReg(uint8_t* ValueBytes,
bool Verify =
false,
bool IgnoreCache =
false);
171 :
public BaseT< ValueT< FloatT < RegisterT < NodeT< CFltRegImpl > > > > >
176 #endif // GENAPI_FLTREG_H
virtual bool InternalHasInc()
True if the float has a constant increment.
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
virtual double InternalGetMin()
Get minimum value allowed.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
enum GENAPI_NAMESPACE::_EEndianess EEndianess
Endianess of a value in a register.
int64_t m_DisplayPrecision
the precision the float is converted with to a string
virtual double InternalGetValue(bool Verify=false, bool IgnoreCache=false)
Get node value.
virtual int64_t InternalGetDisplayPrecision() const
Get the precision to be used when converting the float to a string.
Decimal number in an edit control.
Vector of doubles with reference counting.
virtual void InternalSetValue(double dblValue, bool Verify=true)
Set node value.
virtual int64_t InternalGetLength(bool Verify=false)
Retrieves the Length of the register [Bytes].
void WriteReg(uint8_t *pValueBytes, bool Verify=true)
helper to handle the register access incl. swapping
virtual ERepresentation InternalGetRepresentation() const
Get recommended representation.
the clkass implementing the FltReg node
virtual void SetProperty(CProperty &Property)
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit() const
Get the unit.
virtual const double_autovector_t InternalGetListOfValidValues()
Get list of valid value.
Implementation of the IBase interface.
CFltRegImpl()
Constructor.
EDisplayNotation m_DisplayNotation
the printf format specifier used to convert the float number to a string
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...
enum GENAPI_NAMESPACE::_EDisplayNotation EDisplayNotation
typedef for float notation
EEndianess m_Endianess
endianess of the register
IFloat implementation for a register.
void ReadReg(uint8_t *ValueBytes, bool Verify=false, bool IgnoreCache=false)
helper to handle the register access incl. swapping
virtual double InternalGetInc()
Get the constant increment if there is any.
virtual double InternalGetMax()
Get maximum value allowed.
A string class which is a clone of std::string.
ERepresentation m_Representation
The float's reprsentation.
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IFloat
Interface for float properties.
GENICAM_NAMESPACE::gcstring m_Unit
the physical unit name
Definition of the FloatT class template.
Lexical analyzer for CIntSwissKnife.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual EDisplayNotation InternalGetDisplayNotation() const
Get the way the float should be converted to a string.