All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Attributes | List of all members
galleryUtils.startMessageFacility Class Reference

Public Member Functions

def __init__
 
def init
 
def __init__
 
def init
 

Static Public Attributes

 Init = False
 

Detailed Description

Use it as a function: `startMessageFacility(config, applName)`.

`config` either is `ConfigurationClass` object, or it is a parameter set
with the configuration for the service.

Definition at line 489 of file icarusalg/icarusalg/gallery/helpers/python/galleryUtils.py.

Constructor & Destructor Documentation

def galleryUtils.startMessageFacility.__init__ (   self,
  config,
  applName = None 
)
def galleryUtils.startMessageFacility.__init__ (   self,
  config,
  applName = None 
)

Definition at line 412 of file sbndcode/sbndcode/gallery/python/galleryUtils.py.

413  def __init__(self, config, applName = None):
if not startMessageFacility.Init: self.init(config, applName)

Member Function Documentation

def galleryUtils.startMessageFacility.init (   self,
  config,
  applName 
)

Definition at line 414 of file sbndcode/sbndcode/gallery/python/galleryUtils.py.

415  def init(self, config, applName):
416  if not applName: applName = os.path.basename(sys.argv[0])
417  if isinstance(config, ConfigurationClass): config = config.service("message")
418  print("Starting message facility for %s..." % applName)
419  ROOT.mf.StartMessageFacility(config, applName)
startMessageFacility.Init = True
do one_file $F done echo for F in find $TOP name CMakeLists txt print
def galleryUtils.startMessageFacility.init (   self,
  config,
  applName 
)

Definition at line 498 of file icarusalg/icarusalg/gallery/helpers/python/galleryUtils.py.

499  def init(self, config, applName):
500  if not applName: applName = os.path.basename(sys.argv[0])
501  if isinstance(config, ConfigurationClass): config = config.service("message")
502  print("Starting message facility for %s..." % applName)
503  ROOT.mf.StartMessageFacility(config, applName)
startMessageFacility.Init = True
do one_file $F done echo for F in find $TOP name CMakeLists txt print

Member Data Documentation

galleryUtils.startMessageFacility.Init = False
static

Definition at line 495 of file icarusalg/icarusalg/gallery/helpers/python/galleryUtils.py.


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