casa  $Rev:20696$
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
PabloIO.h
Go to the documentation of this file.
00001 //# PabloIO.h: this defines PabloIO which inits and terminates Pablo
00002 //# Copyright (C) 1999,2000
00003 //# Associated Universities, Inc. Washington DC, USA.
00004 //#
00005 //# This library is free software; you can redistribute it and/or modify it
00006 //# under the terms of the GNU Library General Public License as published by
00007 //# the Free Software Foundation; either version 2 of the License, or (at your
00008 //# option) any later version.
00009 //#
00010 //# This library is distributed in the hope that it will be useful, but WITHOUT
00011 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00012 //# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU Library General Public
00013 //# License for more details.
00014 //#
00015 //# You should have received a copy of the GNU Library General Public License
00016 //# along with this library; if not, write to the Free Software Foundation,
00017 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA.
00018 //#
00019 //# Correspondence concerning AIPS++ should be addressed as follows:
00020 //#        Internet email: aips2-request@nrao.edu.
00021 //#        Postal address: AIPS++ Project Office
00022 //#                        National Radio Astronomy Observatory
00023 //#                        520 Edgemont Road
00024 //#                        Charlottesville, VA 22903-2475 USA
00025 //#
00026 //#
00027 //# $Id$
00028 
00029 #ifndef SYNTHESIS_PABLOIO_H
00030 #define SYNTHESIS_PABLOIO_H
00031 
00032 # if defined(PABLO_IO)
00033 
00034 //# Forward Declarations
00035 
00036 // <summary>
00037 // Container for hiding Pablo calls.
00038 // </summary>
00039 
00040 // <use visibility=export>
00041 
00042 // <reviewed reviewer="" date="yyyy/mm/dd" tests="" demos="">
00043 // </reviewed>
00044 
00045 // <prerequisite>
00046 //   <li> SomeClass
00047 //   <li> SomeOtherClass
00048 //   <li> Pablo
00049 // </prerequisite>
00050 //
00051 // <etymology>
00052 // </etymology>
00053 //
00054 // <synopsis>
00055 // Hides the initialization and termination of the Pablo IO statistics collection
00056 // package
00057 // </synopsis>
00058 //
00059 // <example>
00060 // PabloIO::init(argc, argv);
00061 // ...
00062 // PabloIO::terminate();
00063 // </example>
00064 //
00065 // <motivation>
00066 // Makes it relatively easy to instrument clients or parts of clients using Pablo
00067 // </motivation>
00068 //
00069 // <thrown>
00070 //    <li> Nothing
00071 // </thrown>
00072 //
00073 // <todo asof="2000/01/27">
00074 //   <li> Add some MPI awareness?
00075 //   <li> better documentation?
00076 // </todo>
00077 
00078 #include <casa/aips.h>
00079 
00080 namespace casa { //# NAMESPACE CASA - BEGIN
00081 
00082 class PabloIO
00083 {
00084 public:
00085    static void init(Int, Char **, Int tracenode = 0);
00086    static void terminate();
00087 
00088 };
00089 
00090 
00091 } //# NAMESPACE CASA - END
00092 
00093 # endif
00094 
00095 #endif