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 using m_InputName as hard coded variable name.
virtual EInterfaceType InternalGetPrincipalInterfaceType () const
 Implementation of IBase::GetPrincipalInterfaceType()
virtual void Parse ()
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 hard-coded 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 formulas.
GENICAM_NAMESPACE::gcstring m_Unit
 the physical unit name
CStrMap m_VariableMap
 the vairble used by th parser
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 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.

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::Parse ( ) [virtual]
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 160 of file IntSwissKnife.h.

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

Definition at line 188 of file IntSwissKnife.h.

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

Definition at line 181 of file IntSwissKnife.h.

A hard-coded variable name.

This is a helper for the implementation of the converter

Definition at line 185 of file IntSwissKnife.h.

the parser doing the actual work

Definition at line 172 of file IntSwissKnife.h.

maximum value to be stored in the Register

Definition at line 157 of file IntSwissKnife.h.

minimum value to be stored in the Register

Definition at line 154 of file IntSwissKnife.h.

the representation of this integer node

Definition at line 175 of file IntSwissKnife.h.

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

Definition at line 163 of file IntSwissKnife.h.

the physical unit name

Definition at line 178 of file IntSwissKnife.h.

the vairble used by th parser

Definition at line 169 of file IntSwissKnife.h.

Mapping of SYMBOLIC names to the references of the variables.

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