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

Specialized SwissKnife for float nodes. More...

#include <SwissKnife.h>

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

List of all members.

Public Member Functions

 CSwissKnifeImpl ()
 Constructor.
virtual void FinalConstruct ()
virtual bool GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
virtual double GetValueWithInput (double input, bool Verify=false, bool IgnoreCache=false)
 Get feature value using m_InputName as hard coded variable name.
virtual void SetProperty (CProperty &Property)
virtual ~CSwissKnifeImpl ()
 Destructor.

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 ()
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit () const
virtual double InternalGetValue (bool Verify=false, bool IgnoreCache=false)
virtual bool InternalHasInc ()
 True if the float has a constant increment.
virtual void InternalSetValue (double, bool)

Protected Attributes

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_Formula
 the formula evaluated by the swiss knife
CFloatPolyRef m_Input
 Pointer to the input required when the SwissKnife is used to implement a Converter.
GENAPI_NAMESPACE::EInputDirection m_InputDirection
 Indicates if the SwissKnife is part of a Converter and shows which direction is implemented.
GENICAM_NAMESPACE::gcstring m_InputName
 A hard coded variable name.
CMathParser m_MathParser
 the parser doing the actual work
double m_Max
 maximum value to be stored in the Register
double m_Min
 minimum value to be stored in the Register
ERepresentation m_Representation
 the node's representation
std::map
< GENICAM_NAMESPACE::gcstring,
GENICAM_NAMESPACE::gcstring
m_Symbolics
 Mapping of the variable's node names to the SYMBOLIC names in the folmulas.
GENICAM_NAMESPACE::gcstring m_Unit
 the physical unit name
std::map
< GENICAM_NAMESPACE::gcstring,
CFloatPolyRef
m_Variables
 Mapping of SYMBOLIC names to the references of the variables.

Detailed Description

Specialized SwissKnife for float nodes.

Used for formula evaluation with ToPhysical and FromPhysical childs

Definition at line 56 of file SwissKnife.h.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

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

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

virtual double GENAPI_NAMESPACE::CSwissKnifeImpl::GetValueWithInput ( double  input,
bool  Verify = false,
bool  IgnoreCache = false 
) [virtual]

Get feature value using m_InputName as hard coded variable name.

This is a helper for the implementation of the converter

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 157 of file SwissKnife.h.

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

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

Definition at line 163 of file SwissKnife.h.

virtual double GENAPI_NAMESPACE::CSwissKnifeImpl::InternalGetInc ( ) [inline, protected, virtual]

Get the constant increment if there is any.

Definition at line 127 of file SwissKnife.h.

Get list of valid value.

Definition at line 135 of file SwissKnife.h.

virtual double GENAPI_NAMESPACE::CSwissKnifeImpl::InternalGetMax ( ) [inline, protected, virtual]

Definition at line 112 of file SwissKnife.h.

virtual double GENAPI_NAMESPACE::CSwissKnifeImpl::InternalGetMin ( ) [inline, protected, virtual]

Definition at line 106 of file SwissKnife.h.

Implementation of IBase::GetPrincipalInterfaceType()

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Definition at line 74 of file SwissKnife.h.

Definition at line 142 of file SwissKnife.h.

Definition at line 151 of file SwissKnife.h.

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

True if the float has a constant increment.

Definition at line 118 of file SwissKnife.h.

virtual void GENAPI_NAMESPACE::CSwissKnifeImpl::InternalSetValue ( double  ,
bool   
) [inline, protected, virtual]

Definition at line 96 of file SwissKnife.h.

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

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.


Member Data Documentation

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

Definition at line 213 of file SwissKnife.h.

the precision the float is converted with to a string

Definition at line 216 of file SwissKnife.h.

the formula evaluated by the swiss knife

Definition at line 195 of file SwissKnife.h.

Pointer to the input required when the SwissKnife is used to implement a Converter.

Definition at line 226 of file SwissKnife.h.

Indicates if the SwissKnife is part of a Converter and shows which direction is implemented.

Definition at line 223 of file SwissKnife.h.

A hard coded variable name.

This is a helper for the implementation of the converter

Definition at line 220 of file SwissKnife.h.

the parser doing the actual work

Definition at line 204 of file SwissKnife.h.

maximum value to be stored in the Register

Definition at line 192 of file SwissKnife.h.

minimum value to be stored in the Register

Definition at line 189 of file SwissKnife.h.

the node's representation

Definition at line 207 of file SwissKnife.h.

Mapping of the variable's node names to the SYMBOLIC names in the folmulas.

Definition at line 198 of file SwissKnife.h.

the physical unit name

Definition at line 210 of file SwissKnife.h.

Mapping of SYMBOLIC names to the references of the variables.

Definition at line 201 of file SwissKnife.h.


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


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:11