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>
136 return ref::m_Ptr->SetValue(Value,
Verify);
146 ref::m_Ptr->SetValue(Value);
157 return ref::m_Ptr->GetValue(
Verify, IgnoreCache );
166 return ref::m_Ptr->operator()();
175 return ref::m_Ptr->operator*();
184 return ref::m_Ptr->GetMin();
193 return ref::m_Ptr->GetMax();
202 return ref::m_Ptr->GetIncMode();
211 return ref::m_Ptr->GetInc();
220 return ref::m_Ptr->GetListOfValidValues( bounded );
230 return ref::m_Ptr->GetRepresentation();
239 return ref::m_Ptr->GetUnit();
248 return dynamic_cast<IFloat*
>(ref::m_Ptr->GetNode()->GetCastAlias());
257 return ref::m_Ptr->ImposeMin(Value);
266 return ref::m_Ptr->ImposeMax(Value);
282 # pragma warning ( pop ) 285 #endif // ifndef GENAPI_IIINTEGER_H virtual EIncMode GetIncMode()=0
Get increment mode.
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.
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.
interface GENAPI_DECL_ABSTRACT IInteger
Interface for integer properties.
interface GENAPI_DECL_ABSTRACT IFloat
Interface for float properties.
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")
interface GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
interface GENAPI_DECL_ABSTRACT bool Verify
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
declspec's to be used for GenApi Windows dll
Definition of the interface IValue.
Part of the generic device API.
GenICam common utilities.
virtual void ImposeMin(int64_t Value)
Restrict minimum value.