48 #define FITS_CATALOG "catalog"
52 BESDEBUG(
"fits",
"Initializing Fits module " << modname << endl);
62 BESDEBUG(
"fits",
" catalog already exists, skipping" << endl);
70 BESDEBUG(
"fits",
" storage already exists, skipping" << endl);
75 BESDEBUG(
"fits",
"Done Initializing Fits module " << modname << endl);
80 BESDEBUG(
"fits",
"Cleaning Fits module " << modname << endl);
89 BESDEBUG(
"fits",
"Done Cleaning Fits module " << modname << endl);
100 strm <<
BESIndent::LMarg <<
"FitsModule::dump - (" << (
void *)
this <<
")" << endl;
virtual bool add_handler(const string &handler_name, BESRequestHandler *handler)
add a request handler to the list of registered handlers for this server
virtual bool add_catalog(BESCatalog *catalog)
adds the speciifed catalog to the list
virtual bool add_persistence(BESContainerStorage *p)
Add a persistent store to the list.
implementation of BESContainerStorage that represents a data within a catalog repository ...
virtual void terminate(const string &modname)
BESAbstractModule * maker()
virtual void dump(ostream &strm) const
dumps information about this object
virtual bool deref_catalog(const string &catalog_name)
de-reference the specified catalog and remove from list if no longer referenced
builds catalogs from a directory structure
static ostream & LMarg(ostream &strm)
virtual bool deref_persistence(const string &persist_name)
dereference a persistent store in the list.
Represents a specific data type request handler.
static BESRequestHandlerList * TheList()
static BESContainerStorageList * TheList()
virtual void initialize(const string &modname)
#define BESDEBUG(x, y)
macro used to send debug information to the debug stream
static BESCatalogList * TheCatalogList()
returns the singleton BESCatalogList instance.
static void Register(const string &flagName)
register the specified debug flag
static void handle_dap_service(const string &handler)
static function to register a handler to handle the dap services
virtual BESRequestHandler * remove_handler(const string &handler_name)
remove and return the specified request handler