WMSGetFeatureInfoMakerFactory.cpp
Go to the documentation of this file.
1 /* Copyright (C) 2017 National Institute For Space Research (INPE) - Brazil.
2 
3  This file is part of the TerraLib - a Framework for building GIS enabled applications.
4 
5  TerraLib is free software: you can redistribute it and/or modify
6  it under the terms of the GNU Lesser General Public License as published by
7  the Free Software Foundation, either version 3 of the License,
8  or (at your option) any later version.
9 
10  TerraLib 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
13  GNU Lesser General Public License for more details.
14 
15  You should have received a copy of the GNU Lesser General Public License
16  along with TerraLib. See COPYING. If not, write to
17  TerraLib Team at <terralib-team@terralib.org>.
18  */
19 
20 /*!
21  \file terralib/ws/ogc/wms/qt/WMSGetFeatureInfoMakerFactory.cpp
22 
23  \brief WMSGetFeatureInfoMakerFactory is an implementation of a factory to make
24  WMSGetFeatureInfoMaker objects.
25 */
26 
28 #include "WMSGetFeatureInfoMaker.h"
29 
30 #include "../../../../qt/widgets/layer/info/AbstractFeatureInfoMaker.h"
31 
33 
36 
38  : FeatureInfoMakerFactory("OGCWMSLAYER")
39 {
40 
41 }
42 
44 {
45  return new WMSGetFeatureInfoMaker();
46 }
static WMSGetFeatureInfoMakerFactory sm_factory
Static attribute used to register this factory.
te::qt::widgets::AbstractFeatureInfoMaker * build()
Builds a new DefaultFeatureInfoMaker object.
WMSGetFeatureInfoMakerFactory is an implementation of a factory to make WMSGetFeatureInfoMaker object...
WMSGetFeatureInfoMaker is a WMS implementation of AbstractFeatureInfoMaker that could be used to fill...