Go to the documentation of this file.
31 #ifndef GENAPI_INTSWISSKNIFE_H
32 #define GENAPI_INTSWISSKNIFE_H
86 #pragma BullseyeCoverage off
91 #pragma BullseyeCoverage on
147 virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList)
const;
148 virtual void Parse();
164 std::map<GENICAM_NAMESPACE::gcstring, GENICAM_NAMESPACE::gcstring>
m_Symbolics;
167 std::map<GENICAM_NAMESPACE::gcstring, CIntegerPolyRef>
m_Variables;
199 #endif // GENAPI_INTSWISSKNIFE_H
GENICAM_INTERFACE IInteger
Interface for integer properties.
Lexical analyzer for CIntSwissKnife.
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
@ intfIInteger
IInteger interface.
GENICAM_NAMESPACE::gcstring m_Unit
the physical unit name
int64_t m_Min
minimum value to be stored in the Register
@ PureNumber
Decimal number in an edit control.
Definition of polymorphical smart pointer.
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit()
Get the unit.
const int64_autovector_t InternalGetListOfValidValues()
Get list of valid value.
virtual void FinalConstruct()
IInteger implementation for a SwissKnife used for formula evaluation.
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
Parser and evaluator for CIntSwissKnife.
Standard implementation for the INode and the ISelector interface.
A string class which is a clone of std::string.
GENAPI_NAMESPACE::EInputDirection m_InputDirection
Indicates if the SwissKnife is part of a Converter and shows which direction is implemented.
virtual void SetProperty(CProperty &Property)
@ _UndefinedRepresentation
CStrMap m_VariableMap
the vairble used by th parser
Definition of the NodeT class template.
A reference to an int64 which can bei either an int64 variable, or a pointer to an IInteger,...
GENICAM_NAMESPACE::gcstring m_InputName
A hard-coded variable name.
std::map< GENICAM_NAMESPACE::gcstring, GENICAM_NAMESPACE::gcstring > m_Symbolics
Mapping of the variable's node names to the SYMBOLIC names in the formulas.
Implementation of the IBase interface.
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
recommended representation of a node value
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual ECachingMode InternalGetCachingMode() const
Get Caching Mode.
enum GENAPI_NAMESPACE::_EInputDirection EInputDirection
typedef for link type
CIntSwissKnifeImpl()
Constructor.
Definition of the BaseT class template.
#define ACCESS_EXCEPTION_NODE
Fires a access error exception, e.g. throw ACCESS_ERROR_EXCEPTION("Not everybody")
virtual EAccessMode InternalGetAccessMode() const
Get the access mode of the node.
CIntegerPolyRef m_Input
Pointer to the input required when the SwissKnife is used to implement a Converter.
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 int64_t InternalGetInc() const
Get increment.
virtual ~CIntSwissKnifeImpl()
Destructor.
CInt64MathParser m_MathParser
the parser doing the actual work
Definition of CInt64MathParser.
std::map< GENICAM_NAMESPACE::gcstring, CIntegerPolyRef > m_Variables
Mapping of SYMBOLIC names to the references of the variables.
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
caching mode of a register
int64_t m_Max
maximum value to be stored in the Register
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
ERepresentation m_Representation
the representation of this integer node
Definition of the ValueT class template.
virtual int64_t InternalGetValue(bool Verify=false, bool IgnoreCache=false)
Get feature value.
Vector of integers with reference counting.
virtual int64_t InternalGetMin() const
Get minimum value allowed.
GENICAM_NAMESPACE::gcstring m_Formula
the formula evaluated by the swiss knife
virtual int64_t InternalGetMax() const
Get maximum value allowed.
virtual ERepresentation InternalGetRepresentation() const
Get recommended representation.
Definition of the IntegerT class template.
virtual void InternalSetValue(int64_t, bool)
Set feature value.
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11