Line data Source code
1 : //# CASA - Common Astronomy Software Applications (http://casa.nrao.edu/) 2 : //# Copyright (C) Associated Universities, Inc. Washington DC, USA 2011, All rights reserved. 3 : //# Copyright (C) European Southern Observatory, 2011, All rights reserved. 4 : //# 5 : //# This library is free software; you can redistribute it and/or 6 : //# modify it under the terms of the GNU Lesser General Public 7 : //# License as published by the Free software Foundation; either 8 : //# version 2.1 of the License, or (at your option) any later version. 9 : //# 10 : //# This library is distributed in the hope that it will be useful, 11 : //# but WITHOUT ANY WARRANTY, without even the implied warranty of 12 : //# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 13 : //# Lesser General Public License for more details. 14 : //# 15 : //# You should have received a copy of the GNU Lesser General Public 16 : //# License along with this library; if not, write to the Free Software 17 : //# Foundation, Inc., 59 Temple Place, Suite 330, Boston, 18 : //# MA 02111-1307 USA 19 : //# $Id: $ 20 : 21 : #include <mstransform/TVI/StatWtTVIFactory.h> 22 : 23 : #include <mstransform/TVI/StatWtTVI.h> 24 : 25 : using namespace casacore; 26 : 27 : namespace casa { 28 : 29 : namespace vi { 30 : 31 0 : StatWtTVIFactory::StatWtTVIFactory( 32 : casacore::Record& configuration, ViImplementation2 *inputVII 33 0 : ) : _configuration(configuration), _inputVii(inputVII) {} 34 : 35 0 : ViImplementation2 * StatWtTVIFactory::createVi(VisibilityIterator2 *) const { 36 0 : return new StatWtTVI(_inputVii, _configuration); 37 : } 38 : 39 0 : vi::ViImplementation2 * StatWtTVIFactory::createVi() const { 40 0 : return new StatWtTVI(_inputVii, _configuration); 41 : } 42 : 43 : } 44 : 45 : } 46 :