OpendTect
7.0
|
MonitoredObject with a name. All but name() are MT-safe. More...
Classes | |
class | NameChgData |
Public Member Functions | |
NamedMonitoredObject (const char *nm=0) | |
NamedMonitoredObject (const NamedMonitoredObject &) | |
NamedMonitoredObject (const NamedObject &) | |
virtual | ~NamedMonitoredObject () |
NamedMonitoredObject * | clone () const override |
ChangeType | compareWith (const MonitoredObject &) const override |
NamedMonitoredObject * | getClone () const override |
BufferString | getName () const override |
bool | operator!= (const NamedMonitoredObject &oth) const |
NamedMonitoredObject & | operator= (const NamedMonitoredObject &) |
bool | operator== (const NamedMonitoredObject &) const |
void | setName (const char *) override |
Public Member Functions inherited from MonitoredObject | |
MonitoredObject (const MonitoredObject &) | |
virtual | ~MonitoredObject () |
virtual DirtyCountType | dirtyCount () const |
virtual ChangeDataNotifier & | objectChanged () const |
virtual Notifier< MonitoredObject > & | objectToBeDeleted () const |
MonitoredObject & | operator= (const MonitoredObject &) |
bool | operator== (const MonitoredObject &) const |
void | sendChangeNotification (const ChangeData &) const |
void | sendEntireObjectChangeNotification () const |
virtual void | touch () const |
void | transferNotifsTo (const MonitoredObject &, const CallBacker *onlyfor=0) const |
Public Member Functions inherited from CallBacker | |
CallBacker () | |
CallBacker (const CallBacker &) | |
virtual | ~CallBacker () |
bool | attachCB (const NotifierAccess &, const CallBack &, bool onlyifnew=false) const |
bool | attachCB (const NotifierAccess *notif, const CallBack &cb, bool onlyifnew=false) const |
void | detachAllNotifiers () const |
Call from the destructor of your inherited object. More... | |
void | detachCB (const NotifierAccess &, const CallBack &) const |
void | detachCB (const NotifierAccess *notif, const CallBack &cb) const |
virtual bool | isCapsule () const |
bool | isNotifierAttached (const NotifierAccess *) const |
Only for debugging purposes, don't use. More... | |
void | stopReceivingNotifications () const |
virtual CallBacker * | trueCaller () |
Public Member Functions inherited from NamedObject | |
NamedObject (const char *nm=nullptr) | |
NamedObject (const NamedObject &oth) | |
virtual | ~NamedObject () |
bool | getNameFromPar (const IOPar &) |
const name_type & | name () const override |
NamedObject & | operator= (const NamedObject &) |
bool | operator== (const NamedObject &oth) const |
Public Member Functions inherited from ObjectWithName | |
virtual | ~ObjectWithName () |
bool | hasName (const char *nm) const |
bool | hasName (const name_type &nm) const |
void | putNameInPar (IOPar &) const |
Static Public Member Functions | |
static ChangeType | cNameChange () |
static Notifier< NamedMonitoredObject > & | instanceCreated () |
Static Public Member Functions inherited from MonitoredObject | |
static ChangeType | cEntireObjectChange () |
static IDType | cEntireObjectChgID () |
static ChangeType | changeNotificationTypeOf (CallBacker *) |
static ChangeType | cNoChange () |
static IDType | cUnspecChgID () |
static Notifier< MonitoredObject > & | instanceCreated () |
defines static instanceCreated() More... | |
Static Public Member Functions inherited from CallBacker | |
static void | createReceiverForCurrentThread () |
static void | removeReceiverForCurrentThread () |
Protected Member Functions | |
void | copyAll (const NamedMonitoredObject &) |
Protected Member Functions inherited from MonitoredObject | |
MonitoredObject () | |
void | copyAll (const MonitoredObject &) |
template<class T > | |
T | getMemberSimple (const T &) const |
the get function used by mImplSimpleMonitoredGet More... | |
void | resumeChangeNotifications () const |
void | sendChgNotif (AccessLocker &, ChangeType, IDType) const |
calls objectChanged with released lock More... | |
void | sendChgNotif (AccessLocker &, const ChangeData &) const |
calls objectChanged with released lock More... | |
void | sendDelNotif () const |
template<class TMember , class TSetTo > | |
void | setMemberSimple (TMember &, TSetTo, ChangeType, IDType) |
the set function used by mImplSimpleMonitoredSet More... | |
void | stopChangeNotifications () const |
Private Member Functions | |
ChangeType | compareClassData (const NamedMonitoredObject &) const |
void | copyClassData (const NamedMonitoredObject &) |
Additional Inherited Members | |
Public Types inherited from MonitoredObject | |
typedef CNotifier< MonitoredObject, ChangeData > | ChangeDataNotifier |
typedef int | ChangeType |
typedef std::int64_t | IDType |
typedef Threads ::Locker | Locker |
Public Types inherited from ObjectWithName | |
typedef OD::String | name_type |
Protected Attributes inherited from MonitoredObject | |
Threads::Lock | accesslock_ |
Protected Attributes inherited from NamedObject | |
BufferString | name_ |
MonitoredObject with a name. All but name() are MT-safe.
<>
NamedMonitoredObject::NamedMonitoredObject | ( | const char * | nm = 0 | ) |
NamedMonitoredObject::NamedMonitoredObject | ( | const NamedObject & | ) |
|
virtual |
NamedMonitoredObject::NamedMonitoredObject | ( | const NamedMonitoredObject & | ) |
|
inlineoverridevirtual |
Reimplemented from MonitoredObject.
|
inlinestatic |
|
private |
|
overridevirtual |
Reimplemented from MonitoredObject.
|
protected |
|
private |
|
inlineoverridevirtual |
Implements MonitoredObject.
|
inlineoverridevirtual |
Reimplemented from NamedObject.
|
static |
|
inline |
NamedMonitoredObject& NamedMonitoredObject::operator= | ( | const NamedMonitoredObject & | ) |
bool NamedMonitoredObject::operator== | ( | const NamedMonitoredObject & | ) | const |
|
overridevirtual |
Reimplemented from NamedObject.
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024