Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TAlienPackage Class Reference

Definition at line 30 of file TAlienPackage.h.

Public Member Functions

 TAlienPackage ()
 Default constructor of a AliEn package constructing a ROOT:v5-16-00 for Linux-i686.
 
 TAlienPackage (const char *name, const char *version, const char *platform, const char *installationdirectory="/var/tmp/alien/packages")
 Constructor of a AliEn package.
 
virtual ~TAlienPackage ()
 Destructor.
 
Bool_t CheckDependencies ()
 Check the dependency packages of this package.
 
Bool_t CheckDirectories (TString name, TString version)
 Check the name and version directory of package/version given.
 
Bool_t Enable ()
 Install/enable an AliEn package on the local computer.
 
Bool_t Exec (const char *cmdline)
 Execute package command.
 
TString GetAliEnMainPackageDir () const
 
Int_t GetDebugLevel ()
 
const char * GetEnable ()
 Return shell command to enable package.
 
TString GetInstallationDirectory () const
 
TListGetInstallList () const
 
TString GetName () const
 
TString GetPlatform () const
 
TString GetVersion () const
 
virtual TClassIsA () const
 
Bool_t IsDirectory (const char *dir1, const char *str)
 Check that <str> is listed in GRID directory <dir1>.
 
Bool_t ReInstall ()
 Reinstalls a package e.g. uninstall + install.
 
void SetAliEnMainPackageDir (const TString &theValue)
 
void SetDebugLevel (Int_t &theValue)
 
void SetInstallationDirectory (const TString &theValue)
 
void SetInstallList (TList *theValue)
 
void SetName (const TString &theValue)
 
void SetPlatform (const TString &theValue)
 
void SetVersion (const TString &theValue)
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 
Bool_t UnInstall ()
 Uninstall a package e.g. remove it from the local disk.
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

Private Member Functions

Bool_t InstallAllPackages ()
 Installs a package and all its direct dependencies.
 
Bool_t InstallSinglePackage (TString name, TString version, Bool_t isDep=kFALSE)
 Install a single package.
 
Bool_t PostInstall (TString name, TString version)
 Execute post_install procedure for a package.
 

Private Attributes

TString fAliEnMainPackageDir
 
Int_t fDebugLevel
 
TString fEnableCommand
 
Bool_t fEnabled
 
TString fInstallationDirectory
 
TListfInstallList
 
TString fName
 
TListfPackages
 
TString fPlatform
 
TString fPostInstallCommand
 
TString fVersion
 

#include <TAlienPackage.h>

Constructor & Destructor Documentation

◆ TAlienPackage() [1/2]

TAlienPackage::TAlienPackage ( )

Default constructor of a AliEn package constructing a ROOT:v5-16-00 for Linux-i686.

Definition at line 54 of file TAlienPackage.cxx.

◆ TAlienPackage() [2/2]

TAlienPackage::TAlienPackage ( const char *  name,
const char *  version,
const char *  platform,
const char *  installationdirectory = "/var/tmp/alien/packages" 
)

Constructor of a AliEn package.

Definition at line 85 of file TAlienPackage.cxx.

◆ ~TAlienPackage()

TAlienPackage::~TAlienPackage ( )
virtual

Destructor.

Definition at line 121 of file TAlienPackage.cxx.

Member Function Documentation

◆ CheckDependencies()

Bool_t TAlienPackage::CheckDependencies ( )

Check the dependency packages of this package.

Definition at line 321 of file TAlienPackage.cxx.

◆ CheckDirectories()

Bool_t TAlienPackage::CheckDirectories ( TString  name,
TString  version 
)

Check the name and version directory of package/version given.

Definition at line 203 of file TAlienPackage.cxx.

◆ Class()

static TClass * TAlienPackage::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TAlienPackage::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TAlienPackage::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 98 of file TAlienPackage.h.

◆ DeclFileName()

static const char * TAlienPackage::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 98 of file TAlienPackage.h.

◆ Enable()

Bool_t TAlienPackage::Enable ( )

Install/enable an AliEn package on the local computer.

Definition at line 132 of file TAlienPackage.cxx.

◆ Exec()

Bool_t TAlienPackage::Exec ( const char *  cmdline)

Execute package command.

Definition at line 294 of file TAlienPackage.cxx.

◆ GetAliEnMainPackageDir()

TString TAlienPackage::GetAliEnMainPackageDir ( ) const
inline

Definition at line 87 of file TAlienPackage.h.

◆ GetDebugLevel()

Int_t TAlienPackage::GetDebugLevel ( )
inline

Definition at line 95 of file TAlienPackage.h.

◆ GetEnable()

const char * TAlienPackage::GetEnable ( )

Return shell command to enable package.

Definition at line 160 of file TAlienPackage.cxx.

◆ GetInstallationDirectory()

TString TAlienPackage::GetInstallationDirectory ( ) const
inline

Definition at line 83 of file TAlienPackage.h.

◆ GetInstallList()

TList * TAlienPackage::GetInstallList ( ) const
inline

Definition at line 91 of file TAlienPackage.h.

◆ GetName()

TString TAlienPackage::GetName ( ) const
inline

Definition at line 71 of file TAlienPackage.h.

◆ GetPlatform()

TString TAlienPackage::GetPlatform ( ) const
inline

Definition at line 79 of file TAlienPackage.h.

◆ GetVersion()

TString TAlienPackage::GetVersion ( ) const
inline

Definition at line 75 of file TAlienPackage.h.

◆ InstallAllPackages()

Bool_t TAlienPackage::InstallAllPackages ( )
private

Installs a package and all its direct dependencies.

Definition at line 479 of file TAlienPackage.cxx.

◆ InstallSinglePackage()

Bool_t TAlienPackage::InstallSinglePackage ( TString  name,
TString  version,
Bool_t  isDep = kFALSE 
)
private

Install a single package.

Definition at line 388 of file TAlienPackage.cxx.

◆ IsA()

virtual TClass * TAlienPackage::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 98 of file TAlienPackage.h.

◆ IsDirectory()

Bool_t TAlienPackage::IsDirectory ( const char *  dir1,
const char *  str 
)

Check that <str> is listed in GRID directory <dir1>.

Definition at line 186 of file TAlienPackage.cxx.

◆ PostInstall()

Bool_t TAlienPackage::PostInstall ( TString  name,
TString  version 
)
private

Execute post_install procedure for a package.

Definition at line 250 of file TAlienPackage.cxx.

◆ ReInstall()

Bool_t TAlienPackage::ReInstall ( )

Reinstalls a package e.g. uninstall + install.

Definition at line 237 of file TAlienPackage.cxx.

◆ SetAliEnMainPackageDir()

void TAlienPackage::SetAliEnMainPackageDir ( const TString theValue)
inline

Definition at line 85 of file TAlienPackage.h.

◆ SetDebugLevel()

void TAlienPackage::SetDebugLevel ( Int_t theValue)
inline

Definition at line 93 of file TAlienPackage.h.

◆ SetInstallationDirectory()

void TAlienPackage::SetInstallationDirectory ( const TString theValue)
inline

Definition at line 81 of file TAlienPackage.h.

◆ SetInstallList()

void TAlienPackage::SetInstallList ( TList theValue)
inline

Definition at line 89 of file TAlienPackage.h.

◆ SetName()

void TAlienPackage::SetName ( const TString theValue)
inline

Definition at line 69 of file TAlienPackage.h.

◆ SetPlatform()

void TAlienPackage::SetPlatform ( const TString theValue)
inline

Definition at line 77 of file TAlienPackage.h.

◆ SetVersion()

void TAlienPackage::SetVersion ( const TString theValue)
inline

Definition at line 73 of file TAlienPackage.h.

◆ Streamer()

virtual void TAlienPackage::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TAlienPackage::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 98 of file TAlienPackage.h.

◆ UnInstall()

Bool_t TAlienPackage::UnInstall ( )

Uninstall a package e.g. remove it from the local disk.

Definition at line 172 of file TAlienPackage.cxx.

Member Data Documentation

◆ fAliEnMainPackageDir

TString TAlienPackage::fAliEnMainPackageDir
private

Definition at line 37 of file TAlienPackage.h.

◆ fDebugLevel

Int_t TAlienPackage::fDebugLevel
private

Definition at line 42 of file TAlienPackage.h.

◆ fEnableCommand

TString TAlienPackage::fEnableCommand
private

Definition at line 39 of file TAlienPackage.h.

◆ fEnabled

Bool_t TAlienPackage::fEnabled
private

Definition at line 43 of file TAlienPackage.h.

◆ fInstallationDirectory

TString TAlienPackage::fInstallationDirectory
private

Definition at line 36 of file TAlienPackage.h.

◆ fInstallList

TList* TAlienPackage::fInstallList
private

Definition at line 40 of file TAlienPackage.h.

◆ fName

TString TAlienPackage::fName
private

Definition at line 33 of file TAlienPackage.h.

◆ fPackages

TList* TAlienPackage::fPackages
private

Definition at line 41 of file TAlienPackage.h.

◆ fPlatform

TString TAlienPackage::fPlatform
private

Definition at line 35 of file TAlienPackage.h.

◆ fPostInstallCommand

TString TAlienPackage::fPostInstallCommand
private

Definition at line 38 of file TAlienPackage.h.

◆ fVersion

TString TAlienPackage::fVersion
private

Definition at line 34 of file TAlienPackage.h.

  • net/alien/inc/TAlienPackage.h
  • net/alien/src/TAlienPackage.cxx