OpendTect  6.3
sharedobject.h
Go to the documentation of this file.
1 #pragma once
2 
3 /*+
4 ________________________________________________________________________
5 
6  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
7  Author: Bert
8  Date: July 2016
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "namedmonitorable.h"
14 
15 
16 /*\!brief Monitorable object with a name, sharable through ref counting. */
17 
18 mExpClass(Basic) SharedObject : public RefCount::Referenced
19  , public NamedMonitorable
20 {
21 public:
22 
23  SharedObject(const char* nm=0);
25 
27 
28 protected:
29 
30  virtual ~SharedObject();
31 
32 };
#define mExpClass(module)
Definition: commondefs.h:157
Monitorable object with a name. All but name() are MT-safe.
Definition: namedmonitorable.h:20
Definition: sharedobject.h:18
#define mDeclInstanceCreatedNotifierAccess(clss)
Definition: notify.h:235
#define mDeclAbstractMonitorableAssignment(clss)
Monitorable subclasses: assignment and comparison.
Definition: monitor.h:105

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2017