casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PabloIO.h
Go to the documentation of this file.
1 //# PabloIO.h: this defines PabloIO which inits and terminates Pablo
2 //# Copyright (C) 1999,2000
3 //# Associated Universities, Inc. Washington DC, USA.
4 //#
5 //# This library is free software; you can redistribute it and/or modify it
6 //# under the terms of the GNU Library General Public License as published by
7 //# the Free Software Foundation; either version 2 of the License, or (at your
8 //# option) any later version.
9 //#
10 //# This library is distributed in the hope that it will be useful, but WITHOUT
11 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public
13 //# License for more details.
14 //#
15 //# You should have received a copy of the GNU Library General Public License
16 //# along with this library; if not, write to the Free Software Foundation,
17 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
18 //#
19 //# Correspondence concerning AIPS++ should be addressed as follows:
20 //# Internet email: aips2-request@nrao.edu.
21 //# Postal address: AIPS++ Project Office
22 //# National Radio Astronomy Observatory
23 //# 520 Edgemont Road
24 //# Charlottesville, VA 22903-2475 USA
25 //#
26 //#
27 //# $Id$
28 
29 #ifndef SYNTHESIS_PABLOIO_H
30 #define SYNTHESIS_PABLOIO_H
31 
32 # if defined(PABLO_IO)
33 
34 //# Forward Declarations
35 
36 // <summary>
37 // Container for hiding Pablo calls.
38 // </summary>
39 
40 // <use visibility=export>
41 
42 // <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
43 // </reviewed>
44 
45 // <prerequisite>
46 // <li> SomeClass
47 // <li> SomeOtherClass
48 // <li> Pablo
49 // </prerequisite>
50 //
51 // <etymology>
52 // </etymology>
53 //
54 // <synopsis>
55 // Hides the initialization and termination of the Pablo IO statistics collection
56 // package
57 // </synopsis>
58 //
59 // <example>
60 // PabloIO::init(argc, argv);
61 // ...
62 // PabloIO::terminate();
63 // </example>
64 //
65 // <motivation>
66 // Makes it relatively easy to instrument clients or parts of clients using Pablo
67 // </motivation>
68 //
69 // <thrown>
70 // <li> Nothing
71 // </thrown>
72 //
73 // <todo asof="2000/01/27">
74 // <li> Add some MPI awareness?
75 // <li> better documentation?
76 // </todo>
77 
78 #include <casa/aips.h>
79 
80 namespace casa { //# NAMESPACE CASA - BEGIN
81 
82 class PabloIO
83 {
84 public:
85  static void init(casacore::Int, casacore::Char **, casacore::Int tracenode = 0);
86  static void terminate();
87 
88 };
89 
90 
91 } //# NAMESPACE CASA - END
92 
93 # endif
94 
95 #endif
int Int
Definition: aipstype.h:50
char Char
Definition: aipstype.h:46