31 #ifndef GENAPI_VALUET_H 32 #define GENAPI_VALUET_H 35 #include "../IValue.h" 37 #include "GenApi/impl/Log.h" 57 typename Base::EntryMethodFinalizer E(
this,
meToString, IgnoreCache );
68 Base::InternalCheckError();
79 std::list<CNodeCallback*> CallbacksToFire;
82 typename Base::EntryMethodFinalizer E(
this,
meFromString );
87 GCLOGINFO( Base::m_pValueLog,
"FromString = '%s' ", ValueStr.
c_str() );
90 typename Base::PostSetValueFinalizer PostSetValueCaller(
this, CallbacksToFire);
94 Base::InternalFromString(ValueStr,
Verify);
97 Base::InternalCheckError();
101 std::list<CNodeCallback*>::iterator ptrCallback;
102 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
109 std::list<CNodeCallback*>::iterator ptrCallback;
110 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
120 return Base::InternalIsValueCacheValid();
128 #endif // GENAPI_VALUET_H #define GCLOGINFO(cat,...)
bool IsReadable(EAccessMode AccessMode)
Tests if readable.
virtual GENICAM_NAMESPACE::gcstring ToString(bool Verify=false, bool IgnoreCache=false)
Implementation of IValue::ToString()
virtual void FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true)
Implementation of IValue::FromString()
#define ACCESS_EXCEPTION_NODE
Fires a access error exception, e.g. throw ACCESS_ERROR_EXCEPTION("Not everybody") ...
interface GENAPI_DECL_ABSTRACT bool Verify
#define GCLOGINFOPUSH(cat,...)
Implementation helpers for CNodeCallbackDefines a bunch of templates for creating callback-functors t...
A string class which is a clone of std::string.
virtual bool IsValueCacheValid() const
Checks if the value comes from cache or is requested from another node.
bool IsWritable(EAccessMode AccessMode)
Tests if writable.
#define GCLOGINFOPOP(cat,...)
virtual const char * c_str(void) const
Part of the generic device API.
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.
Implementation of the IValue interface.