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

JobCROOT Class Reference

#include <JobCROOT.h>

List of all members.

Public Member Functions

virtual ~JobCROOT ()
void operator() (const char *input)
MomNavigatorGetMom ()

Static Public Member Functions

JobCROOTInstance ()

Private Member Functions

 JobCROOT ()
 JobCROOT (const JobCROOT &)
JobCROOToperator= (const JobCROOT &)

Static Private Attributes

JobCROOTfInstance = 0

Friends

struct Cleaner


Constructor & Destructor Documentation

JobCROOT::~JobCROOT  )  [virtual]
 

Definition at line 26 of file JobCROOT.cxx.

00027 {
00028 //======================================================================
00029 // Purpose: Clean up after the JobCROOT class
00030 //======================================================================
00031 }

JobCROOT::JobCROOT  )  [private]
 

Definition at line 17 of file JobCROOT.cxx.

00018 {
00019 //======================================================================
00020 // Purpose: Create an instance of the JobCROOT interface to job control
00021 //======================================================================
00022 }

JobCROOT::JobCROOT const JobCROOT  )  [inline, private]
 

Definition at line 37 of file JobCROOT.h.

00037 { abort(); }


Member Function Documentation

MomNavigator * JobCROOT::GetMom  ) 
 

Definition at line 61 of file JobCROOT.cxx.

References JobController::GetMotherController().

00062 {
00063 //======================================================================
00064 // Purpose: Return a pointer to the data records which are to be used
00065 // interactively
00066 //======================================================================
00067   return (*JobController::GetMotherController()).GetMom();
00068 }

JobCROOT & JobCROOT::Instance  )  [static]
 

Definition at line 46 of file JobCROOT.cxx.

References JobCROOT::Cleaner::ClassIsUsed(), and fInstance.

00047 {
00048 //======================================================================
00049 // Purpose: Instantiate the single instance of the JobCROOT class
00050 //======================================================================
00051   static JobCROOT::Cleaner c; // Handles deletion of the singlton
00052   if (fInstance == 0) {
00053     c.ClassIsUsed(); // Keeps compilers quite if I use this class...
00054     fInstance = new JobCROOT;
00055   }
00056   return *fInstance;
00057 }

void JobCROOT::operator() const char *  input  ) 
 

Definition at line 35 of file JobCROOT.cxx.

References JobController::GetMotherController().

00036 { 
00037 //======================================================================
00038 // Purpose: Pass job control commands to the controller
00039 //======================================================================
00040   // Send the command to the controller
00041   (*JobController::GetMotherController()) << input << "\n"; 
00042 }

JobCROOT& JobCROOT::operator= const JobCROOT  )  [inline, private]
 

Definition at line 38 of file JobCROOT.h.

00038 { abort(); }


Friends And Related Function Documentation

friend struct Cleaner [friend]
 

Definition at line 48 of file JobCROOT.h.


Member Data Documentation

JobCROOT * JobCROOT::fInstance = 0 [static, private]
 

Definition at line 13 of file JobCROOT.cxx.

Referenced by Instance(), and JobCROOT::Cleaner::~Cleaner().


The documentation for this class was generated from the following files:
Generated on Mon Feb 15 11:09:21 2010 for loon by  doxygen 1.3.9.1