bes
Updated for version 3.20.6
|
37 #include "FoCovJsonModule.h"
38 #include "FoDapCovJsonTransmitter.h"
39 #include "FoCovJsonRequestHandler.h"
40 #include "BESRequestHandlerList.h"
42 #include <BESReturnManager.h>
44 #include <BESServiceRegistry.h>
45 #include <BESDapNames.h>
47 #include <TheBESKeys.h>
50 #define RETURNAS_COVJSON "covjson"
51 #define RETURNAS_ICOVJSON "covjson"
66 BESDEBUG(
"focovjson",
"Initializing module " << modname << endl );
69 BESRequestHandlerList::TheList()->
add_handler(modname, handler);
72 BESDEBUG(
"focovjson",
" adding " << RETURNAS_COVJSON <<
" transmitter" << endl );
77 BESDEBUG(
"focovjson",
"Done Initializing module " << modname << endl );
90 BESDEBUG(
"focovjson",
"Cleaning module " << modname << endl );
91 BESDEBUG(
"focovjson",
" removing " << RETURNAS_COVJSON <<
" transmitter" << endl );
93 BESReturnManager::TheManager()->del_transmitter(RETURNAS_COVJSON);
95 BESDEBUG(
"focovjson",
" removing " << modname <<
" request handler " << endl );
101 BESDEBUG(
"focovjson",
"Done Cleaning module " << modname << endl );
112 strm << BESIndent::LMarg <<
"FoCovJsonModule::dump - (" << (
void *)
this <<
")" << endl;
Represents a specific data type request handler.
virtual BESRequestHandler * remove_handler(const std::string &handler_name)
remove and return the specified request handler
virtual void initialize(const std::string &modname)
initialize the module by adding call backs and registering objects with the framework
virtual void terminate(const std::string &modname)
removes any registered callbacks or objects from the framework
virtual bool add_handler(const std::string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
static void Register(const std::string &flagName)
register the specified debug flag
Module that allows for OPeNDAP Data objects to be returned as geotiff files.
BESTransmitter class named "json" that transmits an OPeNDAP data object as a JSON file.
A Request Handler for the Fileout NetCDF request.
virtual void dump(std::ostream &strm) const
dumps information about this object for debugging purposes