23 #ifndef _GEMA_TRACKED_VALUE_ACCESSOR_H_ 24 #define _GEMA_TRACKED_VALUE_ACCESSOR_H_ 72 void setTrackIndex(
int sindex,
bool locked) { _sindex = sindex; _locked = locked; }
Auxiliar class used to store the definition of a value. It can be used to store informations about st...
Definition: gmValueInfo.h:126
bool trackIndexLocked() const
Returns if the track index is locked or not.
Definition: gmTrackedValueAccessor.h:78
Basic class used to store sets of values, bound to a common definition, on behalf of another object (...
Definition: gmValueSet.h:53
bool _locked
Is this an accessor locked to a state number?
Definition: gmTrackedValueAccessor.h:93
int trackIndex() const
Returns the current track index as defined by the last call to setTrackIndex()
Definition: gmTrackedValueAccessor.h:75
GmTrackedValueAccessor(GmValueInfo *info, const GmLogCategory &logger, UnitConverter *conv, QString desiredUnit)
Constructor.
Definition: gmTrackedValueAccessor.h:50
GmValueSetData * valueSetData(int sindex, bool locked) const
Returns the value set data object associated with the given index. If locked == true,...
Definition: gmValueSet.h:103
void setDataChanged(const GmValueSet *vs)
Slot called when a value set has a change in its value set data buffers. Called both when a saveState...
Definition: gmTrackedValueAccessor.h:86
#define GMC_API_EXPORT
Macro for controling if the class is being exported (GEMA_CORE_LIB defined) or imported (GEMA_CORE_LI...
Definition: gmCoreConfig.h:35
Auxiliary class responisble for allowing a value accessor to track changes to the referenced value se...
Definition: gmTrackedValueAccessor.h:37
Declaration of the GmValueAccessor interface and GmValueAccessorBase class.
The generic interface implemented by every GmValueSetData object. Its purpose is to provide a base cl...
Definition: gmValueSetData.h:65
Class representing a category with multiple logging levels.
Definition: gmLog.h:58
void setTrackIndex(int sindex, bool locked)
Provides the tracked accessor with the index/state information that it needs to update its ValueSetDa...
Definition: gmTrackedValueAccessor.h:72
int _sindex
The locked state number if _locked == true. The ValueSetData index inside the ValueSet otherwise.
Definition: gmTrackedValueAccessor.h:94
virtual ~GmTrackedValueAccessor()
Virtual destructor.
Definition: gmTrackedValueAccessor.h:54
Declaration of the GmValueSet class.
An implementation of basic attributes and functions that should be common for most value accessor imp...
Definition: gmValueAccessor.h:364