13 #include "generalmod.h" 42 bool needsSave() const;
43 virtual
void setJustSaved() const;
46 {
return lastsavedirtycount_; }
62 bool isSave(
const IOObj&)
const;
67 void detachCBFromObj();
#define mExpClass(module)
Definition: commondefs.h:157
Object that can be MT-safely monitored from cradle to grave.
Definition: monitorable.h:76
Inherit from this class to be able to send and/or receive CallBacks.
Definition: callback.h:182
IOPar ioobjpars_
Definition: saveable.h:57
int ChangeType
Definition: monitorable.h:80
int64_t DirtyCountType
Definition: monitorable.h:84
#define mODTextTranslationClass(clss)
Definition: uistring.h:37
Definition: sharedobject.h:18
Threads::Atomic< bool > objectalive_
Definition: saveable.h:55
void setKey(const DBKey &ky)
Definition: ioobj.h:156
Object that can be saved at any time.
Definition: saveable.h:23
bool objectAlive() const
Definition: saveable.h:32
Generalized set of parameters of the keyword-value type.
Definition: iopar.h:53
#define mImplSimpleMonitoredGetSet(pfx, fnnmget, fnnmset, typ, memb, chgtyp)
Defines simple MT-safe copyable member access.
Definition: monitor.h:39
static ChangeType cSaveSucceededChangeType()
Definition: saveable.h:49
virtual DBKey key() const
Definition: ioobj.h:68
const SharedObject * object_
Definition: saveable.h:54
static ChangeType cSaveFailedChangeType()
Definition: saveable.h:50
DirtyCounter lastsavedirtycount_
Definition: saveable.h:58
DBKey storekey_
Definition: saveable.h:56
Definition: uistring.h:299
Full key to any object in the OpendTect data store.
Definition: dbkey.h:36
#define mDeclAbstractMonitorableAssignment(clss)
Monitorable subclasses: assignment and comparison.
Definition: monitor.h:105