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/StatWtTVILayerFactory.h> 22 : 23 : using namespace casacore; 24 : 25 : namespace casa { 26 : 27 : namespace vi { 28 : 29 0 : StatWtTVILayerFactory::StatWtTVILayerFactory(Record& configuration) 30 0 : : ViiLayerFactory(), _configuration(configuration) {} 31 : 32 0 : ViImplementation2* StatWtTVILayerFactory::createInstance(ViImplementation2* vii0) const { 33 0 : _statWtTVI = new StatWtTVI(vii0, _configuration); 34 0 : ViImplementation2 *vii = _statWtTVI; 35 0 : return vii; 36 : } 37 : 38 : } 39 : 40 : } 41 :