bes  Updated for version 3.20.6
FONcTransmitter.h
1 // FONcTransmitter.h
2 
3 // This file is part of BES Netcdf File Out Module
4 
5 // Copyright (c) 2004,2005 University Corporation for Atmospheric Research
6 // Author: Patrick West <pwest@ucar.edu> and Jose Garcia <jgarcia@ucar.edu>
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 // (c) COPYRIGHT University Corporation for Atmospheric Research 2004-2005
26 // Please read the full copyright statement in the file COPYRIGHT_UCAR.
27 //
28 // Authors:
29 // pwest Patrick West <pwest@ucar.edu>
30 // jgarcia Jose Garcia <jgarcia@ucar.edu>
31 
32 #ifndef A_FONcTransmitter_h
33 #define A_FONcTransmitter_h 1
34 
35 #include <DataDDS.h>
36 #include <ConstraintEvaluator.h>
37 
38 #include <BESTransmitter.h>
39 
40 class BESContainer;
41 
42 using namespace libdap;
43 
54 private:
55  static string temp_dir;
56 
57  static void write_temp_file_to_stream(int fd, ostream &strm); //, const string &filename, const string &ncVersion);
58 
59 public:
61  virtual ~FONcTransmitter() {}
62 
63  static void send_data(BESResponseObject *obj, BESDataHandlerInterface &dhi);
64 };
65 
66 #endif // A_FONcTransmitter_h
FONcTransmitter
BESTransmitter class named "netcdf" that transmits an OPeNDAP data object as a netcdf file.
Definition: FONcTransmitter.h:53
libdap
Definition: BESDapFunctionResponseCache.h:35
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