29#ifndef GENAPI_IBOOLEAN_H
30#define GENAPI_IBOOLEAN_H
37# pragma warning ( push )
38# pragma warning ( disable : 4251 )
41namespace GENAPI_NAMESPACE
59 virtual void SetValue(
bool Value,
bool Verify =
true) = 0;
74 virtual bool GetValue(
bool Verify =
false,
bool IgnoreCache =
false)
const = 0;
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);
138 virtual bool operator()()
const
142 return ref::m_Ptr->operator()();
155# pragma warning ( pop )
declspec's to be used for GenApi Windows dll
virtual IBoolean & operator=(bool Value)
Set node value.
Definition IBoolean.h:62
virtual bool operator()() const
Get node value.
Definition IBoolean.h:77
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
Definition of the interface IValue.
Common types used in the public GenApi interface.
#define ACCESS_EXCEPTION
Fires a access exception, e.g. throw ACCESS_EXCEPTION("Not everybody")
Definition GCException.h:252
CBooleanRefT< IBoolean > CBooleanRef
Definition IBoolean.h:148
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