31 #ifndef GENAPI_IIINTEGER_H 32 #define GENAPI_IIINTEGER_H 40 # pragma warning ( push ) 41 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 113 #ifndef DOXYGEN_IGNORE 122 template <
class T,
class I=T>
220 return ref::m_Ptr->GetListOfValidValues( bounded );
248 return dynamic_cast<IFloat*
>(
ref::m_Ptr->GetNode()->GetCastAlias());
282 # pragma warning ( pop ) 285 #endif // ifndef GENAPI_IIINTEGER_H virtual EIncMode GetIncMode()=0
Get increment mode.
#define GENICAM_INTERFACE
virtual int64_t operator*()
Get node value.
Common types used in the public GenApi interface.
virtual void ImposeMax(int64_t Value)
Restrict maximum value.
virtual int64_t operator()()
Get node value.
virtual GENICAM_NAMESPACE::gcstring GetUnit() const =0
Get the physical unit name.
GENICAM_INTERFACE IInteger
Interface for integer properties.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
virtual ERepresentation GetRepresentation()
Get recommended representation.
virtual double_autovector_t GetListOfValidValues(bool bounded=true)=0
Get list of valid value.
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
IFloat * GetFloatAlias()
gets the interface of an alias node.
virtual void SetValue(int64_t Value, bool Verify=true)
Set node value.
virtual void operator=(bool Value)
Set node value.
virtual ERepresentation GetRepresentation()=0
Get recommended representation.
virtual bool operator()() const
Get node value.
virtual GENICAM_NAMESPACE::gcstring GetUnit()
Get the physical unit name.
virtual int64_autovector_t GetListOfValidValues(bool bounded=true)
Implementation of IInteger::GetListOfValidValues.
virtual EIncMode GetIncMode()
Get increment.
virtual int64_t GetMax()
Get maximum value allowed.
virtual void ImposeMin(double Value)=0
Restrict minimum value.
virtual void ImposeMax(double Value)=0
Restrict maximum value.
virtual int64_t GetValue(bool Verify=false, bool IgnoreCache=false)
Get node value.
enum GENAPI_NAMESPACE::_ERepresentation ERepresentation
recommended representation of a node value
Vector of integers with reference counting.
virtual double GetMin()=0
Get minimum value allowed.
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
I * m_Ptr
Pointer to the implementation the reference references to.
virtual double GetInc()=0
Get the constant increment if there is any.
virtual int64_t GetInc()
Get increment.
CIntegerRefT< IInteger > CIntegerRef
Reference to an IInteger pointer.
virtual GENICAM_NAMESPACE::gcstring operator*()=0
Get string node value.
A string class which is a clone of std::string.
virtual int64_t GetMin()
Get minimum value allowed.
virtual IInteger & operator=(int64_t Value)
Set node value.
virtual double GetMax()=0
Get maximum value allowed.
enum GENAPI_NAMESPACE::_EIncMode EIncMode
typedef for increment mode
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IFloat
Interface for float properties.
declspec's to be used for GenApi Windows dll
Definition of the interface IValue.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Lexical analyzer for CIntSwissKnife.
GenICam common utilities.
virtual void ImposeMin(int64_t Value)
Restrict minimum value.