31 #ifndef GENAPI_IBOOLEAN_H 32 #define GENAPI_IBOOLEAN_H 39 # pragma warning ( push ) 40 # pragma warning ( disable : 4251 ) // XXX needs to have dll-interface to be used by clients of class YYY 61 virtual void SetValue(
bool Value,
bool Verify =
true) = 0;
64 virtual void operator=(
bool Value){ SetValue( Value ); }
72 virtual bool GetValue(
bool Verify =
false,
bool IgnoreCache =
false)
const = 0;
83 #ifndef DOXYGEN_IGNORE 103 return ref::m_Ptr->SetValue(Value,
Verify);
115 return ref::m_Ptr->operator=(Value);
124 return ref::m_Ptr->GetValue(
Verify, IgnoreCache);
133 return ref::m_Ptr->operator()();
151 # pragma warning ( pop ) 154 #endif // ifndef GENAPI_IBOOLEAN_H Common types used in the public GenApi interface.
interface GENAPI_DECL_ABSTRACT IBoolean
Interface for Boolean properties.
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const =0
Get node value.
virtual void operator=(bool Value)
Set node value.
virtual bool operator()() const
Get node value.
virtual void operator=(bool Value)
Set node value.
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const
Get node value.
CBooleanRefT< IBoolean > CBooleanRef
Reference to an IBoolean pointer.
virtual bool operator()() const
Get node value.
virtual void SetValue(bool Value, bool Verify=true)
Set node value.
#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
declspec's to be used for GenApi Windows dll
Definition of the interface IValue.
Part of the generic device API.