JobC Class Reference

#include <JobC.h>

List of all members.

Public Member Functions

 JobC ()
 JobC (int argc, char **argv)
 ~JobC ()

Public Attributes

MomNavigator Mom
JobCInput Input
JobCMsgModule Msg
JobCPathModule Path

Private Member Functions

void Init ()

Private Attributes

JobCPathRegistry fPathRegistry

Detailed Description

Definition at line 26 of file JobC.h.


Constructor & Destructor Documentation

JobC::JobC (  ) 

Definition at line 16 of file JobC.cxx.

References JobCleaner::Add(), Init(), JobCleaner::Instance(), Msg::kDebug, and MSG.

00017 { 
00018   MSG("JobC",Msg::kDebug) << "JobC def ctor " << this << endl;
00019   
00020   this->Init();
00021   
00022   // Register with the cleaner object...
00023   JobCleaner::Instance().Add(this);
00024 }

JobC::JobC ( int  argc,
char **  argv 
)

Definition at line 28 of file JobC.cxx.

References JobCleaner::Add(), Init(), JobCleaner::Instance(), JobCEnv::Instance(), Msg::kDebug, and MSG.

00029 {
00030   MSG("JobC",Msg::kDebug) << "JobC normal ctor " << this << endl;
00031   
00032   JobCEnv::Instance(argc, argv); // Setup the job environment
00033   this->Init();
00034 
00035   // Register with the cleaner object...
00036   JobCleaner::Instance().Add(this);
00037 }

JobC::~JobC (  ) 

Definition at line 55 of file JobC.cxx.

References MomNavigator::Clear(), JobCleaner::Instance(), Msg::kDebug, Mom, MSG, and JobCleaner::Remove().

00055             { 
00056   // Remove this from the list of objects managed by the cleaner
00057   MSG("JobC",Msg::kDebug) << "JobC dtor " << this << endl;
00058   Mom.Clear(); // invoke Clear to remove any lingering objects
00059   JobCleaner::Instance().Remove(this);
00060 }


Member Function Documentation

void JobC::Init ( void   )  [private]

Definition at line 41 of file JobC.cxx.

References fPathRegistry, Input, Mom, Path, JobCPathModule::SetInput(), JobCPathModule::SetMom(), JobCInputModule::SetMom(), JobCPathModule::SetPathRegistry(), and JobCInput::Use().

Referenced by JobC().

00042 {
00043   // Configure the input module
00044   Input.SetMom(&Mom);
00045   Input.Use("INPUT");
00046 
00047   // Configure the path module
00048   Path.SetMom(&Mom);
00049   Path.SetInput(&Input);
00050   Path.SetPathRegistry(&fPathRegistry);
00051 }


Member Data Documentation

Definition at line 46 of file JobC.h.

Referenced by Init().


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

Generated on 22 Nov 2017 for loon by  doxygen 1.6.1