bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
JPEG2000Transmitter.h
1// JPEG2000Transmitter.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_JPEG2000Transmitter_h
26#define A_JPEG2000Transmitter_h 1
27
28#include <BESTransmitter.h>
29
30class BESContainer;
31
41class JPEG2000Transmitter: public BESTransmitter {
42private:
43 static void return_temp_stream(const std::string &filename, std::ostream &strm);
44 static std::string temp_dir;
45
46
47public:
49 virtual ~JPEG2000Transmitter()
50 {
51 }
52
54
55 static std::string default_gcs;
56};
57
58#endif // A_JPEG2000Transmitter_h
A container is something that holds data. E.G., a netcdf file or a database entry.
Structure storing information used by the BES to handle the request.
Abstract base class representing a specific set of information in response to a request to the BES.
JPEG2000Transmitter()
Construct the JPEG2000Transmitter, adding it with name geotiff to be able to transmit a data response...
static void send_data_as_jp2(BESResponseObject *obj, BESDataHandlerInterface &dhi)
The static method registered to transmit OPeNDAP data objects as a netcdf file.