Go to the documentation of this file.
31 #ifndef GENAPI_VALUET_H
32 #define GENAPI_VALUET_H
35 #include "../IValue.h"
37 #include "GenApi/impl/Log.h"
68 Base::InternalCheckError();
79 std::list<CNodeCallback*> CallbacksToFire;
89 GCLOGINFO( Base::m_pValueLog,
"FromString = '%s' ", ValueStr.
c_str() );
92 typename Base::PostSetValueFinalizer PostSetValueCaller(
this, CallbacksToFire);
96 Base::InternalFromString(ValueStr,
Verify);
100 Base::InternalCheckError();
103 std::list<CNodeCallback*>::iterator ptrCallback;
104 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
111 std::list<CNodeCallback*>::iterator ptrCallback;
112 for( ptrCallback = CallbacksToFire.begin(); ptrCallback != CallbacksToFire.end(); ptrCallback++ )
122 return Base::InternalIsValueCacheValid();
130 #endif // GENAPI_VALUET_H
Lexical analyzer for CIntSwissKnife.
Implementation helpers for CNodeCallback.
@ cbPostOutsideLock
callback is fired on leaving the tree inside the lock-guarded area
virtual bool IsValueCacheValid() const
Checks if the value comes from cache or is requested from another node.
A string class which is a clone of std::string.
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.
Implementation of the IValue interface.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
#define GCLOGINFOPOP(cat,...)
virtual void FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true)
Implementation of IValue::FromString()
virtual bool CanBeWritten(bool Verify)=0
#define ACCESS_EXCEPTION_NODE
Fires a access error exception, e.g. throw ACCESS_ERROR_EXCEPTION("Not everybody")
virtual GENICAM_NAMESPACE::gcstring ToString(bool Verify=false, bool IgnoreCache=false)
Implementation of IValue::ToString()
bool IsReadable(EAccessMode AccessMode)
Tests if readable.
virtual bool IsStreamable() const =0
True if the node is streamable.
virtual const char * c_str(void) const
#define GCLOGINFO(cat,...)
#define GCLOGINFOPUSH(cat,...)
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:12