OpendTect  6.6
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  RCS: $Id$
10 ________________________________________________________________________
11 
12 -*/
13 
14 #include "mmprocmod.h"
15 #include "namedobj.h"
16 #include "bufstring.h"
17 
18 class BufferStringSet;
19 
22 namespace MMProc
23 {
24 
30 {
31 public:
32  AssetMgr( const char* nm )
33  : NamedObject(nm) {}
34 
35  virtual void getHostNames(BufferStringSet&) const = 0;
36  virtual void getAvailableHosts( BufferStringSet& bs ) const
37  { return getHostNames( bs ); }
38 
39  static int add(AssetMgr*);
40 };
41 
43 
44 
45 }; // namespace MMProc
46 
NamedObject
object with a name.
Definition: namedobj.h:42
MMProc::AssetMgr::getHostNames
virtual void getHostNames(BufferStringSet &) const =0
mGlobal
#define mGlobal(module)
Definition: commondefs.h:180
ObjectSet
Set of pointers to objects.
Definition: commontypes.h:31
BufferStringSet
Set of BufferString objects.
Definition: bufstringset.h:26
MMProc::AssetMgr
Knows available nodes and decides which to use.
Definition: mmassetmgr.h:30
mExpClass
#define mExpClass(module)
Definition: commondefs.h:177
namedobj.h
bufstring.h
MMProc::AssetMgr::add
static int add(AssetMgr *)
MMProc::ASMGRS
const ObjectSet< MMProc::AssetMgr > & ASMGRS()
MMProc::AssetMgr::AssetMgr
AssetMgr(const char *nm)
Definition: mmassetmgr.h:32
MMProc
Distributed Computing.
Definition: mmassetmgr.h:23
MMProc::AssetMgr::getAvailableHosts
virtual void getAvailableHosts(BufferStringSet &bs) const
Definition: mmassetmgr.h:36

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