Logo ROOT   6.08/07
Reference Guide
List of all members | Public Member Functions | Private Member Functions | Private Attributes | List of all members
XrdROOTMgr Class Reference

Definition at line 97 of file XrdROOT.h.

Public Member Functions

 XrdROOTMgr (XrdProofdManager *mgr, XrdProtocol_Config *pi, XrdSysError *e)
 Constructor. More...
 
virtual ~XrdROOTMgr ()
 
int Config (bool rcf=0)
 Run configuration and parse the entered config directives. More...
 
XrdROOTDefaultVersion () const
 
int DoDirective (XrdProofdDirective *d, char *val, XrdOucStream *cfg, bool rcf)
 Update the priorities of the active sessions. More...
 
XrdOucString ExportVersions (XrdROOT *def)
 Return a string describing the available versions, with the default version 'def' markde with a '*'. More...
 
XrdROOTGetVersion (const char *tag)
 Return pointer to the ROOT version corresponding to 'tag' or 0 if not found. More...
 
void SetLogDir (const char *d)
 Set the log dir. More...
 
- Public Member Functions inherited from XrdProofdConfig
 XrdProofdConfig (const char *cfg=0, XrdSysError *edest=0)
 Main constructor. More...
 
virtual ~XrdProofdConfig ()
 
const char * CfgFile () const
 
void SetCfgEDest (const char *cfg, XrdSysError *edest)
 Set config file and error handler. More...
 

Private Member Functions

int DoDirectiveRootSys (char *, XrdOucStream *, bool)
 Process 'rootsys' directive. More...
 
void RegisterDirectives ()
 Register directives for configuration. More...
 
int Validate (XrdROOT *r, XrdScheduler *sched)
 Start a trial server application to test forking and get the version of the protocol run by the PROOF server. More...
 

Private Attributes

XrdOucString fLogDir
 
XrdSysLoggerfLogger
 
XrdProofdManagerfMgr
 
std::list< XrdROOT * > fROOT
 

Additional Inherited Members

- Protected Member Functions inherited from XrdProofdConfig
int ParseFile (bool rcf=false)
 Parse config file for the registered directives. More...
 
bool ReadFile (bool update=true)
 Return true if the file has never been read or did change since last reading, false otherwise. More...
 
void Register (const char *dname, XrdProofdDirective *d)
 
- Protected Attributes inherited from XrdProofdConfig
XrdSysErrorfEDest
 

#include <XrdROOT.h>

Inheritance diagram for XrdROOTMgr:
[legend]

Constructor & Destructor Documentation

◆ XrdROOTMgr()

XrdROOTMgr::XrdROOTMgr ( XrdProofdManager mgr,
XrdProtocol_Config *  pi,
XrdSysError e 
)

Constructor.

Definition at line 319 of file XrdROOT.cxx.

◆ ~XrdROOTMgr()

virtual XrdROOTMgr::~XrdROOTMgr ( )
inlinevirtual

Definition at line 112 of file XrdROOT.h.

Member Function Documentation

◆ Config()

int XrdROOTMgr::Config ( bool  rcf = 0)
virtual

Run configuration and parse the entered config directives.

Return 0 on success, -1 on error

Reimplemented from XrdProofdConfig.

Definition at line 356 of file XrdROOT.cxx.

◆ DefaultVersion()

XrdROOT* XrdROOTMgr::DefaultVersion ( ) const
inline

Definition at line 118 of file XrdROOT.h.

◆ DoDirective()

int XrdROOTMgr::DoDirective ( XrdProofdDirective d,
char *  val,
XrdOucStream *  cfg,
bool  rcf 
)
virtual

Update the priorities of the active sessions.

Reimplemented from XrdProofdConfig.

Definition at line 433 of file XrdROOT.cxx.

◆ DoDirectiveRootSys()

int XrdROOTMgr::DoDirectiveRootSys ( char *  val,
XrdOucStream *  cfg,
bool   
)
private

Process 'rootsys' directive.

Definition at line 452 of file XrdROOT.cxx.

◆ ExportVersions()

XrdOucString XrdROOTMgr::ExportVersions ( XrdROOT def)

Return a string describing the available versions, with the default version 'def' markde with a '*'.

Definition at line 706 of file XrdROOT.cxx.

◆ GetVersion()

XrdROOT * XrdROOTMgr::GetVersion ( const char *  tag)

Return pointer to the ROOT version corresponding to 'tag' or 0 if not found.

Definition at line 730 of file XrdROOT.cxx.

◆ RegisterDirectives()

void XrdROOTMgr::RegisterDirectives ( )
privatevirtual

Register directives for configuration.

Reimplemented from XrdProofdConfig.

Definition at line 425 of file XrdROOT.cxx.

◆ SetLogDir()

void XrdROOTMgr::SetLogDir ( const char *  d)

Set the log dir.

Definition at line 334 of file XrdROOT.cxx.

◆ Validate()

int XrdROOTMgr::Validate ( XrdROOT r,
XrdScheduler *  sched 
)
private

Start a trial server application to test forking and get the version of the protocol run by the PROOF server.

Return 0 if everything goes well, -1 in case of any error.

Definition at line 516 of file XrdROOT.cxx.

Member Data Documentation

◆ fLogDir

XrdOucString XrdROOTMgr::fLogDir
private

Definition at line 101 of file XrdROOT.h.

◆ fLogger

XrdSysLogger* XrdROOTMgr::fLogger
private

Definition at line 100 of file XrdROOT.h.

◆ fMgr

XrdProofdManager* XrdROOTMgr::fMgr
private

Definition at line 99 of file XrdROOT.h.

◆ fROOT

std::list<XrdROOT *> XrdROOTMgr::fROOT
private

Definition at line 103 of file XrdROOT.h.


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