31 #include <ServerFunctionsList.h>
33 #include <BESRequestHandlerList.h>
34 #include <TheBESKeys.h>
37 #include "GeoGridFunction.h"
38 #include "GridFunction.h"
39 #include "LinearScaleFunction.h"
40 #include "VersionFunction.h"
41 #include "MakeArrayFunction.h"
42 #include "MakeMaskFunction.h"
43 #include "BindNameFunction.h"
44 #include "BindShapeFunction.h"
45 #include "TabularFunction.h"
46 #include "BBoxFunction.h"
47 #include "RoiFunction.h"
48 #include "BBoxUnionFunction.h"
49 #include "MaskArrayFunction.h"
50 #include "DilateArrayFunction.h"
51 #include "RangeFunction.h"
52 #include "BBoxCombFunction.h"
53 #include "ScaleGrid.h"
54 #include "TestFunction.h"
57 #include "stare/StareFunctions.h"
60 #include "DapFunctionsRequestHandler.h"
61 #include "DapFunctions.h"
69 void DapFunctions::initialize(
const string &modname)
71 BESDEBUG(
"dap_functions",
"Initializing DAP Functions:" << endl );
78 libdap::ServerFunctionsList::TheList()->add_function(
new GridFunction());
79 libdap::ServerFunctionsList::TheList()->add_function(
new GeoGridFunction());
80 libdap::ServerFunctionsList::TheList()->add_function(
new LinearScaleFunction());
82 libdap::ServerFunctionsList::TheList()->add_function(
new MakeArrayFunction());
83 libdap::ServerFunctionsList::TheList()->add_function(
new MakeMaskFunction());
84 libdap::ServerFunctionsList::TheList()->add_function(
new BindNameFunction());
85 libdap::ServerFunctionsList::TheList()->add_function(
new BindShapeFunction());
87 libdap::ServerFunctionsList::TheList()->add_function(
new VersionFunction());
89 libdap::ServerFunctionsList::TheList()->add_function(
new TabularFunction());
90 libdap::ServerFunctionsList::TheList()->add_function(
new BBoxFunction());
91 libdap::ServerFunctionsList::TheList()->add_function(
new RoiFunction());
92 libdap::ServerFunctionsList::TheList()->add_function(
new BBoxUnionFunction());
93 libdap::ServerFunctionsList::TheList()->add_function(
new BBoxCombFunction());
95 libdap::ServerFunctionsList::TheList()->add_function(
new MaskArrayFunction());
96 libdap::ServerFunctionsList::TheList()->add_function(
new DilateArrayFunction());
98 libdap::ServerFunctionsList::TheList()->add_function(
new RangeFunction());
100 libdap::ServerFunctionsList::TheList()->add_function(
new ScaleArray());
101 libdap::ServerFunctionsList::TheList()->add_function(
new ScaleGrid());
102 libdap::ServerFunctionsList::TheList()->add_function(
new Scale3DArray());
104 libdap::ServerFunctionsList::TheList()->add_function(
new TestFunction());
107 libdap::ServerFunctionsList::TheList()->add_function(
new StareIntersectionFunction());
108 libdap::ServerFunctionsList::TheList()->add_function(
new StareCountFunction());
109 libdap::ServerFunctionsList::TheList()->add_function(
new StareSubsetFunction());
110 libdap::ServerFunctionsList::TheList()->add_function(
new StareSubsetArrayFunction());
122 (void) CPLSetErrorHandler(CPLQuietErrorHandler);
124 BESDEBUG(
"dap_functions",
"Done initializing DAP Functions" << endl );
127 void DapFunctions::terminate(
const string &modname)
129 BESDEBUG(
"dap_functions",
"Removing DAP Functions." << endl );
143 strm << BESIndent::LMarg <<
"DapFunctions::dump - (" << (
void *)
this <<
")" << endl;
virtual bool add_handler(const std::string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
virtual BESRequestHandler * remove_handler(const std::string &handler_name)
remove and return the specified request handler
Represents a specific data type request handler.
A Request Handler for the DAP Functions module.
static TheBESKeys * TheKeys()
std::string read_string_key(const std::string &key, const std::string &default_value)
Read a string-valued key from the bes.conf file.
virtual void dump(std::ostream &strm) const
dumps information about this object