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

IInteger implementation for a SwissKnife used for formula evaluation. More...

#include <IntSwissKnife.h>

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

List of all members.

Public Member Functions

 CIntSwissKnifeImpl ()
 Constructor.
virtual void FinalConstruct ()
virtual bool GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
virtual int64_t GetValueWithInput (int64_t input, bool Verify=false, bool IgnoreCache=false)
 Get feature value usingt m_InputName as hard coded variable name.
virtual EInterfaceType InternalGetPrincipalInterfaceType () const
 Implementation of IBase::GetPrincipalInterfaceType()
virtual void SetProperty (CProperty &Property)
virtual ~CIntSwissKnifeImpl ()
 Destructor.

Protected Member Functions

virtual EAccessMode InternalGetAccessMode () const
 Get the access mode of the node.
virtual ECachingMode InternalGetCachingMode () const
 Get Caching Mode.
virtual int64_t InternalGetInc () const
 Get increment.
const int64_autovector_t InternalGetListOfValidValues ()
 Get list of valid value.
virtual int64_t InternalGetMax () const
 Get maximum value allowed.
virtual int64_t InternalGetMin () const
 Get minimum value allowed.
virtual ERepresentation InternalGetRepresentation () const
 Get recommended representation.
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit ()
 Get the unit.
virtual int64_t InternalGetValue (bool Verify=false, bool IgnoreCache=false)
 Get feature value.
virtual void InternalSetValue (int64_t, bool)
 Set feature value.

Protected Attributes

GENICAM_NAMESPACE::gcstring m_Formula
 the formula evaluated by the swiss knife
CIntegerPolyRef 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 hardcoded variable name.
CInt64MathParser m_MathParser
 the parser doing the actual work
int64_t m_Max
 maximum value to be stored in the Register
int64_t m_Min
 minimum value to be stored in the Register
ERepresentation m_Representation
 the representation of this integer node
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,
CIntegerPolyRef
m_Variables
 Mapping of SYMBOLIC names to the references of the variables.

Detailed Description

IInteger implementation for a SwissKnife used for formula evaluation.

Definition at line 54 of file IntSwissKnife.h.


Constructor & Destructor Documentation

Constructor.

Destructor.


Member Function Documentation

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

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

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

virtual int64_t GENAPI_NAMESPACE::CIntSwissKnifeImpl::GetValueWithInput ( int64_t  input,
bool  Verify = false,
bool  IgnoreCache = false 
) [virtual]

Get feature value usingt 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.

virtual int64_t GENAPI_NAMESPACE::CIntSwissKnifeImpl::InternalGetInc ( ) const [inline, protected, virtual]

Get increment.

Definition at line 115 of file IntSwissKnife.h.

Get list of valid value.

Definition at line 109 of file IntSwissKnife.h.

virtual int64_t GENAPI_NAMESPACE::CIntSwissKnifeImpl::InternalGetMax ( ) const [inline, protected, virtual]

Get maximum value allowed.

Definition at line 103 of file IntSwissKnife.h.

virtual int64_t GENAPI_NAMESPACE::CIntSwissKnifeImpl::InternalGetMin ( ) const [inline, protected, virtual]

Get minimum value allowed.

Definition at line 97 of file IntSwissKnife.h.

Implementation of IBase::GetPrincipalInterfaceType()

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.

Definition at line 66 of file IntSwissKnife.h.

Get recommended representation.

Definition at line 121 of file IntSwissKnife.h.

Get the unit.

Definition at line 130 of file IntSwissKnife.h.

virtual int64_t GENAPI_NAMESPACE::CIntSwissKnifeImpl::InternalGetValue ( bool  Verify = false,
bool  IgnoreCache = false 
) [protected, virtual]

Get feature value.

virtual void GENAPI_NAMESPACE::CIntSwissKnifeImpl::InternalSetValue ( int64_t  ,
bool   
) [inline, protected, virtual]

Set feature value.

Definition at line 86 of file IntSwissKnife.h.

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

Reimplemented from GENAPI_NAMESPACE::CNodeImpl.


Member Data Documentation

the formula evaluated by the swiss knife

Definition at line 159 of file IntSwissKnife.h.

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

Definition at line 184 of file IntSwissKnife.h.

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

Definition at line 177 of file IntSwissKnife.h.

A hardcoded variable name.

This is a helper for the implementation of the converter

Definition at line 181 of file IntSwissKnife.h.

the parser doing the actual work

Definition at line 168 of file IntSwissKnife.h.

maximum value to be stored in the Register

Definition at line 156 of file IntSwissKnife.h.

minimum value to be stored in the Register

Definition at line 153 of file IntSwissKnife.h.

the representation of this integer node

Definition at line 171 of file IntSwissKnife.h.

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

Definition at line 162 of file IntSwissKnife.h.

the physical unit name

Definition at line 174 of file IntSwissKnife.h.

Mapping of SYMBOLIC names to the references of the variables.

Definition at line 165 of file IntSwissKnife.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