31 #ifndef GENAPI_BOOLEANT_H 32 #define GENAPI_BOOLEANT_H 34 #include "../IBoolean.h" 35 #include "GenApi/impl/Log.h" 55 std::list<CNodeCallback*> CallbacksToFire;
58 typename Base::EntryMethodFinalizer E(
this,
meSetValue );
62 #pragma BullseyeCoverage off 64 #pragma BullseyeCoverage on 66 typename Base::PostSetValueFinalizer PostSetValueCaller(
this, CallbacksToFire);
70 Base::InternalSetValue( Value,
Verify );
75 Base::InternalCheckError();
77 #pragma BullseyeCoverage off 79 #pragma BullseyeCoverage on 82 std::list<CNodeCallback*>::iterator ptrCallback;
83 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
90 std::list<CNodeCallback*>::iterator ptrCallback;
91 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
107 typename Base::EntryMethodFinalizer E(
this,
meGetValue, IgnoreCache );
115 const bool Value( Base::InternalGetValue(
Verify, IgnoreCache) );
118 Base::InternalCheckError();
136 #endif // ifndef GENAPI_BOOLEANT_H virtual void SetValue(bool Value, bool Verify=true)
IBoolean::SetValue()
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
virtual bool GetValue(bool Verify=false, bool IgnoreCache=false) const
IBoolean::GetValue()
bool IsReadable(EAccessMode AccessMode)
Tests if readable.
#define ACCESS_EXCEPTION_NODE
Fires a access error exception, e.g. throw ACCESS_ERROR_EXCEPTION("Not everybody") ...
#define GCLOGINFOPUSH(cat,...)
Implementation of the IBoolean interface.
A string class which is a clone of std::string.
virtual bool operator()() const
IBoolean::operator()()
bool IsWritable(EAccessMode AccessMode)
Tests if writable.
#define GCLOGINFOPOP(cat,...)
virtual void operator=(bool Value)
IBoolean::operator=()
Lexical analyzer for CIntSwissKnife.
callback is fired on leaving the tree inside the lock-guarded area
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.