BRAT 2.4.5
Class index
Full class index
brahmlib
BRAHMS
ROOT page

BrModuleManager


class description - source file - inheritance tree

class BrModuleManager : public TObject


    public:
BrModuleManager BrModuleManager() BrModuleManager BrModuleManager(BrModuleManager&) virtual void ~BrModuleManager() void AddModule(BrModule* module) void AddModuleContainer(BrModuleContainer* module) static TClass* Class() static BrModuleManager* Instance() virtual TClass* IsA() const virtual void Print(Option_t* option = "DB") const virtual void ShowMembers(TMemberInspector& insp, char* parent) virtual void Streamer(TBuffer& b) void StreamerNVirtual(TBuffer& b)

Data Members

    private:
TObjArray* fModuleList TObjArray* fModuleContainerList static BrModuleManager* fgInstance

Class Description

 The BrModuleManager maintains a list of all BrModule , and all BrModuleContainer
 that are defined within a single Brat program. It is implemented as a singleton
 and the entries are filled automaticaly by the contsructor of the
 BrModule or the derived class. The user do not have to do anythinngs. This
 class is ment to be a vehicle to keep track of modules used, give a convenient way
 of printing all relevant versions etc for book keeping, and possible to develop a better
 MainModule in connections with such lists.


BrModuleManager()
 Default constructor

~BrModuleManager()
 Default desctructor

BrModuleManager* Instance()
 Instanciate singleton if not here.


void AddModule(BrModule* module)
 Add a module to the list


void AddModuleContainer(BrModuleContainer* module)
 Add a module to the list


void Print(Option_t* option) const
 Information module. In the final implementation this MUST be
 overwritten by the derived class. Here a default behaviour is
 implemented.

 Options:
     D             show all the details
     B             show basic information (default)




Inline Functions


                TClass* Class()
                TClass* IsA() const
                   void ShowMembers(TMemberInspector& insp, char* parent)
                   void Streamer(TBuffer& b)
                   void StreamerNVirtual(TBuffer& b)
        BrModuleManager BrModuleManager(BrModuleManager&)

This page automatically generated by script docBrat by Christian Holm

Copyright ; 2002 BRAHMS Collaboration <brahmlib@rcf.rhic.bnl.gov>
Last Update on 2001/06/21 14:55:15 $ by hagel $

Validate HTML
Validate CSS