31 #ifndef GENAPI_CONVERTER_H 32 #define GENAPI_CONVERTER_H 34 #include "../IFloat.h" 146 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
203 :
public BaseT< ValueT< NodeT < FloatT < CConverterImpl > > > >
208 #endif // GENAPI_CONVERTER_H Definition of the ValueT class template.
CFloatPolyRef m_ConvertFrom
The Swiss Knife for Get.
GENICAM_NAMESPACE::gcstring m_InputName
The Name of the external Variable.
virtual const double_autovector_t InternalGetListOfValidValues()
Get list of valid value.
class implementing the converter object
virtual double InternalGetMin()
virtual bool empty(void) const
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
GENICAM_NAMESPACE::gcstring m_Unit
the physical unit name
virtual double InternalGetValue(bool Verify=false, bool IgnoreCache=false)
GENICAM_NAMESPACE::gcstring GetUnit() const
see IFloat interface
Vector of doubles with reference counting.
EYesNo m_IsLinear
indicates if the conversion is linear
CFloatPolyRef m_ConvertTo
The Swiss Knife for Set.
virtual EAccessMode InternalGetAccessMode() const
Get the access mode of the node.
interface GENAPI_DECL_ABSTRACT IFloat
Interface for float properties.
Implementation of the IBase interface.
Definition of the NodeT class template.
IFloat implementation with integrated conversion.
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
recommended representation of a node value
CFloatPolyRef m_Value
Reference to the value.
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
caching mode of a register
enum GENAPI_NAMESPACE::_EDisplayNotation EDisplayNotation
typedef for float notation
enum GENAPI_NAMESPACE::_EYesNo EYesNo
Defines the choices of a Yes/No alternatives.
CConverterImpl()
Constructor.
EDisplayNotation m_DisplayNotation
the printf format specifier used to convert the float number to a string
int64_t GetDisplayPrecision() const
see IFloat
int64_t m_DisplayPrecision
the precision the float is converted with to a string
interface GENAPI_DECL_ABSTRACT bool Verify
virtual ERepresentation InternalGetRepresentation() const
ERepresentation m_Representation
recommended representation of the value
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit() const
Get the unit.
virtual bool InternalHasInc()
True if the float has a constant increment.
Definition of polymorphical smart pointer.
GENICAM_NAMESPACE::gcstring m_FormulaTo
The SwissKnife formula for Set.
virtual void SetProperty(CProperty &Property)
Checks if the node is terminal.
EDisplayNotation GetDisplayNotation() const
see IFloat
bool IsMaxUninitialized() const
Checks if <Max> has ben set.
Definition of the BaseT class template.
virtual int64_t InternalGetDisplayPrecision() const
Get the precision to be used when converting the float to a string.
Standard implementation for the INode and the ISelector interface.
ESlope m_Slope
indicates if the formula is strictly monotonous increasing or decreating
A reference to a float which can be either a double variable, or a pointer to an IFloat, IInteger, or an IEnumeration interface.
A string class which is a clone of std::string.
Object is not yet initialized.
virtual double InternalGetMax()
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
Portable string implementation.
ERepresentation GetRepresentation() const
see IFloat interface
virtual EDisplayNotation InternalGetDisplayNotation() const
Get the way the float should be converted to a string.
enum GENAPI_NAMESPACE::_ESlope ESlope
typedef for formula type
virtual double InternalGetInc()
Get the constant increment if there is any.
Definition of CSwissKnife.
Definition of the FloatT class template.
GENICAM_NAMESPACE::gcstring m_FormulaFrom
The SwissKnife formula for Get.
bool IsMinUninititialized() const
Checks if <Min> has ben set.
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
Part of the generic device API.
virtual ECachingMode InternalGetCachingMode() const
Get Caching Mode.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual void InternalSetValue(double Value, bool Verify=true)