Go to the documentation of this file.
31 #ifndef GENAPI_ENUMERATIONT_H
32 #define GENAPI_ENUMERATIONT_H
35 #include "GenApi/impl/Internal_Compatibility.h"
36 #include "GenApi/impl/Log.h"
53 Base::InternalGetSymbolics(Symbolics);
61 Base::InternalGetEntries(Entries);
75 std::list<CNodeCallback*> CallbacksToFire;
88 typename Base::PostSetValueFinalizer PostSetValueCaller(
this, CallbacksToFire);
92 Base::InternalSetIntValue(Value,
Verify);
96 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++ )
134 int64_t IntValue = Base::InternalGetIntValue(
Verify, IgnoreCache);
137 Base::InternalCheckError();
151 return Base::InternalGetEntry(IntValue);
169 return Base::InternalGetEntryByName(Symbolic);
virtual GENICAM_NAMESPACE::gcstring ToString()=0
Returns a string representation of the digit.
Lexical analyzer for CIntSwissKnife.
@ cbPostOutsideLock
callback is fired on leaving the tree inside the lock-guarded area
Definition of interface IEnumeration.
A string class which is a clone of std::string.
virtual CLock & GetLock() const =0
Returns the lock which guards the node map.
virtual void SetIntValue(int64_t Value, bool Verify=true)
Implementation of IEnumeration::SetIntValue()
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT bool Verify
#define GCLOGINFOPOP(cat,...)
virtual void GetEntries(NodeList_t &Entries)
Implementation of IEnumeration::GetEntries()
virtual IEnumEntry * GetCurrentEntry(bool Verify=false, bool IgnoreCache=false)
Get the current entry.
virtual bool CanBeWritten(bool Verify)=0
virtual GENICAM_NAMESPACE::gcstring operator*()
Implementation of IEnumeration::operator*()
Implementation of the IEnumeration Interface.
#define ACCESS_EXCEPTION_NODE
Fires a access error exception, e.g. throw ACCESS_ERROR_EXCEPTION("Not everybody")
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IEnumeration
Interface for enumeration properties.
bool IsReadable(EAccessMode AccessMode)
Tests if readable.
virtual IEnumeration & operator=(const GENICAM_NAMESPACE::gcstring &ValueStr)
Implementation of IEnumeration::operator=()
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IValue
Interface for value properties.
virtual bool IsStreamable() const =0
True if the node is streamable.
virtual IEnumEntry * GetEntryByName(const GENICAM_NAMESPACE::gcstring &Symbolic)
Implementation of IEnumeration::GetEntryByName()
virtual int64_t GetIntValue(bool Verify=false, bool IgnoreCache=false)
Implementation of IEnumeration::GetIntValue()
virtual void GetSymbolics(StringList_t &Symbolics)
Implementation of IEnumeration::GetSymbolics()
#define GCLOGINFOPUSH(cat,...)
GENICAM_NAMESPACE::gcstring_vector StringList_t
A list of strings.
virtual void FromString(const GENICAM_NAMESPACE::gcstring &ValueStr, bool Verify=true)=0
Set content of the node as string.
GENICAM_INTERFACE GENAPI_DECL_ABSTRACT IEnumEntry
Interface of single enum value.
node_vector NodeList_t
a list of node references
virtual IEnumEntry * GetEntry(const int64_t IntValue)
Get an entry node by its IntValue.
rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Wed Dec 4 2024 03:10:11