Public Member Functions | Protected Member Functions | Protected Attributes
GENAPI_NAMESPACE::CConverterImpl Class Reference

IFloat implementation with integrated conversion. More...

#include <Converter.h>

Inheritance diagram for GENAPI_NAMESPACE::CConverterImpl:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CConverterImpl ()
 Constructor.
void CheckIncreasing ()
virtual bool GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
virtual void SetProperty (CProperty &Property)
 Checks if the node is terminal.

Protected Member Functions

virtual EAccessMode InternalGetAccessMode () const
 Get the access mode of the node.
virtual ECachingMode InternalGetCachingMode () const
 Get Caching Mode.
virtual EDisplayNotation InternalGetDisplayNotation () const
 Get the way the float should be converted to a string.
virtual int64_t InternalGetDisplayPrecision () const
 Get the precision to be used when converting the float to a string.
virtual double InternalGetInc ()
 Get the constant increment if there is any.
virtual const double_autovector_t InternalGetListOfValidValues ()
 Get list of valid value.
virtual double InternalGetMax ()
virtual double InternalGetMin ()
virtual EInterfaceType InternalGetPrincipalInterfaceType () const
 Implementation of IBase::GetPrincipalInterfaceType()
virtual ERepresentation InternalGetRepresentation () const
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit () const
 Get the unit.
virtual double InternalGetValue (bool Verify=false, bool IgnoreCache=false)
virtual bool InternalHasInc ()
 True if the float has a constant increment.
virtual void InternalSetValue (double Value, bool Verify=true)
bool IsMaxUninitialized () const
 Checks if <Max> has ben set.
bool IsMinUninititialized () const
 Checks if <Min> has ben set.

Protected Attributes

CFloatPolyRef m_ConvertFrom
 The Swiss Knife for Get.
CFloatPolyRef m_ConvertTo
 The Swiss Knife for Set.
EDisplayNotation m_DisplayNotation
 the printf format specifier used to convert the float number to a string
int64_t m_DisplayPrecision
 the precision the float is converted with to a string
GENICAM_NAMESPACE::gcstring m_FormulaFrom
 The SwissKnife formula for Get.
GENICAM_NAMESPACE::gcstring m_FormulaTo
 The SwissKnife formula for Set.
GENICAM_NAMESPACE::gcstring m_InputName
 The Name of the external Variable.
EYesNo m_IsLinear
 indicates if the conversion is linear
ERepresentation m_Representation
 recommended representation of the value
ESlope m_Slope
 indicates if the formula is strictly monotonous increasing or decreating
GENICAM_NAMESPACE::gcstring m_Unit
 the physical unit name
CFloatPolyRef m_Value
 Reference to the value.

Detailed Description

IFloat implementation with integrated conversion.

Works like a Float, but has integrated conversion formulas by which the values are converted before writing and after reading.

The Representation may be defined using one of the values in ERepresentation. The default is _UndefinedRepresentation.

Definition at line 57 of file Converter.h.


Constructor & Destructor Documentation

Constructor.


Member Function Documentation

virtual bool GENAPI_NAMESPACE::CConverterImpl::GetProperty ( CNodeDataMap *  pNodeDataMap,
CPropertyID::EProperty_ID_t  PropertyID,
CNodeData::PropertyVector_t &  PropertyList 
) const [virtual]

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Get the access mode of the node.

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Get Caching Mode.

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Get the way the float should be converted to a string.

Definition at line 117 of file Converter.h.

virtual int64_t GENAPI_NAMESPACE::CConverterImpl::InternalGetDisplayPrecision ( ) const [inline, protected, virtual]

Get the precision to be used when converting the float to a string.

Definition at line 126 of file Converter.h.

virtual double GENAPI_NAMESPACE::CConverterImpl::InternalGetInc ( ) [protected, virtual]

Get the constant increment if there is any.

Get list of valid value.

virtual double GENAPI_NAMESPACE::CConverterImpl::InternalGetMax ( ) [protected, virtual]
virtual double GENAPI_NAMESPACE::CConverterImpl::InternalGetMin ( ) [protected, virtual]

Implementation of IBase::GetPrincipalInterfaceType()

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Definition at line 102 of file Converter.h.

virtual ERepresentation GENAPI_NAMESPACE::CConverterImpl::InternalGetRepresentation ( ) const [inline, protected, virtual]

Definition at line 90 of file Converter.h.

Get the unit.

Definition at line 108 of file Converter.h.

virtual double GENAPI_NAMESPACE::CConverterImpl::InternalGetValue ( bool  Verify = false,
bool  IgnoreCache = false 
) [protected, virtual]
virtual bool GENAPI_NAMESPACE::CConverterImpl::InternalHasInc ( ) [protected, virtual]

True if the float has a constant increment.

virtual void GENAPI_NAMESPACE::CConverterImpl::InternalSetValue ( double  Value,
bool  Verify = true 
) [protected, virtual]

Checks if <Max> has ben set.

Checks if <Min> has ben set.

virtual void GENAPI_NAMESPACE::CConverterImpl::SetProperty ( CProperty &  Property) [virtual]

Checks if the node is terminal.

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.


Member Data Documentation

The Swiss Knife for Get.

Definition at line 177 of file Converter.h.

The Swiss Knife for Set.

Definition at line 174 of file Converter.h.

the printf format specifier used to convert the float number to a string

Definition at line 189 of file Converter.h.

the precision the float is converted with to a string

Definition at line 192 of file Converter.h.

The SwissKnife formula for Get.

Definition at line 168 of file Converter.h.

The SwissKnife formula for Set.

Definition at line 165 of file Converter.h.

The Name of the external Variable.

Definition at line 171 of file Converter.h.

indicates if the conversion is linear

Definition at line 198 of file Converter.h.

recommended representation of the value

Definition at line 183 of file Converter.h.

indicates if the formula is strictly monotonous increasing or decreating

Definition at line 195 of file Converter.h.

the physical unit name

Definition at line 186 of file Converter.h.

Reference to the value.

Definition at line 180 of file Converter.h.


The documentation for this class was generated from the following file:


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:48