30 #ifndef GENAPI_FLOAT_H 31 #define GENAPI_FLOAT_H 34 #include "../IFloat.h" 44 # pragma warning ( push ) 45 # pragma warning ( disable : 4275 ) // non dll-interface XXX used as base for dll-interface class YYY 135 virtual bool GetProperty( CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList )
const;
181 :
public BaseT< ValueT< NodeT < FloatT < CFloatImpl > > > >
187 # pragma warning ( pop ) 190 #endif // GENAPI_FLOAT_H Definition of the ValueT class template.
Core pf the Float node implementation.
virtual double InternalGetMax() const
Get maximum value allowed.
EDisplayNotation m_DisplayNotation
the printf format specifier used to convert the float number to a string
virtual void SetProperty(CProperty &Property)
virtual double InternalGetInc()
Get the constant increment if there is any.
virtual int64_t InternalGetDisplayPrecision() const
Get the precision to be used when converting the float to a string.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
virtual double InternalGetValue(bool Verify=false, bool IgnoreCache=false) const
Get feature value.
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
CFloatPolyRef m_Min
The minimum value.
Vector of doubles with reference counting.
ERepresentation m_Representation
recommended representation of the value
CFloatPolyRef m_ValueDefault
The value.
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit() const
Get the unit.
CIntegerPolyRef m_Index
Reference to the index value.
Implementation of the IBase interface.
Definition of the NodeT class template.
virtual ECachingMode InternalGetCachingMode() const
Get Caching Mode.
virtual EDisplayNotation InternalGetDisplayNotation() const
Get the way the float should be converted to a string.
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
recommended representation of a node value
virtual double InternalGetMin() const
Get minimum value allowed.
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
caching mode of a register
enum GENAPI_NAMESPACE::_EDisplayNotation EDisplayNotation
typedef for float notation
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
Float node implementation.
virtual void InternalSetValue(double Value, bool Verify=true)
Set feature value.
virtual bool InternalHasInc()
True if the float has a constant increment.
virtual ERepresentation InternalGetRepresentation() const
Get recommended representation.
Definition of the BaseT class template.
Standard implementation for the INode and the ISelector interface.
CFloatPolyRef m_Max
The maximum value.
CFloatPolyRef m_Value
The value.
virtual void SetInvalid(ESetInvalidMode simMode)
A reference to a float which can be either a double variable, or a pointer to an IFloat, IInteger, or an IEnumeration interface.
A string class which is a clone of std::string.
GENICAM_NAMESPACE::gcstring m_Unit
the physical unit name
std::map< int64_t, CFloatPolyRef > m_ValuesIndexed
Map storing the indexed values by index.
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
Portable string implementation.
A reference to an int64 which can bei either an int64 variable, or a pointer to an IInteger...
virtual EAccessMode InternalGetAccessMode() const
Get the access mode of the node.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IFloat
Interface for float properties.
CFloatPolyRef m_Inc
The constant increment if there is any.
ESetInvalidMode
Three different modes of operation for INodePrivate::SetInvalid()
virtual const double_autovector_t InternalGetListOfValidValues()
Get list of valid value.
Definition of the FloatT class template.
int64_t m_DisplayPrecision
the precision the float is converted with to a string
Lexical analyzer for CIntSwissKnife.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type