30 #ifndef GENAPI_FLOAT_H 31 #define GENAPI_FLOAT_H 34 #include "../IFloat.h" 43 # pragma warning ( push ) 44 # pragma warning ( disable : 4275 ) // non dll-interface XXX used as base for dll-interface class YYY 134 virtual bool GetProperty( CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList )
const;
180 :
public BaseT< ValueT< NodeT < FloatT < CFloatImpl > > > >
186 # pragma warning ( pop ) 189 #endif // GENAPI_FLOAT_H Definition of the ValueT class template.
Core pf the Float node implementation.
virtual ERepresentation InternalGetRepresentation() const
Get recommended representation.
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 ECachingMode InternalGetCachingMode() const
Get Caching Mode.
virtual double InternalGetValue(bool Verify=false, bool IgnoreCache=false) const
Get feature value.
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.
interface GENAPI_DECL_ABSTRACT IFloat
Interface for float properties.
CIntegerPolyRef m_Index
Reference to the index value.
Implementation of the IBase interface.
Definition of the NodeT class template.
virtual int64_t InternalGetDisplayPrecision() const
Get the precision to be used when converting the float to a string.
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
recommended representation of a node value
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
caching mode of a register
enum GENAPI_NAMESPACE::_EDisplayNotation EDisplayNotation
typedef for float notation
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit() const
Get the unit.
virtual EDisplayNotation InternalGetDisplayNotation() const
Get the way the float should be converted to a string.
Float node implementation.
interface GENAPI_DECL_ABSTRACT bool Verify
virtual void InternalSetValue(double Value, bool Verify=true)
Set feature value.
virtual bool InternalHasInc()
True if the float has a constant increment.
virtual double InternalGetMin() const
Get minimum value allowed.
Definition of the BaseT class template.
Standard implementation for the INode and the ISelector interface.
virtual EAccessMode InternalGetAccessMode() const
Get the access mode of the node.
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.
virtual double InternalGetMax() const
Get maximum value allowed.
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...
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.
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
Definition of the FloatT class template.
int64_t m_DisplayPrecision
the precision the float is converted with to a string
Part of the generic device API.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type