IInteger implementation with integrated conversion. More...
#include <IntConverter.h>
Public Member Functions | |
void | CheckIncreasing () |
CIntConverterImpl () | |
Constructor. | |
virtual bool | GetProperty (CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const |
virtual void | SetProperty (CProperty &Property) |
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 int64_autovector_t | InternalGetListOfValidValues () |
Get list of valid value. | |
virtual int64_t | InternalGetMax () |
virtual int64_t | InternalGetMin () |
virtual EInterfaceType | InternalGetPrincipalInterfaceType () const |
Implementation of IBase::GetPrincipalInterfaceType() | |
virtual ERepresentation | InternalGetRepresentation () const |
virtual GENICAM_NAMESPACE::gcstring | InternalGetUnit () |
Get the unit. | |
virtual int64_t | InternalGetValue (bool Verify=false, bool IgnoreCache=false) |
virtual void | InternalSetValue (int64_t Value, bool Verify=true) |
Private Member Functions | |
bool | IsMaxUninitialized () const |
Checks if <Max> has ben set. | |
bool | IsMinUninititialized () const |
Checks if <Min> has ben set. | |
Private Attributes | |
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. | |
CIntegerPolyRef | m_pConvertFrom |
The Swiss Knife for Get. | |
CIntegerPolyRef | m_pConvertTo |
The Swiss Knife for Set. | |
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 | |
CIntegerPolyRef | m_Value |
Refeerence to the value. |
IInteger implementation with integrated conversion.
Works like a Integer, 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 59 of file IntConverter.h.
Constructor.
virtual bool GENAPI_NAMESPACE::CIntConverterImpl::GetProperty | ( | CNodeDataMap * | pNodeDataMap, |
CPropertyID::EProperty_ID_t | PropertyID, | ||
CNodeData::PropertyVector_t & | PropertyList | ||
) | const [virtual] |
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual EAccessMode GENAPI_NAMESPACE::CIntConverterImpl::InternalGetAccessMode | ( | ) | const [protected, virtual] |
Get the access mode of the node.
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual ECachingMode GENAPI_NAMESPACE::CIntConverterImpl::InternalGetCachingMode | ( | ) | const [protected, virtual] |
Get Caching Mode.
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetInc | ( | ) | [protected, virtual] |
const int64_autovector_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetListOfValidValues | ( | ) | [protected] |
Get list of valid value.
virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetMax | ( | ) | [protected, virtual] |
virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetMin | ( | ) | [protected, virtual] |
virtual EInterfaceType GENAPI_NAMESPACE::CIntConverterImpl::InternalGetPrincipalInterfaceType | ( | ) | const [inline, protected, virtual] |
Implementation of IBase::GetPrincipalInterfaceType()
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
Definition at line 102 of file IntConverter.h.
virtual ERepresentation GENAPI_NAMESPACE::CIntConverterImpl::InternalGetRepresentation | ( | ) | const [inline, protected, virtual] |
Definition at line 89 of file IntConverter.h.
virtual GENICAM_NAMESPACE::gcstring GENAPI_NAMESPACE::CIntConverterImpl::InternalGetUnit | ( | ) | [inline, protected, virtual] |
Get the unit.
Definition at line 108 of file IntConverter.h.
virtual int64_t GENAPI_NAMESPACE::CIntConverterImpl::InternalGetValue | ( | bool | Verify = false , |
bool | IgnoreCache = false |
||
) | [protected, virtual] |
virtual void GENAPI_NAMESPACE::CIntConverterImpl::InternalSetValue | ( | int64_t | Value, |
bool | Verify = true |
||
) | [protected, virtual] |
bool GENAPI_NAMESPACE::CIntConverterImpl::IsMaxUninitialized | ( | ) | const [private] |
Checks if <Max> has ben set.
bool GENAPI_NAMESPACE::CIntConverterImpl::IsMinUninititialized | ( | ) | const [private] |
Checks if <Min> has ben set.
virtual void GENAPI_NAMESPACE::CIntConverterImpl::SetProperty | ( | CProperty & | Property | ) | [virtual] |
Reimplemented from GENAPI_NAMESPACE::CNodeImpl.
The SwissKnife formula for Get.
Definition at line 147 of file IntConverter.h.
The SwissKnife formula for Set.
Definition at line 144 of file IntConverter.h.
The Name of the external Variable.
Definition at line 150 of file IntConverter.h.
The Swiss Knife for Get.
Definition at line 156 of file IntConverter.h.
The Swiss Knife for Set.
Definition at line 153 of file IntConverter.h.
ERepresentation GENAPI_NAMESPACE::CIntConverterImpl::m_Representation [mutable, private] |
recommended representation of the value
Definition at line 162 of file IntConverter.h.
indicates if the formula is strictly monotonous increasing or decreating
Definition at line 168 of file IntConverter.h.
the physical unit name
Definition at line 165 of file IntConverter.h.
Refeerence to the value.
Definition at line 159 of file IntConverter.h.