OpendTect-6_4  6.4
mmassetmgr.h
Go to the documentation of this file.
1 #ifndef mmassetmgr_h
2 #define mmassetmgr_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Jul 2008
10  RCS: $Id$
11 ________________________________________________________________________
12 
13 -*/
14 
15 #include "mmprocmod.h"
16 #include "namedobj.h"
17 #include "bufstring.h"
18 
19 class BufferStringSet;
20 
23 namespace MMProc
24 {
25 
31 {
32 public:
33  AssetMgr( const char* nm )
34  : NamedObject(nm) {}
35 
36  virtual void getHostNames(BufferStringSet&) const = 0;
37  virtual void getAvailableHosts( BufferStringSet& bs ) const
38  { return getHostNames( bs ); }
39 
40  static int add(AssetMgr*);
41 };
42 
44 
45 
46 }; // namespace MMProc
47 
48 #endif
#define mExpClass(module)
Definition: commondefs.h:160
#define mGlobal(module)
Definition: commondefs.h:163
Knows available nodes and decides which to use.
Definition: mmassetmgr.h:30
virtual void getAvailableHosts(BufferStringSet &bs) const
Definition: mmassetmgr.h:37
AssetMgr(const char *nm)
Definition: mmassetmgr.h:33
Set of BufferString objects.
Definition: bufstringset.h:28
Set of pointers to objects.
Definition: commontypes.h:32
Multi Machine Processing.
Definition: mmassetmgr.h:23
Object with a name.
Definition: namedobj.h:35
const ObjectSet< MMProc::AssetMgr > & ASMGRS()

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