Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

JobCModuleProxy.h

Go to the documentation of this file.
00001 
00002 // $Id: JobCModuleProxy.h,v 1.5 2001/11/14 21:57:30 messier Exp $
00003 //
00004 // This class servers as an intermediary between the module registry
00005 // and job modules created by the user. It helps hide the details of
00006 // job modules from the registry and helps hide some details from the
00007 // user. It also helps guarantee that modules are not created if they
00008 // are not used saving on memory and start-up time.
00009 //
00010 // messier@huhepl.harvard.edu
00012 #ifndef JOBCMODULEPROXY_H
00013 #define JOBCMODULEPROXY_H
00014 
00015 class JobCModule;
00016 
00017 class JobCModuleProxy 
00018 {
00019 public:
00020   JobCModuleProxy();
00021   virtual ~JobCModuleProxy();
00022 
00023   const char *GetName() const;
00024   const char *GetFunc() const;
00025   void        Help();
00026 
00027   virtual JobCModule *CreateModule() = 0;
00028 
00029 protected:
00030   const char *fName; // Name of the Job Module
00031   const char *fFunc; // A simple description of what this module does
00032 };
00033 
00034 #endif

Generated on Mon Feb 15 11:06:49 2010 for loon by  doxygen 1.3.9.1