30 #ifndef GENAPI_INTEGER_H 31 #define GENAPI_INTEGER_H 33 #include "../IInteger.h" 122 virtual bool GetProperty( CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList )
const;
170 class CInteger :
public BaseT< ValueT< IntegerT< NodeT < CIntegerImpl> > > >
176 #endif // GENAPI_INTEGER_H Definition of the ValueT class template.
Core of the Integer node implementation.
virtual int64_t InternalGetValue(bool Verify=false, bool IgnoreCache=false)
Get feature value.
virtual int64_t InternalGetMax()
Get maximum value allowed.
GENICAM_INTERFACE IInteger
Interface for integer properties.
std::list< CIntegerPolyRef >::iterator m_pMainValue
References to the main value inside m_ValuesCopy.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
CIntegerPolyRef m_Min
Reference to the minimum value.
virtual const int64_autovector_t InternalGetListOfValidValues()
Get list of valid values.
virtual void InternalSetValue(int64_t Value, bool Verify=true)
Set feature value.
int64_autovector_impl m_ValidValueSet
The list of valid values for the integer.
CIntegerPolyRef m_Index
Reference to the index value.
virtual int64_t InternalGetInc()
Get increment.
virtual bool GetProperty(CNodeDataMap *pNodeDataMap, CPropertyID::EProperty_ID_t PropertyID, CNodeData::PropertyVector_t &PropertyList) const
CIntegerPolyRef m_Max
Reference to the maximum value.
Implementation of the IBase interface.
Definition of the NodeT class template.
virtual void FinalConstruct()
finishes the constriction of the node
virtual EAccessMode InternalGetAccessMode() const
Get the access mode of the node.
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
recommended representation of a node value
virtual ECachingMode InternalGetCachingMode() const
Get Caching Mode.
CIntegerImpl()
Constructor.
enum GENAPI_NAMESPACE::_ECachingMode ECachingMode
caching mode of a register
Integer node implementation.
Vector of integers with reference counting.
virtual int64_t InternalGetMin()
Get minimum value allowed.
Definition of the IntegerT class template.
Definition of polymorphical smart pointer.
virtual void SetInvalid(ESetInvalidMode simMode)
CIntegerPolyRef m_ValueDefault
Reference to the default value which is used if the index has no matching entry.
Definition of the BaseT class template.
Standard implementation for the INode and the ISelector interface.
A string class which is a clone of std::string.
std::list< CIntegerPolyRef > m_ValuesCopy
List storing the main value and the copy values.
enum GENAPI_NAMESPACE::_EAccessMode EAccessMode
access mode of a node
virtual ERepresentation InternalGetRepresentation()
Get recommended representation.
A reference to an int64 which can bei either an int64 variable, or a pointer to an IInteger...
virtual void SetProperty(CProperty &Property)
std::map< int64_t, CIntegerPolyRef > m_ValuesIndexed
Map storing the indexed values by index.
GENICAM_NAMESPACE::gcstring m_Unit
the physical unit name
CIntegerPolyRef m_Inc
Reference to the increment value.
ESetInvalidMode
Three different modes of operation for INodePrivate::SetInvalid()
virtual EInterfaceType InternalGetPrincipalInterfaceType() const
Implementation of IBase::GetPrincipalInterfaceType()
Common types used in the GenApi implementation.
ERepresentation m_Representation
recommended representation of the value
Lexical analyzer for CIntSwissKnife.
enum GENAPI_NAMESPACE::_EInterfaceType EInterfaceType
typedef for interface type
virtual GENICAM_NAMESPACE::gcstring InternalGetUnit()
Get the unit.