OpendTect  6.3
mmassetmgr.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: Jul 2008
9 ________________________________________________________________________
10 
11 -*/
12 
13 #include "mmprocmod.h"
14 #include "namedobj.h"
15 #include "bufstring.h"
16 
17 class BufferStringSet;
18 
21 namespace MMProc
22 {
23 
29 {
30 public:
31  AssetMgr( const char* nm )
32  : NamedObject(nm) {}
33 
34  virtual void getHostNames(BufferStringSet&) const = 0;
35  virtual void getAvailableHosts( BufferStringSet& bs ) const
36  { return getHostNames( bs ); }
37 
38  static int add(AssetMgr*);
39 };
40 
42 
43 
44 }; // namespace MMProc
#define mExpClass(module)
Definition: commondefs.h:157
#define mGlobal(module)
Definition: commondefs.h:160
Knows available nodes and decides which to use.
Definition: mmassetmgr.h:28
virtual void getAvailableHosts(BufferStringSet &bs) const
Definition: mmassetmgr.h:35
AssetMgr(const char *nm)
Definition: mmassetmgr.h:31
Set of BufferString objects.
Definition: bufstringset.h:25
Set of pointers to objects.
Definition: commontypes.h:28
Multi Machine Processing.
Definition: mmassetmgr.h:21
object with a name.
Definition: namedobj.h:20
const ObjectSet< MMProc::AssetMgr > & ASMGRS()

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