casa  5.7.0-16
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MirVarHandler.h
Go to the documentation of this file.
1 //# MirVisReader.h: reads data from a Miriad Visibility dataset
2 //# Copyright (C) 2000,2001,2002
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: MirVarHandler.h,v 1.2 2009/09/03 23:28:32 pteuben Exp $
28 
29 #ifndef BIMA_MIRVARHANDLER_H
30 #define BIMA_MIRVARHANDLER_H
31 
32 #include <casa/namespace.h>
33 //# Forward Declarations
34 namespace casa { //# NAMESPACE CASA - BEGIN
35  //PJT class FillMetadata;
36 } //# NAMESPACE CASA - END
37 
38 class FillMetadata;
39 
41 protected:
42  MirVarHandler() { } // can't instantiate this directly
44 
45 public:
46  // handle an update to the integration time
47  virtual void updateIntTime(FillMetadata &fm, casacore::Double time) = 0;
48 
49  // handle an update to the observatory
50  virtual void updateObservatory(FillMetadata &fm, casacore::Double time) = 0;
51 
52  // handle an update to the array configuration
53  virtual void updateArray(FillMetadata &fm, casacore::Double time) = 0;
54 
55  // handle an update to the array configuration
56  virtual void updatePolSetup(FillMetadata &fm, casacore::Double time) = 0;
57 
58  // handle an update to the source
59  virtual void updateSource(FillMetadata &fm, casacore::Double time) = 0;
60 
61  // handle an update to the source model -- dgoscha
62  virtual void updateSourceModel(FillMetadata &fm, casacore::Double time) = 0;
63 
64  // handle an update to the observing field
65  virtual void updateField(FillMetadata &fm, casacore::Double time) = 0;
66 
67  // handle an update to the frequency setup
68  virtual void updateFreqSetup(FillMetadata &fm, casacore::Double time) = 0;
69 
70  // handle an update to system temperatures
71  virtual void updateTsys(FillMetadata &fm, casacore::Double time) = 0;
72 };
73 
74 #endif
virtual void updatePolSetup(FillMetadata &fm, casacore::Double time)=0
handle an update to the array configuration
MirVarHandler(MirVarHandler &)
Definition: MirVarHandler.h:43
virtual void updateFreqSetup(FillMetadata &fm, casacore::Double time)=0
handle an update to the frequency setup
a container for storing the Miriad metadata that must be tracked while filling
Definition: FillMetadata.h:886
ABSTRACT TOOL CLASSES A PlotTool is a higher level event handler for a PlotCanvas The idea is to take common tasks which may require multiple events and put them in one place PlotTools also provide additional functionality in that they can be active and blocking non blocking The PlotCanvas will only send events to active and will not send events to later tools or event handlers if the latest tool was blocking In this way a single tool can be used to handle ALL user interaction via the GUI at one time
Definition: PlotTool.h:43
virtual void updateField(FillMetadata &fm, casacore::Double time)=0
handle an update to the observing field
double Double
Definition: aipstype.h:55
virtual void updateObservatory(FillMetadata &fm, casacore::Double time)=0
handle an update to the observatory
virtual void updateSourceModel(FillMetadata &fm, casacore::Double time)=0
handle an update to the source model – dgoscha
virtual void updateArray(FillMetadata &fm, casacore::Double time)=0
handle an update to the array configuration
virtual void updateIntTime(FillMetadata &fm, casacore::Double time)=0
handle an update to the integration time
virtual void updateSource(FillMetadata &fm, casacore::Double time)=0
handle an update to the source
virtual void updateTsys(FillMetadata &fm, casacore::Double time)=0
handle an update to system temperatures