Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TSystem.h File Reference
#include <cstdio>
#include <cctype>
#include <fcntl.h>
#include <unistd.h>
#include "TNamed.h"
#include "TInetAddress.h"
#include "TTimer.h"
#include <string>
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
 

Typedefs

typedef void(* Func_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 }
 
enum  ESendRecvOptions { kDefault , kOob , kPeek , kDontBlock }
 
enum  ESockOptions {
  kSendBuffer , kRecvBuffer , kOobInline , kKeepAlive ,
  kReuseAddr , kNoDelay , kNoBlock , kProcessGroup ,
  kAtMark , kBytesToRead
}
 

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)
 

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
 

Typedef Documentation

◆ Func_t

typedef void(* Func_t) ()

Definition at line 238 of file TSystem.h.

Enumeration Type Documentation

◆ EAccessMode

Enumerator
kFileExists 
kExecutePermission 
kWritePermission 
kReadPermission 

Definition at line 43 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 88 of file TSystem.h.

◆ EFpeMask

enum EFpeMask
Enumerator
kNoneMask 
kInvalid 
kDivByZero 
kOverflow 
kUnderflow 
kInexact 
kDefaultMask 
kAllMask 

Definition at line 77 of file TSystem.h.

◆ ELogFacility

Enumerator
kLogLocal0 
kLogLocal1 
kLogLocal2 
kLogLocal3 
kLogLocal4 
kLogLocal5 
kLogLocal6 
kLogLocal7 

Definition at line 66 of file TSystem.h.

◆ ELogLevel

enum ELogLevel
Enumerator
kLogEmerg 
kLogAlert 
kLogCrit 
kLogErr 
kLogWarning 
kLogNotice 
kLogInfo 
kLogDebug 

Definition at line 55 of file TSystem.h.

◆ ELogOption

enum ELogOption
Enumerator
kLogPid 
kLogCons 

Definition at line 50 of file TSystem.h.

◆ ESendRecvOptions

Enumerator
kDefault 
kOob 
kPeek 
kDontBlock 

Definition at line 228 of file TSystem.h.

◆ ESockOptions

Enumerator
kSendBuffer 
kRecvBuffer 
kOobInline 
kKeepAlive 
kReuseAddr 
kNoDelay 
kNoBlock 
kProcessGroup 
kAtMark 
kBytesToRead 

Definition at line 215 of file TSystem.h.

Function Documentation

◆ R_ISBLK()

Bool_t R_ISBLK ( Int_t  mode)
inline

Definition at line 117 of file TSystem.h.

◆ R_ISCHR()

Bool_t R_ISCHR ( Int_t  mode)
inline

Definition at line 116 of file TSystem.h.

◆ R_ISDIR()

Bool_t R_ISDIR ( Int_t  mode)
inline

Definition at line 115 of file TSystem.h.

◆ R_ISFIFO()

Bool_t R_ISFIFO ( Int_t  mode)
inline

Definition at line 120 of file TSystem.h.

◆ R_ISLNK()

Bool_t R_ISLNK ( Int_t  mode)
inline

Definition at line 119 of file TSystem.h.

◆ R_ISOFF()

Bool_t R_ISOFF ( Int_t  mode)
inline

Definition at line 122 of file TSystem.h.

◆ R_ISREG()

Bool_t R_ISREG ( Int_t  mode)
inline

Definition at line 118 of file TSystem.h.

◆ R_ISSOCK()

Bool_t R_ISSOCK ( Int_t  mode)
inline

Definition at line 121 of file TSystem.h.

Variable Documentation

◆ gProgName

R__EXTERN const char* gProgName

Definition at line 242 of file TSystem.h.

◆ gProgPath

R__EXTERN const char* gProgPath

Definition at line 243 of file TSystem.h.

◆ gRootDir

R__EXTERN const char* gRootDir

Definition at line 241 of file TSystem.h.

◆ gSystem

R__EXTERN TSystem* gSystem

Definition at line 560 of file TSystem.h.

◆ gSystemMutex

R__EXTERN TVirtualMutex* gSystemMutex

Definition at line 244 of file TSystem.h.

◆ gXDisplay

R__EXTERN TFileHandler* gXDisplay

Definition at line 561 of file TSystem.h.