MPIServer.h
1 //-*-C++-*-
2 /***************************************************************************
3  *
4  * Copyright (C) 2003 by Willem van Straten
5  * Licensed under the Academic Free License version 2.1
6  *
7  ***************************************************************************/
8 
9 #ifndef __MPIServer_h
10 #define __MPIServer_h
11 
12 #include "Reference.h"
13 
14 namespace dsp {
15 
16  class MPIRoot;
17 
19  class MPIServer : Reference::Able {
20 
21  public:
22 
25 
27  virtual ~MPIServer ();
28 
30  void manage (MPIRoot* root);
31 
33  void serve ();
34 
35  protected:
36 
38  std::vector< Reference::To<MPIRoot> > root;
39 
40  };
41 
42 }
43 
44 #endif // !defined(__SeekInput_h)
virtual ~MPIServer()
Destructor.
Definition: MPIServer.C:17
Contains all Baseband Data Reduction Library classes.
Definition: ASCIIObservation.h:17
void serve()
Serve the data from the managed MPIRoot instances.
Definition: MPIServer.C:28
Loads BitSeries data using the MPI communications protocol.
Definition: MPIRoot.h:21
std::vector< Reference::To< MPIRoot > > root
The managed MPIRoot instances.
Definition: MPIServer.h:43
MPIServer()
Default constructor.
Definition: MPIServer.C:12
static bool verbose
Global verbosity flag.
Definition: Operation.h:48
A container for storing digitized (generally not floating point) data
Definition: BitSeries.h:35
void manage(MPIRoot *root)
Manage the MPIRoot instance.
Definition: MPIServer.C:22

Generated using doxygen 1.8.17