Logo ROOT   6.14/05
Reference Guide
Classes | Enumerations | Functions | Variables
TSystem.h File Reference
#include <stdio.h>
#include <ctype.h>
#include <fcntl.h>
#include <unistd.h>
#include "TNamed.h"
#include "TString.h"
#include "TInetAddress.h"
#include "TTimer.h"
#include "ThreadLocalStorage.h"
Include dependency graph for TSystem.h:

Classes

struct  CpuInfo_t
 
struct  FileStat_t
 
struct  MemInfo_t
 
struct  ProcInfo_t
 
struct  RedirectHandle_t
 
struct  SysInfo_t
 
class  TProcessEventTimer
 
class  TSystem
 Abstract base class defining a generic interface to the underlying Operating System. More...
 
struct  UserGroup_t
 

Enumerations

enum  EAccessMode { kFileExists = 0, kExecutePermission = 1, kWritePermission = 2, kReadPermission = 4 }
 
enum  EFileModeMask {
  kS_IFMT = 0170000, kS_IFSOCK = 0140000, kS_IFLNK = 0120000, kS_IFOFF = 0110000,
  kS_IFREG = 0100000, kS_IFBLK = 0060000, kS_IFDIR = 0040000, kS_IFCHR = 0020000,
  kS_IFIFO = 0010000, kS_ISUID = 0004000, kS_ISGID = 0002000, kS_ISVTX = 0001000,
  kS_IRWXU = 00700, kS_IRUSR = 00400, kS_IWUSR = 00200, kS_IXUSR = 00100,
  kS_IRWXG = 00070, kS_IRGRP = 00040, kS_IWGRP = 00020, kS_IXGRP = 00010,
  kS_IRWXO = 00007, kS_IROTH = 00004, kS_IWOTH = 00002, kS_IXOTH = 00001
}
 
enum  EFpeMask {
  kNoneMask = 0x00, kInvalid = 0x01, kDivByZero = 0x02, kOverflow = 0x04,
  kUnderflow = 0x08, kInexact = 0x10, kDefaultMask = 0x07, kAllMask = 0x1F
}
 
enum  ELogFacility {
  kLogLocal0, kLogLocal1, kLogLocal2, kLogLocal3,
  kLogLocal4, kLogLocal5, kLogLocal6, kLogLocal7
}
 
enum  ELogLevel {
  kLogEmerg = 0, kLogAlert = 1, kLogCrit = 2, kLogErr = 3,
  kLogWarning = 4, kLogNotice = 5, kLogInfo = 6, kLogDebug = 7
}
 
enum  ELogOption { kLogPid = 0x01, kLogCons = 0x02 }
 

Functions

Bool_t R_ISBLK (Int_t mode)
 
Bool_t R_ISCHR (Int_t mode)
 
Bool_t R_ISDIR (Int_t mode)
 
Bool_t R_ISFIFO (Int_t mode)
 
Bool_t R_ISLNK (Int_t mode)
 
Bool_t R_ISOFF (Int_t mode)
 
Bool_t R_ISREG (Int_t mode)
 
Bool_t R_ISSOCK (Int_t mode)
 
typedef void ((*Func_t)())
 

Variables

R__EXTERN const char * gProgName
 
R__EXTERN const char * gProgPath
 
R__EXTERN const char * gRootDir
 
R__EXTERN TSystemgSystem
 
R__EXTERN TVirtualMutexgSystemMutex
 
R__EXTERN TFileHandlergXDisplay
 

Enumeration Type Documentation

◆ EAccessMode

Enumerator
kFileExists 
kExecutePermission 
kWritePermission 
kReadPermission 

Definition at line 44 of file TSystem.h.

◆ EFileModeMask

Enumerator
kS_IFMT 
kS_IFSOCK 
kS_IFLNK 
kS_IFOFF 
kS_IFREG 
kS_IFBLK 
kS_IFDIR 
kS_IFCHR 
kS_IFIFO 
kS_ISUID 
kS_ISGID 
kS_ISVTX 
kS_IRWXU 
kS_IRUSR 
kS_IWUSR 
kS_IXUSR 
kS_IRWXG 
kS_IRGRP 
kS_IWGRP 
kS_IXGRP 
kS_IRWXO 
kS_IROTH 
kS_IWOTH 
kS_IXOTH 

Definition at line 89 of file TSystem.h.

◆ EFpeMask

enum EFpeMask
Enumerator
kNoneMask 
kInvalid 
kDivByZero 
kOverflow 
kUnderflow 
kInexact 
kDefaultMask 
kAllMask 

Definition at line 78 of file TSystem.h.

◆ ELogFacility

Enumerator
kLogLocal0 
kLogLocal1 
kLogLocal2 
kLogLocal3 
kLogLocal4 
kLogLocal5 
kLogLocal6 
kLogLocal7 

Definition at line 67 of file TSystem.h.

◆ ELogLevel

enum ELogLevel
Enumerator
kLogEmerg 
kLogAlert 
kLogCrit 
kLogErr 
kLogWarning 
kLogNotice 
kLogInfo 
kLogDebug 

Definition at line 56 of file TSystem.h.

◆ ELogOption

enum ELogOption
Enumerator
kLogPid 
kLogCons 

Definition at line 51 of file TSystem.h.

Function Documentation

◆ R_ISBLK()

Bool_t R_ISBLK ( Int_t  mode)
inline

Definition at line 118 of file TSystem.h.

◆ R_ISCHR()

Bool_t R_ISCHR ( Int_t  mode)
inline

Definition at line 117 of file TSystem.h.

◆ R_ISDIR()

Bool_t R_ISDIR ( Int_t  mode)
inline

Definition at line 116 of file TSystem.h.

◆ R_ISFIFO()

Bool_t R_ISFIFO ( Int_t  mode)
inline

Definition at line 121 of file TSystem.h.

◆ R_ISLNK()

Bool_t R_ISLNK ( Int_t  mode)
inline

Definition at line 120 of file TSystem.h.

◆ R_ISOFF()

Bool_t R_ISOFF ( Int_t  mode)
inline

Definition at line 123 of file TSystem.h.

◆ R_ISREG()

Bool_t R_ISREG ( Int_t  mode)
inline

Definition at line 119 of file TSystem.h.

◆ R_ISSOCK()

Bool_t R_ISSOCK ( Int_t  mode)
inline

Definition at line 122 of file TSystem.h.

◆ void()

typedef void ( (*)()  Func_t)

Variable Documentation

◆ gProgName

R__EXTERN const char* gProgName

Definition at line 224 of file TSystem.h.

◆ gProgPath

R__EXTERN const char* gProgPath

Definition at line 225 of file TSystem.h.

◆ gRootDir

R__EXTERN const char* gRootDir

Definition at line 223 of file TSystem.h.

◆ gSystem

R__EXTERN TSystem* gSystem

Definition at line 540 of file TSystem.h.

◆ gSystemMutex

R__EXTERN TVirtualMutex* gSystemMutex

Definition at line 226 of file TSystem.h.

◆ gXDisplay

R__EXTERN TFileHandler* gXDisplay

Definition at line 541 of file TSystem.h.