JobCModuleProxy Class Reference

#include <JobCModuleProxy.h>

List of all members.

Public Member Functions

 JobCModuleProxy ()
virtual ~JobCModuleProxy ()
const char * GetName () const
const char * GetFunc () const
void Help ()
virtual JobCModuleCreateModule ()=0

Protected Attributes

const char * fName
const char * fFunc

Detailed Description

Definition at line 17 of file JobCModuleProxy.h.


Constructor & Destructor Documentation

JobCModuleProxy::JobCModuleProxy (  ) 

Definition at line 14 of file JobCModuleProxy.cxx.

References fName.

00015 {
00016   fName = "<null>";
00017 }

JobCModuleProxy::~JobCModuleProxy (  )  [virtual]

Definition at line 21 of file JobCModuleProxy.cxx.

00021 {}


Member Function Documentation

JobCModule * JobCModuleProxy::CreateModule (  )  [pure virtual]

Definition at line 53 of file JobCModuleProxy.cxx.

References fName, Msg::kError, and MSG.

Referenced by JobCPath::GetModule(), Help(), JobCDisplayModule::Start(), and JobCInput::Use().

00054 {
00055   MSG("JobC", Msg::kError) 
00056     << "Attempt to create null job module '" << fName << "'\n";
00057   return 0;
00058 }

const char * JobCModuleProxy::GetFunc (  )  const

Definition at line 32 of file JobCModuleProxy.cxx.

References fFunc.

00033 { 
00034   return fFunc;
00035 }

const char * JobCModuleProxy::GetName (  )  const

Definition at line 25 of file JobCModuleProxy.cxx.

References fName.

Referenced by JobCModuleRegistry::Register(), and JobCInput::Use().

00026 { 
00027   return fName;
00028 }

void JobCModuleProxy::Help (  ) 

Definition at line 39 of file JobCModuleProxy.cxx.

References CreateModule(), JobCModule::Help(), and Munits::m.

Referenced by JobController::Help().

00040 {
00041 //======================================================================
00042 // Need and instance for the help command -- a little awkward
00043 //======================================================================
00044   JobCModule* m = this->CreateModule();
00045   if (m) {
00046     m->Help();
00047     delete m;
00048   }
00049 }


Member Data Documentation

const char* JobCModuleProxy::fFunc [protected]

Definition at line 31 of file JobCModuleProxy.h.

Referenced by GetFunc().

const char* JobCModuleProxy::fName [protected]

Definition at line 30 of file JobCModuleProxy.h.

Referenced by CreateModule(), GetName(), and JobCModuleProxy().


The documentation for this class was generated from the following files:

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1