29 #ifndef GENAPI_IBOOLEAN_H 30 #define GENAPI_IBOOLEAN_H 37 # pragma warning ( push ) 38 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 51 GENICAM_INTERFACE GENAPI_DECL_ABSTRACT
IBoolean :
virtual public IValue 59 virtual void SetValue(
bool Value,
bool Verify =
true) = 0;
74 virtual bool GetValue(
bool Verify =
false,
bool IgnoreCache =
false)
const = 0;
85 #ifndef DOXYGEN_IGNORE 92 class CBooleanRefT :
public CValueRefT<T>
94 typedef CValueRefT<T> ref;
102 virtual void SetValue(
bool Value,
bool Verify =
true)
106 ref::m_Ptr->SetValue( Value, Verify );
115 virtual CBooleanRefT&
operator=(
bool Value)
119 ref::m_Ptr->operator=(Value);
130 virtual bool GetValue(
bool Verify =
false,
bool IgnoreCache =
false)
const 134 return ref::m_Ptr->GetValue(Verify, IgnoreCache);
142 return ref::m_Ptr->operator()();
155 # pragma warning ( pop ) 158 #endif // ifndef GENAPI_IBOOLEAN_H Common types used in the public GenApi interface.
virtual bool operator()() const
Get node value.
Definition: IBoolean.h:77
CBooleanRefT< IBoolean > CBooleanRef
Definition: IBoolean.h:148
virtual IBoolean & operator=(bool Value)
Set node value.
Definition: IBoolean.h:62
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
Definition: GCException.h:252
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IBoolean
Interface for Boolean properties.
Definition: IBoolean.h:59
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
Definition: IValue.h:59
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
declspec's to be used for GenApi Windows dll
Definition of the interface IValue.
Definition: ChunkAdapter.h:37