TestModule Class Reference

#include <TestModule.h>

Inheritance diagram for TestModule:

Inheritance graph
[legend]
Collaboration diagram for TestModule:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TestModule ()
virtual ~TestModule ()
virtual void initialize (const string &modname)
virtual void terminate (const string &modname)
virtual void dump (ostream &strm) const
 dump the contents of this object to the specified ostream


Detailed Description

Definition at line 38 of file TestModule.h.


Constructor & Destructor Documentation

TestModule::TestModule (  )  [inline]

Definition at line 41 of file TestModule.h.

virtual TestModule::~TestModule (  )  [inline, virtual]

Definition at line 42 of file TestModule.h.


Member Function Documentation

void TestModule::initialize ( const string &  modname  )  [virtual]

Implements BESAbstractModule.

Definition at line 51 of file TestModule.cc.

References BESCommand::add_command(), BESExceptionManager::add_ehm_callback(), BESResponseHandlerList::add_handler(), BESRequestHandlerList::add_handler(), TestException::handleException(), BESLog::is_verbose(), BESCommand::TermCommand, TEST_EHM, TEST_RESPONSE, TEST_SIG, TestEhmResponseHandler::TestEhmResponseBuilder(), TestSigResponseHandler::TestSigResponseBuilder(), BESExceptionManager::TheEHM(), BESResponseHandlerList::TheList(), BESRequestHandlerList::TheList(), and BESLog::TheLog().

Here is the call graph for this function:

void TestModule::terminate ( const string &  modname  )  [virtual]

Implements BESAbstractModule.

Definition at line 89 of file TestModule.cc.

References BESCommand::del_command(), BESResponseHandlerList::remove_handler(), BESRequestHandlerList::remove_handler(), TEST_EHM, TEST_RESPONSE, TEST_SIG, BESResponseHandlerList::TheList(), BESRequestHandlerList::TheList(), and BESLog::TheLog().

Here is the call graph for this function:

virtual void TestModule::dump ( ostream &  strm  )  const [inline, virtual]

dump the contents of this object to the specified ostream

This method is implemented by all derived classes to dump their contents, in other words, any state they might have, private variables, etc...

The inline function below can be used to dump the contents of an OPeNDAOObj object. For example, the object Animal is derived from BESObj. A user could do the following:

Animal *a = new dog( "Sparky" ) ; cout << a << endl ;

And the dump method for dog could display the name passed into the constructor, the (this) pointer of the object, etc...

Parameters:
strm C++ i/o stream to dump the object to

Implements BESAbstractModule.

Definition at line 45 of file TestModule.h.


The documentation for this class was generated from the following files:
Generated on Wed Jan 2 06:04:15 2008 for OPeNDAP Back End Server (BES) by  doxygen 1.5.4