bes  Updated for version 3.20.6
GeoTiffTransmitter.h
1 // GeoTiffTransmitter.h
2 
3 // This file is part of BES GDAL File Out Module
4 
5 // Copyright (c) 2012 OPeNDAP, Inc.
6 // Author: James Gallagher <jgallagher@opendap.org>
7 //
8 // This library is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU Lesser General Public
10 // License as published by the Free Software Foundation; either
11 // version 2.1 of the License, or (at your option) any later version.
12 //
13 // This library is distributed in the hope that it will be useful,
14 // but WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 // Lesser General Public License for more details.
17 //
18 // You should have received a copy of the GNU Lesser General Public
19 // License along with this library; if not, write to the Free Software
20 // Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
21 //
22 // You can contact University Corporation for Atmospheric Research at
23 // 3080 Center Green Drive, Boulder, CO 80301
24 
25 #ifndef A_FONgTransmitter_h
26 #define A_FONgTransmitter_h 1
27 
28 #include <BESTransmitter.h>
29 
30 class BESContainer;
31 
42 private:
43  static void return_temp_stream(const std::string &filename, std::ostream &strm);
44  static std::string temp_dir;
45 
46 
47 public:
49  virtual ~GeoTiffTransmitter()
50  {
51  }
52 
54 
55  static std::string default_gcs;
56 };
57 
58 #endif // A_FONgTransmitter_h
GeoTiffTransmitter
BESTransmitter class named "geotiff" that transmits an OPeNDAP data object as a geotiff file.
Definition: GeoTiffTransmitter.h:41
GeoTiffTransmitter::GeoTiffTransmitter
GeoTiffTransmitter()
Construct the GeoTiffTransmitter, adding it with name geotiff to be able to transmit a data response.
Definition: GeoTiffTransmitter.cc:82
GeoTiffTransmitter::send_data_as_geotiff
static void send_data_as_geotiff(BESResponseObject *obj, BESDataHandlerInterface &dhi)
The static method registered to transmit OPeNDAP data objects as a netcdf file.
Definition: GeoTiffTransmitter.cc:127
BESTransmitter
Definition: BESTransmitter.h:47
BESContainer
A container is something that holds data. E.G., a netcdf file or a database entry.
Definition: BESContainer.h:65
BESDataHandlerInterface
Structure storing information used by the BES to handle the request.
Definition: BESDataHandlerInterface.h:56
BESResponseObject
Abstract base class representing a specific set of information in response to a request to the BES.
Definition: BESResponseObject.h:45