Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
art::Globals Class Reference

#include <Globals.h>

Public Member Functions

 ~Globals ()
 
 Globals (Globals const &)=delete
 
 Globals (Globals &&)=delete
 
Globalsoperator= (Globals const &)=delete
 
Globalsoperator= (Globals &&)=delete
 
ScheduleID::size_type nschedules () const
 
ScheduleID::size_type nthreads () const
 
std::string const & processName () const
 
fhicl::ParameterSet const & triggerPSet () const
 
std::vector< std::string > const & triggerPathNames () const
 

Static Public Member Functions

static Globalsinstance ()
 

Private Member Functions

 Globals ()
 
void setNSchedules (int)
 
void setNThreads (int)
 
void setProcessName (std::string const &)
 
void setTriggerPSet (fhicl::ParameterSet const &)
 
void setTriggerPathNames (std::vector< std::string > const &)
 

Private Attributes

int nschedules_ {1}
 
int nthreads_ {1}
 
std::string processName_
 
fhicl::ParameterSet triggerPSet_
 
std::vector< std::stringtriggerPathNames_
 

Friends

class PathManager
 
class Scheduler
 

Detailed Description

Definition at line 13 of file Globals.h.

Constructor & Destructor Documentation

art::Globals::~Globals ( )
default
art::Globals::Globals ( Globals const &  )
delete
art::Globals::Globals ( Globals &&  )
delete
art::Globals::Globals ( )
privatedefault

Member Function Documentation

Globals * art::Globals::instance ( )
static

Definition at line 17 of file Globals.cc.

18  {
19  static Globals me;
20  return &me;
21  }
ScheduleID::size_type art::Globals::nschedules ( ) const

Definition at line 24 of file Globals.cc.

25  {
26  return nschedules_;
27  }
int nschedules_
Definition: Globals.h:40
ScheduleID::size_type art::Globals::nthreads ( ) const

Definition at line 36 of file Globals.cc.

37  {
38  return nthreads_;
39  }
int nthreads_
Definition: Globals.h:41
Globals& art::Globals::operator= ( Globals const &  )
delete
Globals& art::Globals::operator= ( Globals &&  )
delete
string const & art::Globals::processName ( ) const

Definition at line 48 of file Globals.cc.

49  {
50  return processName_;
51  }
std::string processName_
Definition: Globals.h:42
void art::Globals::setNSchedules ( int  nschedules)
private

Definition at line 30 of file Globals.cc.

31  {
33  }
ScheduleID::size_type nschedules() const
Definition: Globals.cc:24
int nschedules_
Definition: Globals.h:40
void art::Globals::setNThreads ( int  nthreads)
private

Definition at line 42 of file Globals.cc.

43  {
45  }
ScheduleID::size_type nthreads() const
Definition: Globals.cc:36
int nthreads_
Definition: Globals.h:41
void art::Globals::setProcessName ( std::string const &  processName)
private

Definition at line 54 of file Globals.cc.

55  {
57  }
std::string processName_
Definition: Globals.h:42
std::string const & processName() const
Definition: Globals.cc:48
void art::Globals::setTriggerPathNames ( std::vector< std::string > const &  triggerPathNames)
private

Definition at line 78 of file Globals.cc.

79  {
81  }
std::vector< std::string > triggerPathNames_
Definition: Globals.h:49
std::vector< std::string > const & triggerPathNames() const
Definition: Globals.cc:72
void art::Globals::setTriggerPSet ( fhicl::ParameterSet const &  triggerPSet)
private

Definition at line 66 of file Globals.cc.

67  {
69  }
fhicl::ParameterSet triggerPSet_
Definition: Globals.h:46
fhicl::ParameterSet const & triggerPSet() const
Definition: Globals.cc:60
vector< string > const & art::Globals::triggerPathNames ( ) const

Definition at line 72 of file Globals.cc.

73  {
74  return triggerPathNames_;
75  }
std::vector< std::string > triggerPathNames_
Definition: Globals.h:49
fhicl::ParameterSet const & art::Globals::triggerPSet ( ) const

Definition at line 60 of file Globals.cc.

61  {
62  return triggerPSet_;
63  }
fhicl::ParameterSet triggerPSet_
Definition: Globals.h:46

Friends And Related Function Documentation

friend class PathManager
friend

Definition at line 14 of file Globals.h.

friend class Scheduler
friend

Definition at line 15 of file Globals.h.

Member Data Documentation

int art::Globals::nschedules_ {1}
private

Definition at line 40 of file Globals.h.

int art::Globals::nthreads_ {1}
private

Definition at line 41 of file Globals.h.

std::string art::Globals::processName_
private

Definition at line 42 of file Globals.h.

std::vector<std::string> art::Globals::triggerPathNames_
private

Definition at line 49 of file Globals.h.

fhicl::ParameterSet art::Globals::triggerPSet_
private

Definition at line 46 of file Globals.h.


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