casa
$Rev:20696$
|
00001 //# ImageMomentsProgressMonitor.h: Interface for classes wanting to monitor 00002 //# the progress of ImageMoments 00003 //# Copyright (C) 1996,1997,1999 00004 //# Associated Universities, Inc. Washington DC, USA. 00005 //# 00006 //# This library is free software; you can redistribute it and/or modify it 00007 //# under the terms of the GNU Library General Public License as published by 00008 //# the Free Software Foundation; either version 2 of the License, or (at your 00009 //# option) any later version. 00010 //# 00011 //# This library is distributed in the hope that it will be useful, but WITHOUT 00012 //# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 00013 //# FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public 00014 //# License for more details. 00015 //# 00016 //# You should have received a copy of the GNU Library General Public License 00017 //# along with this library; if not, write to the Free Software Foundation, 00018 //# Inc., 675 Massachusetts Ave, Cambridge, MA 02139, USA. 00019 //# 00020 //# Correspondence concerning AIPS++ should be addressed as follows: 00021 //# Internet email: aips2-requesemat@nrao.edu. 00022 //# Postal address: AIPS++ Project Office 00023 //# National Radio Astronomy Observatory 00024 //# 520 Edgemont Road 00025 //# Charlottesville, VA 22903-2475 USA 00026 //# 00027 //# 00028 00029 #ifndef IMAGES_IMAGEMOMENTSPROGRESSMONITOR_H 00030 #define IMAGES_IMAGEMOMENTSPROGRESSMONITOR_H 00031 00032 namespace casa { //# NAMESPACE CASA - BEGIN 00033 00034 //This is just an interface class for monitoring the progress of collapsing 00035 //and image through calculating a moment. 00036 00037 class ImageMomentsProgressMonitor { 00038 public: 00039 virtual void setStepCount( int count ) = 0; 00040 virtual void setStepsCompleted( int count ) = 0; 00041 virtual void done() = 0; 00042 virtual ~ImageMomentsProgressMonitor(){} 00043 }; 00044 00045 00046 } //# NAMESPACE CASA - END 00047 00048 #endif