ROOT
6.07/01
Reference Guide
|
Abstract base class defining a generic interface to the underlying Operating System.
This is not an ABC in the strict sense of the (C++) word. For every member function there is an implementation (often not more than a call to AbstractMethod() which prints a warning saying that the method should be overridden in a derived class), which allows a simple partial implementation for new OS'es.
Public Types | |
enum | EAclicMode { kDefault, kDebug, kOpt } |
enum | EAclicProperties { kFlatBuildDir = BIT(0) } |
Public Types inherited from TObject | |
enum | EStatusBits { kCanDelete = BIT(0), kMustCleanup = BIT(3), kObjInCanvas = BIT(3), kIsReferenced = BIT(4), kHasUUID = BIT(5), kCannotPick = BIT(6), kNoContextMenu = BIT(8), kInvalidObject = BIT(13) } |
enum | { kIsOnHeap = 0x01000000, kNotDeleted = 0x02000000, kZombie = 0x04000000, kBitMask = 0x00ffffff } |
enum | { kSingleKey = BIT(0), kOverwrite = BIT(1), kWriteDelete = BIT(2) } |
Public Member Functions | |
TSystem (const char *name="Generic", const char *title="Generic System") | |
Create a new OS interface. More... | |
virtual | ~TSystem () |
Delete the OS interface. More... | |
virtual Bool_t | Init () |
Initialize the OS interface. More... | |
virtual void | SetProgname (const char *name) |
Set the application name (from command line, argv[0]) and copy it in gProgName. More... | |
virtual void | SetDisplay () |
Set DISPLAY environment variable based on utmp entry. Only for UNIX. More... | |
void | SetErrorStr (const char *errstr) |
Set the system error string. More... | |
const char * | GetErrorStr () const |
virtual const char * | GetError () |
Return system error string. More... | |
void | RemoveOnExit (TObject *obj) |
Objects that should be deleted on exit of the OS interface. More... | |
virtual const char * | HostName () |
Return the system's host name. More... | |
virtual void | NotifyApplicationCreated () |
Hook to tell TSystem that the TApplication object has been created. More... | |
void | Beep (Int_t freq=-1, Int_t duration=-1, Bool_t setDefault=kFALSE) |
Beep for duration milliseconds with a tone of frequency freq. More... | |
void | GetBeepDefaults (Int_t &freq, Int_t &duration) const |
virtual void | Run () |
System event loop. More... | |
virtual Bool_t | ProcessEvents () |
Process pending events (GUI, timers, sockets). More... | |
virtual void | DispatchOneEvent (Bool_t pendingOnly=kFALSE) |
Dispatch a single event. More... | |
virtual void | ExitLoop () |
Exit from event loop. More... | |
Bool_t | InControl () const |
virtual void | InnerLoop () |
Inner event loop. More... | |
virtual Int_t | Select (TList *active, Long_t timeout) |
Select on active file descriptors (called by TMonitor). More... | |
virtual Int_t | Select (TFileHandler *fh, Long_t timeout) |
Select on active file descriptors (called by TMonitor). More... | |
virtual void | AddSignalHandler (TSignalHandler *sh) |
Add a signal handler to list of system signal handlers. More... | |
virtual TSignalHandler * | RemoveSignalHandler (TSignalHandler *sh) |
Remove a signal handler from list of signal handlers. More... | |
virtual void | ResetSignal (ESignals sig, Bool_t reset=kTRUE) |
If reset is true reset the signal handler for the specified signal to the default handler, else restore previous behaviour. More... | |
virtual void | ResetSignals () |
Reset signals handlers to previous behaviour. More... | |
virtual void | IgnoreSignal (ESignals sig, Bool_t ignore=kTRUE) |
If ignore is true ignore the specified signal, else restore previous behaviour. More... | |
virtual void | IgnoreInterrupt (Bool_t ignore=kTRUE) |
If ignore is true ignore the interrupt signal, else restore previous behaviour. More... | |
virtual TSeqCollection * | GetListOfSignalHandlers () const |
virtual void | AddFileHandler (TFileHandler *fh) |
Add a file handler to the list of system file handlers. More... | |
virtual TFileHandler * | RemoveFileHandler (TFileHandler *fh) |
Remove a file handler from the list of file handlers. More... | |
virtual TSeqCollection * | GetListOfFileHandlers () const |
virtual void | AddStdExceptionHandler (TStdExceptionHandler *eh) |
Add an exception handler to list of system exception handlers. More... | |
virtual TStdExceptionHandler * | RemoveStdExceptionHandler (TStdExceptionHandler *eh) |
Remove an exception handler from list of exception handlers. More... | |
virtual TSeqCollection * | GetListOfStdExceptionHandlers () const |
virtual Int_t | GetFPEMask () |
Return the bitmap of conditions that trigger a floating point exception. More... | |
virtual Int_t | SetFPEMask (Int_t mask=kDefaultMask) |
Set which conditions trigger a floating point exception. More... | |
virtual TTime | Now () |
Get current time in milliseconds since 0:00 Jan 1 1995. More... | |
virtual TSeqCollection * | GetListOfTimers () const |
virtual void | AddTimer (TTimer *t) |
Add timer to list of system timers. More... | |
virtual TTimer * | RemoveTimer (TTimer *t) |
Remove timer from list of system timers. More... | |
virtual void | ResetTimer (TTimer *) |
virtual Long_t | NextTimeOut (Bool_t mode) |
Time when next timer of mode (synchronous=kTRUE or asynchronous=kFALSE) will time-out (in ms). More... | |
virtual void | Sleep (UInt_t milliSec) |
Sleep milliSec milli seconds. More... | |
virtual Int_t | Exec (const char *shellcmd) |
Execute a command. More... | |
virtual FILE * | OpenPipe (const char *command, const char *mode) |
Open a pipe. More... | |
virtual int | ClosePipe (FILE *pipe) |
Close the pipe. More... | |
virtual TString | GetFromPipe (const char *command) |
Execute command and return output in TString. More... | |
virtual void | Exit (int code, Bool_t mode=kTRUE) |
Exit the application. More... | |
virtual void | Abort (int code=0) |
Abort the application. More... | |
virtual int | GetPid () |
Get process id. More... | |
virtual void | StackTrace () |
Print a stack trace. More... | |
virtual int | MakeDirectory (const char *name) |
Make a directory. More... | |
virtual void * | OpenDirectory (const char *name) |
Open a directory. Returns 0 if directory does not exist. More... | |
virtual void | FreeDirectory (void *dirp) |
Free a directory. More... | |
virtual const char * | GetDirEntry (void *dirp) |
Get a directory entry. Returns 0 if no more entries. More... | |
virtual void * | GetDirPtr () const |
virtual Bool_t | ChangeDirectory (const char *path) |
Change directory. More... | |
virtual const char * | WorkingDirectory () |
Return working directory. More... | |
virtual const char * | HomeDirectory (const char *userName=0) |
Return the user's home directory. More... | |
virtual int | mkdir (const char *name, Bool_t recursive=kFALSE) |
Make a file system directory. More... | |
Bool_t | cd (const char *path) |
const char * | pwd () |
virtual const char * | TempDirectory () const |
Return a user configured or systemwide directory to create temporary files in. More... | |
virtual FILE * | TempFileName (TString &base, const char *dir=0) |
Create a secure temporary file by appending a unique 6 letter string to base. More... | |
virtual const char * | BaseName (const char *pathname) |
Base name of a file name. Base name of /user/root is root. More... | |
virtual const char * | DirName (const char *pathname) |
Return the directory name in pathname. More... | |
virtual char * | ConcatFileName (const char *dir, const char *name) |
Concatenate a directory and a file name. User must delete returned string. More... | |
virtual Bool_t | IsAbsoluteFileName (const char *dir) |
Return true if dir is an absolute pathname. More... | |
virtual Bool_t | IsFileInIncludePath (const char *name, char **fullpath=0) |
Return true if 'name' is a file that can be found in the ROOT include path or the current directory. More... | |
virtual const char * | PrependPathName (const char *dir, TString &name) |
Concatenate a directory and a file name. More... | |
virtual Bool_t | ExpandPathName (TString &path) |
Expand a pathname getting rid of special shell characters like ~. More... | |
virtual char * | ExpandPathName (const char *path) |
Expand a pathname getting rid of special shell characters like ~. More... | |
virtual Bool_t | AccessPathName (const char *path, EAccessMode mode=kFileExists) |
Returns FALSE if one can access a file using the specified access mode. More... | |
virtual Bool_t | IsPathLocal (const char *path) |
Returns TRUE if the url in 'path' points to the local file system. More... | |
virtual int | CopyFile (const char *from, const char *to, Bool_t overwrite=kFALSE) |
Copy a file. More... | |
virtual int | Rename (const char *from, const char *to) |
Rename a file. More... | |
virtual int | Link (const char *from, const char *to) |
Create a link from file1 to file2. More... | |
virtual int | Symlink (const char *from, const char *to) |
Create a symbolic link from file1 to file2. More... | |
virtual int | Unlink (const char *name) |
Unlink, i.e. remove, a file. More... | |
int | GetPathInfo (const char *path, Long_t *id, Long_t *size, Long_t *flags, Long_t *modtime) |
Get info about a file: id, size, flags, modification time. More... | |
int | GetPathInfo (const char *path, Long_t *id, Long64_t *size, Long_t *flags, Long_t *modtime) |
Get info about a file: id, size, flags, modification time. More... | |
virtual int | GetPathInfo (const char *path, FileStat_t &buf) |
Get info about a file. More... | |
virtual int | GetFsInfo (const char *path, Long_t *id, Long_t *bsize, Long_t *blocks, Long_t *bfree) |
Get info about a file system: fs type, block size, number of blocks, number of free blocks. More... | |
virtual int | Chmod (const char *file, UInt_t mode) |
Set the file permission bits. Returns -1 in case or error, 0 otherwise. More... | |
virtual int | Umask (Int_t mask) |
Set the process file creation mode mask. More... | |
virtual int | Utime (const char *file, Long_t modtime, Long_t actime) |
Set the a files modification and access times. More... | |
virtual const char * | UnixPathName (const char *unixpathname) |
Convert from a Unix pathname to a local pathname. More... | |
virtual const char * | FindFile (const char *search, TString &file, EAccessMode mode=kFileExists) |
Find location of file in a search path. More... | |
virtual char * | Which (const char *search, const char *file, EAccessMode mode=kFileExists) |
Find location of file in a search path. More... | |
virtual TList * | GetVolumes (Option_t *) const |
virtual Int_t | GetUid (const char *user=0) |
Returns the user's id. If user = 0, returns current user's id. More... | |
virtual Int_t | GetGid (const char *group=0) |
Returns the group's id. If group = 0, returns current user's group. More... | |
virtual Int_t | GetEffectiveUid () |
Returns the effective user id. More... | |
virtual Int_t | GetEffectiveGid () |
Returns the effective group id. More... | |
virtual UserGroup_t * | GetUserInfo (Int_t uid) |
Returns all user info in the UserGroup_t structure. More... | |
virtual UserGroup_t * | GetUserInfo (const char *user=0) |
Returns all user info in the UserGroup_t structure. More... | |
virtual UserGroup_t * | GetGroupInfo (Int_t gid) |
Returns all group info in the UserGroup_t structure. More... | |
virtual UserGroup_t * | GetGroupInfo (const char *group=0) |
Returns all group info in the UserGroup_t structure. More... | |
virtual void | Setenv (const char *name, const char *value) |
Set environment variable. More... | |
virtual void | Unsetenv (const char *name) |
Unset environment variable. More... | |
virtual const char * | Getenv (const char *env) |
Get environment variable. More... | |
virtual void | Openlog (const char *name, Int_t options, ELogFacility facility) |
Open connection to system log daemon. More... | |
virtual void | Syslog (ELogLevel level, const char *mess) |
Send mess to syslog daemon. More... | |
virtual void | Closelog () |
Close connection to system log daemon. More... | |
virtual Int_t | RedirectOutput (const char *name, const char *mode="a", RedirectHandle_t *h=0) |
Redirect standard output (stdout, stderr) to the specified file. More... | |
virtual void | ShowOutput (RedirectHandle_t *h) |
Display the content associated with the redirection described by the opaque handle 'h'. More... | |
virtual void | AddDynamicPath (const char *pathname) |
Add a new directory to the dynamic path. More... | |
virtual const char * | GetDynamicPath () |
Return the dynamic path (used to find shared libraries). More... | |
virtual void | SetDynamicPath (const char *pathname) |
Set the dynamic path to a new value. More... | |
char * | DynamicPathName (const char *lib, Bool_t quiet=kFALSE) |
Find a dynamic library called lib using the system search paths. More... | |
virtual const char * | FindDynamicLibrary (TString &lib, Bool_t quiet=kFALSE) |
Find a dynamic library using the system search paths. More... | |
virtual Func_t | DynFindSymbol (const char *module, const char *entry) |
Find specific entry point in specified library. More... | |
virtual int | Load (const char *module, const char *entry="", Bool_t system=kFALSE) |
Load a shared library. More... | |
virtual void | Unload (const char *module) |
Unload a shared library. More... | |
virtual void | ListSymbols (const char *module, const char *re="") |
List symbols in a shared library. More... | |
virtual void | ListLibraries (const char *regexp="") |
List all loaded shared libraries. More... | |
virtual const char * | GetLibraries (const char *regexp="", const char *option="", Bool_t isRegexp=kTRUE) |
Return a space separated list of loaded shared libraries. More... | |
virtual TInetAddress | GetHostByName (const char *server) |
Get Internet Protocol (IP) address of host. More... | |
virtual TInetAddress | GetPeerName (int sock) |
Get Internet Protocol (IP) address of remote host and port #. More... | |
virtual TInetAddress | GetSockName (int sock) |
Get Internet Protocol (IP) address of host and port #. More... | |
virtual int | GetServiceByName (const char *service) |
Get port # of internet service. More... | |
virtual char * | GetServiceByPort (int port) |
Get name of internet service. More... | |
virtual int | OpenConnection (const char *server, int port, int tcpwindowsize=-1, const char *protocol="tcp") |
Open a connection to another host. More... | |
virtual int | AnnounceTcpService (int port, Bool_t reuse, int backlog, int tcpwindowsize=-1) |
Announce TCP/IP service. More... | |
virtual int | AnnounceUdpService (int port, int backlog) |
Announce UDP service. More... | |
virtual int | AnnounceUnixService (int port, int backlog) |
Announce unix domain service. More... | |
virtual int | AnnounceUnixService (const char *sockpath, int backlog) |
Announce unix domain service. More... | |
virtual int | AcceptConnection (int sock) |
Accept a connection. More... | |
virtual void | CloseConnection (int sock, Bool_t force=kFALSE) |
Close socket connection. More... | |
virtual int | RecvRaw (int sock, void *buffer, int length, int flag) |
Receive exactly length bytes into buffer. More... | |
virtual int | SendRaw (int sock, const void *buffer, int length, int flag) |
Send exactly length bytes from buffer. More... | |
virtual int | RecvBuf (int sock, void *buffer, int length) |
Receive a buffer headed by a length indicator. More... | |
virtual int | SendBuf (int sock, const void *buffer, int length) |
Send a buffer headed by a length indicator. More... | |
virtual int | SetSockOpt (int sock, int kind, int val) |
Set socket option. More... | |
virtual int | GetSockOpt (int sock, int kind, int *val) |
Get socket option. More... | |
virtual int | GetSysInfo (SysInfo_t *info) const |
Returns static system info, like OS type, CPU type, number of CPUs RAM size, etc into the SysInfo_t structure. More... | |
virtual int | GetCpuInfo (CpuInfo_t *info, Int_t sampleTime=1000) const |
Returns cpu load average and load info into the CpuInfo_t structure. More... | |
virtual int | GetMemInfo (MemInfo_t *info) const |
Returns ram and swap memory usage info into the MemInfo_t structure. More... | |
virtual int | GetProcInfo (ProcInfo_t *info) const |
Returns cpu and memory used by this process into the ProcInfo_t structure. More... | |
virtual void | AddIncludePath (const char *includePath) |
Add includePath to the already set include path. More... | |
virtual void | AddLinkedLibs (const char *linkedLib) |
Add linkedLib to already set linked libs. More... | |
virtual int | CompileMacro (const char *filename, Option_t *opt="", const char *library_name="", const char *build_dir="", UInt_t dirmode=0) |
This method compiles and loads a shared library containing the code from the file "filename". More... | |
virtual Int_t | GetAclicProperties () const |
Return the ACLiC properties field. More... | |
virtual const char * | GetBuildArch () const |
Return the build architecture. More... | |
virtual const char * | GetBuildCompiler () const |
Return the build compiler. More... | |
virtual const char * | GetBuildCompilerVersion () const |
Return the build compiler version. More... | |
virtual const char * | GetBuildNode () const |
Return the build node name. More... | |
virtual const char * | GetBuildDir () const |
Return the path of the build directory. More... | |
virtual const char * | GetFlagsDebug () const |
Return the debug flags. More... | |
virtual const char * | GetFlagsOpt () const |
Return the optimization flags. More... | |
virtual const char * | GetIncludePath () |
Get the list of include path. More... | |
virtual const char * | GetLinkedLibs () const |
Return the list of library linked to this executable. More... | |
virtual const char * | GetLinkdefSuffix () const |
Return the linkdef suffix chosen by the user for ACLiC. More... | |
virtual EAclicMode | GetAclicMode () const |
AclicMode indicates whether the library should be built in debug mode or optimized. More... | |
virtual const char * | GetMakeExe () const |
Return the command line use to make an executable. More... | |
virtual const char * | GetMakeSharedLib () const |
Return the command line use to make a shared library. More... | |
virtual const char * | GetSoExt () const |
Get the shared library extension. More... | |
virtual const char * | GetObjExt () const |
Get the object file extension. More... | |
virtual void | SetBuildDir (const char *build_dir, Bool_t isflat=kFALSE) |
Set the location where ACLiC will create libraries and use as a scratch area. More... | |
virtual void | SetFlagsDebug (const char *) |
FlagsDebug should contain the options to pass to the C++ compiler in order to compile the library in debug mode. More... | |
virtual void | SetFlagsOpt (const char *) |
FlagsOpt should contain the options to pass to the C++ compiler in order to compile the library in optimized mode. More... | |
virtual void | SetIncludePath (const char *includePath) |
IncludePath should contain the list of compiler flags to indicate where to find user defined header files. More... | |
virtual void | SetMakeExe (const char *directives) |
Directives has the same syntax as the argument of SetMakeSharedLib but is used to create an executable. More... | |
virtual void | SetAclicMode (EAclicMode mode) |
AclicMode indicates whether the library should be built in debug mode or optimized. More... | |
virtual void | SetMakeSharedLib (const char *directives) |
Directives should contain the description on how to compile and link a shared lib. More... | |
virtual void | SetLinkedLibs (const char *linkedLibs) |
LinkedLibs should contain the library directory and list of libraries needed to recreate the current executable. More... | |
virtual void | SetLinkdefSuffix (const char *suffix) |
The 'suffix' will be appended to the name of a script loaded by ACLiC and used to locate any eventual additional linkdef information that ACLiC should used to produce the dictionary. More... | |
virtual void | SetSoExt (const char *soExt) |
Set shared library extension, should be either .so, .sl, .a, .dll, etc. More... | |
virtual void | SetObjExt (const char *objExt) |
Set object files extension, should be either .o, .obj, etc. More... | |
virtual TString | SplitAclicMode (const char *filename, TString &mode, TString &args, TString &io) const |
This method split a filename of the form: ~~~ {.cpp} [path/]macro.C[+|++[k|f|g|O|c|s|d|v|-]][(args)]. More... | |
virtual void | CleanCompiledMacros () |
Remove the shared libs produced by the CompileMacro() function. More... | |
Public Member Functions inherited from TNamed | |
TNamed () | |
TNamed (const char *name, const char *title) | |
TNamed (const TString &name, const TString &title) | |
TNamed (const TNamed &named) | |
TNamed & | operator= (const TNamed &rhs) |
TNamed assignment operator. More... | |
virtual | ~TNamed () |
virtual void | Clear (Option_t *option="") |
Set name and title to empty strings (""). More... | |
virtual TObject * | Clone (const char *newname="") const |
Make a clone of an object using the Streamer facility. More... | |
virtual Int_t | Compare (const TObject *obj) const |
Compare two TNamed objects. More... | |
virtual void | Copy (TObject &named) const |
Copy this to obj. More... | |
virtual void | FillBuffer (char *&buffer) |
Encode TNamed into output buffer. More... | |
virtual const char * | GetName () const |
Returns name of object. More... | |
virtual const char * | GetTitle () const |
Returns title of object. More... | |
virtual ULong_t | Hash () const |
Return hash value for this object. More... | |
virtual Bool_t | IsSortable () const |
virtual void | SetName (const char *name) |
Change (i.e. More... | |
virtual void | SetNameTitle (const char *name, const char *title) |
Change (i.e. set) all the TNamed parameters (name and title). More... | |
virtual void | SetTitle (const char *title="") |
Change (i.e. set) the title of the TNamed. More... | |
virtual void | ls (Option_t *option="") const |
List TNamed name and title. More... | |
virtual void | Print (Option_t *option="") const |
Print TNamed name and title. More... | |
virtual Int_t | Sizeof () const |
Return size of the TNamed part of the TObject. More... | |
Public Member Functions inherited from TObject | |
TObject () | |
TObject (const TObject &object) | |
TObject copy ctor. More... | |
TObject & | operator= (const TObject &rhs) |
TObject assignment operator. More... | |
virtual | ~TObject () |
TObject destructor. More... | |
virtual void | AppendPad (Option_t *option="") |
Append graphics object to current pad. More... | |
virtual void | Browse (TBrowser *b) |
Browse object. May be overridden for another default action. More... | |
virtual const char * | ClassName () const |
Returns name of class to which the object belongs. More... | |
virtual void | Delete (Option_t *option="") |
Delete this object. More... | |
virtual Int_t | DistancetoPrimitive (Int_t px, Int_t py) |
Computes distance from point (px,py) to the object. More... | |
virtual void | Draw (Option_t *option="") |
Default Draw method for all objects. More... | |
virtual void | DrawClass () const |
Draw class inheritance tree of the class to which this object belongs. More... | |
virtual TObject * | DrawClone (Option_t *option="") const |
Draw a clone of this object in the current pad. More... | |
virtual void | Dump () const |
Dump contents of object on stdout. More... | |
virtual void | Execute (const char *method, const char *params, Int_t *error=0) |
Execute method on this object with the given parameter string, e.g. More... | |
virtual void | Execute (TMethod *method, TObjArray *params, Int_t *error=0) |
Execute method on this object with parameters stored in the TObjArray. More... | |
virtual void | ExecuteEvent (Int_t event, Int_t px, Int_t py) |
Execute action corresponding to an event at (px,py). More... | |
virtual TObject * | FindObject (const char *name) const |
Must be redefined in derived classes. More... | |
virtual TObject * | FindObject (const TObject *obj) const |
Must be redefined in derived classes. More... | |
virtual Option_t * | GetDrawOption () const |
Get option used by the graphics system to draw this object. More... | |
virtual UInt_t | GetUniqueID () const |
Return the unique object id. More... | |
virtual const char * | GetIconName () const |
Returns mime type name of object. More... | |
virtual Option_t * | GetOption () const |
virtual char * | GetObjectInfo (Int_t px, Int_t py) const |
Returns string containing info about the object at position (px,py). More... | |
virtual Bool_t | HandleTimer (TTimer *timer) |
Execute action in response of a timer timing out. More... | |
virtual Bool_t | InheritsFrom (const char *classname) const |
Returns kTRUE if object inherits from class "classname". More... | |
virtual Bool_t | InheritsFrom (const TClass *cl) const |
Returns kTRUE if object inherits from TClass cl. More... | |
virtual void | Inspect () const |
Dump contents of this object in a graphics canvas. More... | |
virtual Bool_t | IsFolder () const |
Returns kTRUE in case object contains browsable objects (like containers or lists of other objects). More... | |
virtual Bool_t | IsEqual (const TObject *obj) const |
Default equal comparison (objects are equal if they have the same address in memory). More... | |
Bool_t | IsOnHeap () const |
Bool_t | IsZombie () const |
virtual Bool_t | Notify () |
This method must be overridden to handle object notification. More... | |
virtual void | Paint (Option_t *option="") |
This method must be overridden if a class wants to paint itself. More... | |
virtual void | Pop () |
Pop on object drawn in a pad to the top of the display list. More... | |
virtual Int_t | Read (const char *name) |
Read contents of object with specified name from the current directory. More... | |
virtual void | RecursiveRemove (TObject *obj) |
Recursively remove this object from a list. More... | |
virtual void | SaveAs (const char *filename="", Option_t *option="") const |
Save this object in the file specified by filename. More... | |
virtual void | SavePrimitive (std::ostream &out, Option_t *option="") |
Save a primitive as a C++ statement(s) on output stream "out". More... | |
virtual void | SetDrawOption (Option_t *option="") |
Set drawing option for object. More... | |
virtual void | SetUniqueID (UInt_t uid) |
Set the unique object id. More... | |
virtual void | UseCurrentStyle () |
Set current style settings in this object This function is called when either TCanvas::UseCurrentStyle or TROOT::ForceStyle have been invoked. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) |
Write this object to the current directory. More... | |
virtual Int_t | Write (const char *name=0, Int_t option=0, Int_t bufsize=0) const |
Write this object to the current directory. More... | |
void * | operator new (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new (size_t sz, void *vp) |
void * | operator new[] (size_t sz, void *vp) |
void | operator delete (void *ptr) |
Operator delete. More... | |
void | operator delete[] (void *ptr) |
Operator delete []. More... | |
void | SetBit (UInt_t f, Bool_t set) |
Set or unset the user status bits as specified in f. More... | |
void | SetBit (UInt_t f) |
void | ResetBit (UInt_t f) |
Bool_t | TestBit (UInt_t f) const |
Int_t | TestBits (UInt_t f) const |
void | InvertBit (UInt_t f) |
virtual void | Info (const char *method, const char *msgfmt,...) const |
Issue info message. More... | |
virtual void | Warning (const char *method, const char *msgfmt,...) const |
Issue warning message. More... | |
virtual void | Error (const char *method, const char *msgfmt,...) const |
Issue error message. More... | |
virtual void | SysError (const char *method, const char *msgfmt,...) const |
Issue system error message. More... | |
virtual void | Fatal (const char *method, const char *msgfmt,...) const |
Issue fatal error message. More... | |
void | AbstractMethod (const char *method) const |
Use this method to implement an "abstract" method that you don't want to leave purely abstract. More... | |
void | MayNotUse (const char *method) const |
Use this method to signal that a method (defined in a base class) may not be called in a derived class (in principle against good design since a child class should not provide less functionality than its parent, however, sometimes it is necessary). More... | |
void | Obsolete (const char *method, const char *asOfVers, const char *removedFromVers) const |
Use this method to declare a method obsolete. More... | |
Static Public Member Functions | |
static Int_t | GetErrno () |
Static function returning system error number. More... | |
static void | ResetErrno () |
Static function resetting system error number. More... | |
Static Public Member Functions inherited from TObject | |
static Long_t | GetDtorOnly () |
Return destructor only flag. More... | |
static void | SetDtorOnly (void *obj) |
Set destructor only flag. More... | |
static Bool_t | GetObjectStat () |
Get status of object stat flag. More... | |
static void | SetObjectStat (Bool_t stat) |
Turn on/off tracking of objects in the TObjectTable. More... | |
Protected Member Functions | |
TString & | GetLastErrorString () |
Return the thread local storage for the custom last error message. More... | |
const TString & | GetLastErrorString () const |
Return the thread local storage for the custom last error message. More... | |
TSystem * | FindHelper (const char *path, void *dirptr=0) |
Create helper TSystem to handle file and directory operations that might be special for remote file access, like via rfiod or rootd. More... | |
virtual Bool_t | ConsistentWith (const char *path, void *dirptr=0) |
Check consistency of this helper with the one required by 'path' or 'dirptr'. More... | |
virtual const char * | ExpandFileName (const char *fname) |
Expand a pathname getting rid of special shell characters like ~. More... | |
virtual void | SigAlarmInterruptsSyscalls (Bool_t) |
virtual const char * | GetLinkedLibraries () |
Get list of shared libraries loaded at the start of the executable. More... | |
virtual void | DoBeep (Int_t=-1, Int_t=-1) const |
Protected Member Functions inherited from TObject | |
void | MakeZombie () |
virtual void | DoError (int level, const char *location, const char *fmt, va_list va) const |
Interface to ErrorHandler (protected). More... | |
Static Protected Member Functions | |
static const char * | StripOffProto (const char *path, const char *proto) |
Private Member Functions | |
TSystem (const TSystem &) | |
TSystem & | operator= (const TSystem &) |
#include <TSystem.h>
enum TSystem::EAclicMode |
|
private |
TSystem::TSystem | ( | const char * | name = "Generic" , |
const char * | title = "Generic System" |
||
) |
Create a new OS interface.
Definition at line 104 of file TSystem.cxx.
|
virtual |
Delete the OS interface.
Definition at line 142 of file TSystem.cxx.
|
virtual |
Abort the application.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 728 of file TSystem.cxx.
Referenced by TXNetFile::CreateXClient(), DefaultErrorHandler(), TApplicationServer::ErrorHandler(), TProofServ::ErrorHandler(), TApplication::HandleException(), TShutdownTimer::Notify(), and TApplication::ProcessLine().
|
virtual |
Accept a connection.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2283 of file TSystem.cxx.
Referenced by TServerSocket::Accept().
|
virtual |
Returns FALSE if one can access a file using the specified access mode.
The file name must not contain any special shell characters line ~ or $, in those cases first call ExpandPathName(). Attention, bizarre convention of return value!!
Reimplemented in TWinNTSystem, TUnixSystem, TNetSystem, TWebSystem, TDCacheSystem, TXNetSystem, TRFIOSystem, TAlienSystem, THDFSSystem, TGFALSystem, and TChirpSystem.
Definition at line 1213 of file TSystem.cxx.
Referenced by TNetSystem::AccessPathName(), TUnixSystem::AccessPathName(), TWinNTSystem::AccessPathName(), TUploadDataSetDlg::AddFiles(), TProofOutputFile::AssertDir(), TProof::AssertPath(), TServerSocket::Authenticate(), RooWorkspace::CodeRepo::autoImportClass(), TRootBrowserLite::BrowseTextFile(), TProof::BuildPackageOnClient(), TGLOutput::CapturePostscript(), TTree::ChangeFile(), TDataSetManagerFile::CheckLocalCache(), TAuthenticate::CheckProofAuth(), Classification(), ClassImp(), TQueryResultManager::CleanupSession(), TGFileBrowser::Clicked(), TPostScript::Close(), TSessionViewer::CloseWindow(), TApplicationRemote::CollectInput(), RooWorkspace::CodeRepo::compileClasses(), CompileMacro(), TUnixSystem::ConnectService(), THtml::Convert(), TProofLite::CopyMacroToCache(), TFile::Cp(), THtml::CreateListOfClasses(), TDataSetManagerFile::CreateLsFile(), TClassDocOutput::CreateSourceOutputStream(), TProof::DisablePackageOnClient(), TGFileBrowser::DoubleClicked(), example(), TRint::ExecLogon(), TApplicationServer::ExecLogon(), TDataSetManagerFile::ExistsDataSet(), TDSet::ExportFileList(), TVirtualStreamerInfo::Factory(), TASPluginGS::File2ASImage(), TAuthenticate::FileExpand(), THtml::TFileSysDB::Fill(), TDataSetManagerFile::FillLsDataSet(), TMVA::TMVAGlob::findImage(), TDataSetManagerFile::GetDataSet(), GetExpressionFileName(), TProof::GetInputData(), TDocMacroDirective::GetResult(), TProofMgrLite::GetSessionLogs(), TFile::GetType(), TProofServ::HandleArchive(), TProofServ::HandleCache(), TProofServ::HandleCheckFile(), TProofServ::HandleLibIncPath(), TProof::HandleLibIncPath(), TProof::HandleOutputOptions(), TGuiBldDragManager::HandlePaste(), hsimple(), httpaccess(), httptextlog(), TDataSetManagerFile::Init(), TProofOutputFile::Init(), TProofLite::Init(), TProof::Init(), TDataSetManagerFile::InitLocalCache(), TAlienPackage::InstallSinglePackage(), TGuiBldDragManager::IsPasteFrameExist(), TProof::Load(), TROOT::LoadClass(), TPluginManager::LoadHandlerMacros(), TCling::LoadLibraryMap(), TProof::LoadPackageOnClient(), TProofLockPath::Lock(), TXProofServ::LockSession(), TQueryResultManager::LockSession(), TChain::Lookup(), main(), TFileIter::MapName(), TGuiBldDragManager::Menu4Frame(), mkdir(), mlpHiggs(), ModelInspector(), TDataSetManagerFile::NotifyUpdate(), OldProofServAuthSetup(), OneSidedFrequentistUpperLimitWithBands(), TXNetFile::Open(), TPostScript::Open(), TFile::OpenFromCache(), TProofBench::OpenOutFile(), portfolio(), TProof::PrepareInputDataFile(), TPad::Print(), TSelEventGen::Process(), TProof::Process(), TDocOutput::ProcessDocInDir(), TApplicationServer::ProcessLine(), TGFileDialog::ProcessMessage(), TProofResourcesStatic::ReadConfigFile(), TDataSetManager::ReadGroupConfig(), TAuthenticate::ReadRootAuthrc(), THtml::TFileSysDir::Recurse(), TProofPlayer::ReinitSelector(), TDataSetManagerFile::RemoveDataSet(), TSelHandleDataSet::RemoveFile(), TSpline3::SaveAs(), TSpline5::SaveAs(), TProof::SaveInputData(), TDirectoryFile::SaveObjectAs(), TDirectory::SaveObjectAs(), TQueryResultManager::SaveQuery(), TQueryResult::SaveSelector(), TProof::SendInputData(), TProofLite::SendInputDataFile(), TXProofMgr::SendMsgToUsers(), TProofPlayerRemote::SendSelector(), TFile::SetCacheFileDir(), TGuiBldDragManager::SetEditable(), TProof::SetInputDataFile(), TApplicationServer::Setup(), TProofServ::SetupCommon(), ShowOutput(), TSelEventGen::SlaveBegin(), TAuthenticate::SshAuth(), TAuthenticate::SshError(), StandardBayesianMCMCDemo(), StandardBayesianNumericalDemo(), StandardFeldmanCousinsDemo(), StandardFrequentistDiscovery(), StandardHistFactoryPlotsWithCategories(), StandardHypoTestDemo(), StandardHypoTestInvDemo(), StandardProfileInspectorDemo(), StandardProfileLikelihoodDemo(), StandardTestStatDistributionDemo(), TCling_GenerateDictionary(), TUnixSystem::TempDirectory(), TProofServLite::Terminate(), TXProofServ::Terminate(), TProofServ::Terminate(), TSessionViewer::Terminate(), TestAuth(), TFile::TFile(), TGFSComboBox::TGFSComboBox(), TGRedirectOutputGuard::TGRedirectOutputGuard(), TMapFile::TMapFile(), TMVAClassification(), TMVAClassificationApplication(), TMVAClassificationCategory(), TMVAClassificationCategoryApplication(), TMVAMulticlass(), TMVAMulticlassApplication(), TMVARegression(), TMVARegressionApplication(), TProofServ::TProofServ(), TServerSocket::TServerSocket(), TwoSidedFrequentistUpperLimitWithBands(), TXMLFile::TXMLFile(), TProofOutputFile::Unlink(), TProofServ::UnloadPackage(), TProof::UnloadPackageOnClient(), TGFileBrowser::Update(), TProofMgr::UploadFiles(), TProof::UploadPackage(), TProof::UploadPackageOnClient(), TDataSetManagerFile::WriteDataSet(), TPluginManager::WritePluginMacros(), and TGuiBldDragManager::~TGuiBldDragManager().
|
virtual |
Add a new directory to the dynamic path.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1697 of file TSystem.cxx.
|
virtual |
Add a file handler to the list of system file handlers.
Only adds the handler if it is not already in the list of file handlers.
Reimplemented in TWinNTSystem, TUnixSystem, and TMacOSXSystem.
Definition at line 558 of file TSystem.cxx.
Referenced by TFileHandler::Add(), TUnixSystem::AddFileHandler(), TWinNTSystem::AddFileHandler(), ClassImp(), TProofServLite::CreateServer(), TXProofServ::CreateServer(), TProofServ::CreateServer(), TXProofMgr::GetFile(), TXProofMgr::PutFile(), TProofServLite::SetupOnFork(), TASLogHandlerGuard::TASLogHandlerGuard(), TProofServLogHandlerGuard::TProofServLogHandlerGuard(), and TXSlave::TXSlave().
|
virtual |
Add includePath to the already set include path.
Definition at line 3895 of file TSystem.cxx.
Referenced by TProofServ::HandleCache(), TProofServ::HandleLibIncPath(), TProof::HandleLibIncPath(), TProof::Load(), and TProof::LoadPackageOnClient().
|
virtual |
Add linkedLib to already set linked libs.
Definition at line 3906 of file TSystem.cxx.
|
virtual |
Add a signal handler to list of system signal handlers.
Only adds the handler if it is not already in the list of signal handlers.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 536 of file TSystem.cxx.
Referenced by TSignalHandler::Add(), TUnixSystem::AddSignalHandler(), TWinNTSystem::AddSignalHandler(), ClassImp(), TProofServLite::CreateServer(), TProofServ::CreateServer(), TProofLite::Process(), TProof::Process(), TProofServLite::Setup(), TXProofServ::Setup(), TApplicationServer::Setup(), and TProofServLite::SetupOnFork().
|
virtual |
Add an exception handler to list of system exception handlers.
Only adds the handler if it is not already in the list of exception handlers.
Definition at line 615 of file TSystem.cxx.
Referenced by TStdExceptionHandler::Add().
Add timer to list of system timers.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 475 of file TSystem.cxx.
Referenced by TGPopupMenu::Activate(), TUnixSystem::AddTimer(), TWinNTSystem::AddTimer(), ClassImp(), TBrowser::Create(), TGHScrollBar::HandleButton(), TGVScrollBar::HandleButton(), TGTextEdit::HandleCrossing(), TGTextEdit::HandleFocusChange(), TGTextEntry::HandleFocusChange(), TGContainer::HandleKey(), TGContainer::HandleMotion(), TGLBContainer::HandleMotion(), TGToolTip::Reset(), TGuiBldDragManager::SetEditable(), TApplication::SetIdleTimer(), TGuiBldDragManager::StartDrag(), TApplication::StartIdleing(), TGFileContainer::StartRefreshTimer(), TGFileContainer::TGFileContainer(), TThreadTimer::TThreadTimer(), TurnOn(), and TTimer::TurnOn().
|
virtual |
Announce TCP/IP service.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2247 of file TSystem.cxx.
Referenced by TServerSocket::TServerSocket().
|
virtual |
Announce UDP service.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2256 of file TSystem.cxx.
|
virtual |
Announce unix domain service.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2265 of file TSystem.cxx.
Referenced by TServerSocket::TServerSocket().
|
virtual |
Announce unix domain service.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2274 of file TSystem.cxx.
|
virtual |
Base name of a file name. Base name of /user/root is root.
Reimplemented in TWinNTSystem.
Definition at line 912 of file TSystem.cxx.
Referenced by TFileCollection::Add(), TGFileContainer::AddFile(), TUploadDataSetDlg::AddFiles(), TRootGuiBuilder::AddMacro(), TProofOutputFile::AdoptFile(), TProofOutputFile::AssertDir(), RooWorkspace::CodeRepo::autoImportClass(), TSystemDirectory::Browse(), TRemoteObject::Browse(), TGSpeedo::Build(), TProof::BuildPackage(), TProof::BuildPackageOnClient(), TApplicationRemote::CheckFile(), TProof::CheckFile(), ClassImp(), TProof::ClearPackage(), TGTextEditor::CompileMacro(), CompileMacro(), TDocOutput::Convert(), THtml::Convert(), TProofBench::CopyDataSet(), TSelHandleDataSet::CopyFile(), TDocOutput::CopyHtmlFile(), TProofLite::CopyMacroToCache(), TXProofMgr::Cp(), TDocMacroDirective::CreateSubprocessInputFile(), TProofLite::CreateSymLinks(), TProof::DisablePackage(), do_put(), TStyleManager::DoExport(), TStyleManager::DoImportMacro(), TProof::DownloadPackage(), TProof::EnablePackage(), TRootBrowser::ExecPlugin(), TGTextEditor::ExecuteMacro(), TDocParser::ExpandCPPLine(), TStreamerInfo::GenerateHeaderFile(), TXProofMgr::GetFile(), THtml::TFileDefinition::GetFileName(), THtml::TPathDefinition::GetFileNameFromInclude(), THtml::GetHtmlFileName(), THtml::TModuleDefinition::GetModule(), TDocDirective::GetName(), TFileInfoMeta::GetObject(), TAlienCollection::GetOutputFileName(), TBranch::GetRealFileName(), TDocMacroDirective::GetResult(), TSelector::GetSelector(), TProofMgrLite::GetSessionLogs(), TGuiBldDragManager::HandleCopy(), TGuiBldDragManager::HandleKey(), TProof::HandleOutputOptions(), TROOT::IgnoreInclude(), TProofOutputFile::Init(), TDocOutput::IsModified(), TClassDocOutput::ListFunctions(), TProofLite::Load(), TEventIterTree::Load(), Load(), TProof::Load(), TCling::LoadLibraryMap(), TProof::LoadPackage(), TDocParser::LocateMethods(), TProofBench::MakeDataSet(), TFile::MakeProject(), TProofServ::MakeQueryResult(), TProofPlayerLite::MakeSelector(), THtml::TFileDefinition::MatchFileSysName(), TChain::Merge(), TProofPlayerRemote::MergeOutput(), TProofPlayerRemote::MergeOutputFiles(), TSessionFrame::OnBtnAddClicked(), TSessionServerFrame::OnConfigFileClicked(), TSessionFrame::OnDisablePackages(), TSessionFrame::OnEnablePackages(), TSessionFrame::OnUploadPackages(), TAlienCollection::OpenAlienCollection(), TFile::OpenFromCache(), TAlienCollection::OpenQuery(), TAlienResult::Print(), TProofPlayerLite::Process(), TProofPlayerRemote::Process(), TDocOutput::ProcessDocInDir(), TApplicationServer::ProcessLine(), TCling::ProcessLine(), TSessionViewer::ProcessMessage(), TXProofMgr::PutFile(), TASImage::ReadImage(), ReadRemoteImage(), TProofPlayer::ReinitSelector(), TCling::ReloadAllSharedLibraryMaps(), TRecorderInactive::Replay(), TProofBenchRunDataRead::Run(), TDocOutput::RunDot(), TGuiBldDragManager::Save(), TGuiBldDragManager::SaveFrame(), TProofPlayer::SavePartialResults(), TQueryResult::SaveSelector(), TStyle::SaveSource(), TGMainFrame::SaveSource(), TGTransientFrame::SaveSource(), TClassTree::ScanClasses(), TGHtmlBrowser::Selected(), TApplicationRemote::SendFile(), TProof::SendFile(), TProofMonSenderML::SendFileInfo(), TProofMonSenderSQL::SendFileInfo(), TProofLite::SendInputDataFile(), TProof::SendInputDataFile(), TProofPlayerRemote::SendSelector(), TUnixSystem::SetProgname(), TTF::SetTextFont(), TCling_GenerateDictionary(), TGWin32::TGWin32(), TProofPerfAnalysis::TProofPerfAnalysis(), TCling::UnloadAllSharedLibraryMaps(), TProof::UnloadPackage(), TProofMgr::UploadFiles(), TProof::UploadPackage(), TProof::UploadPackageOnClient(), and ROOT::Internal::TTreeProxyGenerator::WriteProxy().
Beep for duration milliseconds with a tone of frequency freq.
Defaults to printing the \a
character to stdout. If freq or duration is <0 respectively, use default value. If setDefault is set, only set the frequency and duration as new defaults, but don't beep. If default freq or duration is <0, never beep (silence)
Definition at line 328 of file TSystem.cxx.
Referenced by BeepHook(), TGWin32::Bell(), TTabCom::Complete(), TWinNTSystem::DoBeep(), TEveManager::TExceptionHandler::Handle(), TTabCom::Hook(), and TGWin32::RequestString().
|
inline |
Definition at line 410 of file TSystem.h.
Referenced by TMVA::RuleFitAPI::CheckRFWorkDir(), TDocOutput::Convert(), TGFileDialog::ProcessMessage(), and TMVA::RuleFitAPI::RunRuleFit().
|
virtual |
Change directory.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 856 of file TSystem.cxx.
Referenced by TProofPlayer::AssertSelector(), TSystemDirectory::Browse(), TProof::BuildPackageOnClient(), cd(), cd(), TGFileContainer::ChangeDirectory(), TGFileContainer::CreateFileList(), TNewChainDlg::DisplayDirectory(), TGFileBrowser::DoubleClicked(), TGTextEditor::ExecuteMacro(), TApplication::GetOptions(), TProofServ::HandleCache(), TProofServ::HandleSocketInput(), TAlienPackage::InstallSinglePackage(), TSystemDirectory::IsItDirectory(), TProof::LoadPackageOnClient(), TFile::MakeProject(), TAlienPackage::PostInstall(), TGFileDialog::ProcessMessage(), TRootCanvas::ProcessMessage(), TRint::Run(), TGTextEditor::SaveFileAs(), TApplicationServer::Setup(), TProofServ::SetupCommon(), TProofServLite::Terminate(), TXProofServ::Terminate(), and TProofServ::Terminate().
|
virtual |
Set the file permission bits. Returns -1 in case or error, 0 otherwise.
Reimplemented in TWinNTSystem, TUnixSystem, TAlienSystem, and TChirpSystem.
Definition at line 1419 of file TSystem.cxx.
Referenced by TProofOutputFile::AssertDir(), TProof::AssertPath(), CompileMacro(), TDataSetManagerFile::CreateLsFile(), TDataSetManagerFile::Init(), TLockFile::Lock(), TDataSetManagerFile::NotifyUpdate(), TFile::SetCacheFileDir(), TProofServ::SetupCommon(), and TDataSetManagerFile::WriteDataSet().
|
virtual |
Remove the shared libs produced by the CompileMacro() function.
Definition at line 4079 of file TSystem.cxx.
Referenced by TROOT::~TROOT().
Close socket connection.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2292 of file TSystem.cxx.
Referenced by TUDPSocket::Close(), TSocket::Close(), and TPSocket::Init().
|
virtual |
Close connection to system log daemon.
Reimplemented in TUnixSystem.
Definition at line 1604 of file TSystem.cxx.
|
virtual |
Close the pipe.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 675 of file TSystem.cxx.
Referenced by TCondor::ClaimVM(), TASPluginGS::File2ASImage(), GetFromPipe(), TCondor::GetImage(), TAlienCollection::GetOutputFileName(), TCondor::GetVirtualMachines(), TCondor::GetVmInfo(), TGTextEdit::Print(), TCondor::Release(), TCondor::SetState(), TProof::SystemCmd(), TASLogHandler::~TASLogHandler(), and TProofServLogHandler::~TProofServLogHandler().
|
virtual |
This method compiles and loads a shared library containing the code from the file "filename".
The return value is true (1) in case of success and false (0) in case of error.
The possible options are:
If library_specified is specified, CompileMacro generates the file "library_specified".soext where soext is the shared library extension for the current platform.
If build_dir is specified, it is used as an alternative 'root' for the generation of the shared library. The library is stored in a sub-directories of 'build_dir' including the full pathname of the script unless a flat directory structure is requested ('-' option). With the '-' option the libraries are created directly in the directory 'build_dir'; in particular this means that 2 scripts with the same name in different source directory will over-write each other's library. See also TSystem::SetBuildDir.
If dirmode is not zero and we need to create the target directory, the file mode bit will be change to 'dirmode' using chmod.
If library_specified is not specified, CompileMacro generate a default name for library by taking the name of the file "filename" but replacing the dot before the extension by an underscore and by adding the shared library extension for the current platform. For example on most platform, hsimple.cxx will generate hsimple_cxx.so
It uses the directive fMakeSharedLibs to create a shared library. If loading the shared library fails, it tries to output a list of missing symbols by creating an executable (on some platforms like OSF, this does not HAVE to be an executable) containing the script. It uses the directive fMakeExe to do so. For both directives, before passing them to TSystem::Exec, it expands the variables $SourceFiles, $SharedLib, $LibName, $IncludePath, $LinkedLibs, $DepLibs, $ExeName and $ObjectFiles. See SetMakeSharedLib() for more information on those variables.
This method is used to implement the following feature:
Synopsis:
The purpose of this addition is to allow the user to use an external compiler to create a shared library from its C++ macro (scripts). Currently in order to execute a script, a user has to type at the root prompt
We allow them to type:
or
In which case an external compiler will be called to create a shared library. This shared library will then be loaded and the function myfunc will be called with the two arguments. With '++' the shared library is always recompiled. With '+' the shared library is recompiled only if it does not exist yet or the macro file is newer than the shared library.
Of course the + and ++ notation is supported in similar way for .x and .L.
Through the function TSystem::SetMakeSharedLib(), the user will be able to indicate, with shell commands, how to build a shared library (a good default will be provided). The most common change, namely where to find header files, will be available through the function TSystem::SetIncludePath(). A good default will be provided so that a typical user session should be at most:
The user may sometimes try to compile a script before it has loaded all the needed shared libraries. In this case we want to be helpfull and output a list of the unresolved symbols. So if the loading of the created shared library fails, we will try to build a executable that contains the script. The linker should then output a list of missing symbols.
To support this we provide a TSystem::SetMakeExe() function, that sets the directive telling how to create an executable. The loader will need to be informed of all the libraries available. The information about the libraries that has been loaded by .L and TSystem::Load() is accesible to the script compiler. However, the information about the libraries that have been selected at link time by the application builder (like the root libraries for root.exe) are not available and need to be explicitly listed in fLinkedLibs (either by default or by a call to TSystem::SetLinkedLibs()).
To simplify customization we could also add to the .rootrc support for the variables
And also support for MakeSharedLibs() and MakeExe().
(the ... have to be replaced by the actual values and are here only to shorten this comment).
Definition at line 2736 of file TSystem.cxx.
Referenced by RooWorkspace::CodeRepo::compileClasses(), TGTextEditor::CompileMacro(), TCling::ProcessLine(), TCling__CompileMacro(), and TCling_GenerateDictionary().
|
virtual |
Concatenate a directory and a file name. User must delete returned string.
Definition at line 1028 of file TSystem.cxx.
Referenced by RooWorkspace::CodeRepo::autoImportClass(), TAuthenticate::CheckNetrc(), ClassImp(), TGuiBldDragManager::CloneEditable(), TGTextEditor::CompileMacro(), CompileMacro(), THtml::Convert(), TSystemFile::Copy(), TRint::ExecLogon(), TApplicationServer::ExecLogon(), TRootBrowserLite::ExecMacro(), TRootBrowserLite::ExecuteDefaultAction(), TGFileBrowser::FullPathName(), GetExpressionFileName(), TProofLite::GetNumberOfWorkers(), TCling::InitRootmapFile(), TPluginManager::LoadHandlerMacros(), TPluginManager::LoadHandlersFromPluginDirs(), TSystemFile::Move(), TGFileDialog::ProcessMessage(), R__WriteDependencyFile(), TROOT::ReadGitInfo(), TAuthenticate::ReadRootAuthrc(), TGIcon::Reset(), TEnv::SaveLevel(), TUnixSystem::TempFileName(), TFileSet::TFileSet(), TGuiBldDragManager::TGuiBldDragManager(), and TPluginManager::WritePluginMacros().
Check consistency of this helper with the one required by 'path' or 'dirptr'.
Reimplemented in TNetSystem, TXNetSystem, TNetXNGSystem, and TDavixSystem.
Definition at line 798 of file TSystem.cxx.
Referenced by TNetSystem::ConsistentWith(), and FindHelper().
Copy a file.
If overwrite is true and file already exists the file will be overwritten. Returns 0 when successful, -1 in case of file open failure, -2 in case the file already exists and overwrite was false and -3 in case of error during copy.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1258 of file TSystem.cxx.
Referenced by TSystemFile::Copy(), THtml::CopyFileFromEtcDir(), TDocOutput::CopyHtmlFile(), TFile::MakeProject(), TSystemFile::Move(), TProof::PrepareInputDataFile(), TDocOutput::ProcessDocInDir(), TProof::SaveInputData(), and TProofLite::SendInputDataFile().
|
virtual |
Return the directory name in pathname.
DirName of /user/root is /user. In case no dirname is specified "." is returned.
Reimplemented in TWinNTSystem.
Definition at line 980 of file TSystem.cxx.
Referenced by TFileCollection::Add(), TUploadDataSetDlg::AddFiles(), TQueryResultManager::ApplyMaxQueries(), TProofOutputFile::AssertDir(), TSystemDirectory::Browse(), TRemoteObject::Browse(), TGuiBldDragManager::ChangeImage(), ClassImp(), TProofLite::CleanupSandbox(), RooWorkspace::CodeRepo::compileClasses(), CompileMacro(), TDocOutput::Convert(), TProofLite::CopyMacroToCache(), THtml::CreateListOfClasses(), TDataSetManagerFile::CreateLsFile(), TDocMacroDirective::CreateSubprocessInputFile(), TTabCom::DeterminePath(), TGFileBrowser::DirName(), TRootBrowserLite::DisplayDirectory(), do_put(), DOMParsePerson(), DOMRecursive(), TGTextEditor::ExecuteMacro(), FITS_tutorial1(), FITS_tutorial2(), FITS_tutorial3(), FITS_tutorial4(), FITS_tutorial5(), FITS_tutorial6(), TFileInfoMeta::GetDirectory(), THtml::TFileDefinition::GetFileName(), THtml::TPathDefinition::GetFileNameFromInclude(), TSystemDirectory::GetListOfFiles(), THtml::TModuleDefinition::GetModule(), TAlienCollection::GetOutputFileName(), TBranch::GetRealFileName(), TProof::GetSandbox(), TProof::HandleOutputOptions(), hsimpleProxyDriver(), TRootBrowserLite::IconBoxAction(), TProofOutputFile::Init(), IsFileInIncludePath(), Load(), TProof::Load(), TProofBench::MakeDataSet(), TFile::MakeProject(), TProofPlayerRemote::MergeOutput(), TAlienSystem::mkdir(), mkdir(), TFile::OpenFromCache(), TAlienCollection::OpenQuery(), TRootBrowserLite::ProcessMessage(), run_h1analysis(), TProof::SaveWorkerInfo(), SAXHandler(), TEntryList::ScanPaths(), TProofMonSenderML::SendFileInfo(), TProofMonSenderSQL::SendFileInfo(), TProofPlayerRemote::SendSelector(), TGIcon::SetImage(), TUnixSystem::SetProgname(), TXProofServ::Setup(), TProofServ::SetupCommon(), TProofServLite::SetupOnFork(), TCling_GenerateDictionary(), TMVAClassificationCategory(), TMVAClassificationCategoryApplication(), TMVAMultipleBackgroundExample(), TProofPerfAnalysis::TProofPerfAnalysis(), TProofMgr::UploadFiles(), and ROOT::Internal::TTreeProxyGenerator::WriteProxy().
Dispatch a single event.
Reimplemented in TWinNTSystem, TUnixSystem, and TMacOSXSystem.
Definition at line 433 of file TSystem.cxx.
Referenced by InnerLoop(), TSelVerifyDataSet::Process(), TProofPlayer::Process(), ProcessEvents(), TAuthenticate::PromptPasswd(), TDataSetManager::ScanDataSet(), and TAFS::TAFS().
Find a dynamic library called lib using the system search paths.
Appends known extensions if needed. Returned string must be deleted by the user!
Definition at line 1906 of file TSystem.cxx.
Referenced by TServerSocket::Authenticate(), TAuthenticate::Authenticate(), TSlave::Create(), TProofPlayer::DrawCanvas(), TProofPlayer::FeedBackCanvas(), TAuthenticate::GenRSAKeys(), TProofPlayer::GetDrawArgs(), TWinNTSystem::GetLinkedLibraries(), TProofMgr::GetXProofMgrHook(), TROOT::InitInterpreter(), Load(), TROOT::LoadClass(), TCling::LoadLibraryMap(), TSlave::OldAuthSetup(), TProofServ::OldAuthSetup(), TPluginHandler::Print(), TCling::ReadRootmapFile(), TestAuth(), and Unload().
|
virtual |
Find specific entry point in specified library.
Specify "*" for lib to search in all libraries.
Reimplemented in TUnixSystem.
Definition at line 1930 of file TSystem.cxx.
Referenced by TServerSocket::Authenticate(), TProofPlayer::DrawCanvas(), TUnixSystem::DynFindSymbol(), TProofPlayer::FeedBackCanvas(), TProofPlayer::GetDrawArgs(), ROOT::Internal::GetSymInLibThread(), Load(), TSlave::OldAuthSetup(), and TProofServ::OldAuthSetup().
|
virtual |
Execute a command.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 657 of file TSystem.cxx.
Referenced by TGTextEditor::About(), TQueryResultManager::ApplyMaxQueries(), TProof::BuildPackageOnClient(), Classification(), TQueryResultManager::CleanupQueriesDir(), TProofLite::CleanupSandbox(), TQueryResultManager::CleanupSession(), TProofLite::ClearCache(), CompileMacro(), TDocOutput::Convert(), THbookFile::Convert2root(), TProofLite::CopyMacroToCache(), dir(), TProof::DisablePackageOnClient(), TProof::DisablePackages(), TGFileBrowser::DoubleClicked(), edit(), TSystemFile::Edit(), TAlienPackage::Enable(), TAlienPackage::Exec(), TRootBrowserLite::ExecuteDefaultAction(), TTabCom::GetListOfEnvVars(), TDocMacroDirective::GetResult(), TProofServ::HandleCache(), TProofServ::HandleCheckFile(), TRootBrowser::HandleMenu(), TProofServ::HandleSocketInput(), THtml::HaveDot(), TSlaveLite::Init(), TAlienPackage::InstallSinglePackage(), IsNew(), Krb5InitCred(), ls(), TFile::MakeProject(), TSessionOutputFrame::OnElementDblClicked(), TAlienPackage::PostInstall(), RooStudyManager::prepareBatchInput(), TPad::Print(), TRootCanvas::PrintCanvas(), TGLSAViewer::ProcessFrameMessage(), TGHtmlBrowser::ProcessMessage(), TRootCanvas::ProcessMessage(), TRootBrowserLite::ProcessMessage(), TTreeViewer::ProcessMessage(), TSessionViewer::ProcessMessage(), TProofServ::ProcessNext(), TRuby::Prompt(), R__WriteDependencyFile(), TQueryResultManager::RemoveQuery(), TDocOutput::RunDot(), TMVA::RuleFitAPI::RunRuleFit(), TGHtmlBrowser::Selected(), TProofLite::ShowCache(), TFile::ShrinkCacheFileDir(), Sound(), TAuthenticate::SshAuth(), TProof::SystemCmd(), TApplicationRemote::TApplicationRemote(), TProofServLite::Terminate(), TXProofServ::Terminate(), TProofServ::Terminate(), TMVAClassification(), TAlienPackage::UnInstall(), TProof::UploadPackageOnClient(), TGFileBrowser::XXExecuteDefaultAction(), and TProofLite::~TProofLite().
Exit the application.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 720 of file TSystem.cxx.
Referenced by ClassImp(), ApplicationWindow::closeQtRoot(), TApplicationServer::GetOptions(), TApplication::HandleException(), TProofServ::HandleException(), TMPWorker::HandleInput(), main(), TApplication::ProcessLine(), TQRootApplication::Quit(), TMPWorker::Run(), TApplicationServer::Run(), TApplicationServer::Terminate(), and TApplication::Terminate().
|
virtual |
Exit from event loop.
Reimplemented in TWinNTSystem.
Definition at line 396 of file TSystem.cxx.
Referenced by TWinNTSystem::ExitLoop(), TProofServLite::Terminate(), TRint::Terminate(), TXProofServ::Terminate(), TApplication::Terminate(), and TProofServ::Terminate().
|
protectedvirtual |
Expand a pathname getting rid of special shell characters like ~.
$, etc. For Unix/Win32 compatibility use instead of $XXX when using environment variables in a pathname. If compatibility is not an issue you can use on Unix directly $XXX. This is a protected function called from the OS specific system classes, like TUnixSystem and TWinNTSystem. Returns the expanded filename or 0 in case of error.
Definition at line 1055 of file TSystem.cxx.
Referenced by CompileMacro(), TUnixSystem::ExpandPathName(), and TWinNTSystem::ExpandPathName().
Expand a pathname getting rid of special shell characters like ~.
$, etc. For Unix/Win32 compatibility use instead of $XXX when using environment variables in a pathname. If compatibility is not an issue you can use on Unix directly $XXX.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1191 of file TSystem.cxx.
Referenced by TChain::Add(), TDSet::Add(), TFileCollection::AddFromFile(), TProof::AssertPath(), TFile::AsyncOpen(), TProofServ::CatMotd(), TGFileContainer::ChangeDirectory(), ClassImp(), CompileMacro(), THtml::Convert(), TProofLite::CopyMacroToCache(), TProofLite::CreateSymLinks(), TTabCom::DeterminePath(), TGFileBrowser::DoubleClicked(), TASImage::DrawText(), RooStudyManager::expandWildCardSpec(), TVirtualStreamerInfo::Factory(), THtml::TFileSysDB::Fill(), TUnixSystem::FindFile(), TGFileBrowser::FullPathName(), THtml::TPathDefinition::GetDocDir(), TEntryList::GetEntryList(), TXProofMgr::GetFile(), TEveManager::GetGeometry(), TApplication::GetOptions(), THtml::GetOutputDir(), TGPicturePool::GetPicture(), TBranch::GetRealFileName(), TProof::GetSandbox(), TProofMgrLite::GetSessionLogs(), TFile::GetType(), TProofServ::HandleLibIncPath(), TProof::HandleLibIncPath(), TProofLite::Load(), TFile::MakeProject(), TFile::Open(), TImage::Open(), TPad::Print(), TGFileDialog::ProcessMessage(), TXProofMgr::PutFile(), TRandom::ReadRandom(), TGIcon::SavePrimitive(), TGToolBar::SavePrimitive(), TGTextView::SavePrimitive(), TGTextEdit::SavePrimitive(), TGListTreeItemStd::SavePrimitive(), TGPopupMenu::SavePrimitive(), TGPictureButton::SavePrimitive(), TEveManager::SaveVizDB(), scandir(), TProofPlayerRemote::SendSelector(), TGIcon::SetImagePath(), THtml::SetInputDir(), TEntryList::SetTree(), TProofServLite::Setup(), TXProofServ::Setup(), TApplicationServer::Setup(), TProofServ::Setup(), TProofCondor::StartSlaves(), TASImage::TASImage(), TFile::TFile(), TFileSet::TFileSet(), TGraph::TGraph(), TGraph2D::TGraph2D(), TGraphErrors::TGraphErrors(), TMapFile::TMapFile(), TXMLFile::TXMLFile(), TProofMgr::UploadFiles(), TProof::UploadPackage(), and TRandom::WriteRandom().
|
virtual |
Expand a pathname getting rid of special shell characters like ~.
$, etc. For Unix/Win32 compatibility use instead of $XXX when using environment variables in a pathname. If compatibility is not an issue you can use on Unix directly $XXX. The user must delete returned string.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1202 of file TSystem.cxx.
Find a dynamic library using the system search paths.
lib will be updated to contain the absolute filename if found. Returns lib if found, or NULL if a library called lib was not found. This function does not open the library.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1920 of file TSystem.cxx.
Referenced by DynamicPathName(), and TCling::IsLoaded().
|
virtual |
Find location of file in a search path.
Return value points to TString for compatibility with Which(const char *, const char *, EAccessMode). Returns 0 in case file is not found.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1449 of file TSystem.cxx.
Referenced by TDocMacroDirective::CreateSubprocessInputFile(), TUnixSystem::FindDynamicLibrary(), THtml::TFileDefinition::GetFileName(), THtml::GetHtmlFileName(), TCling::IsLoaded(), TCling::LoadPCM(), and Which().
Create helper TSystem to handle file and directory operations that might be special for remote file access, like via rfiod or rootd.
Definition at line 748 of file TSystem.cxx.
Referenced by TUnixSystem::AccessPathName(), TWinNTSystem::AccessPathName(), TUnixSystem::FreeDirectory(), TWinNTSystem::FreeDirectory(), TUnixSystem::GetDirEntry(), TWinNTSystem::GetDirEntry(), TUnixSystem::GetPathInfo(), TWinNTSystem::GetPathInfo(), TUnixSystem::IsPathLocal(), TWinNTSystem::IsPathLocal(), TUnixSystem::MakeDirectory(), TWinNTSystem::MakeDirectory(), TUnixSystem::OpenDirectory(), TWinNTSystem::OpenDirectory(), TUnixSystem::Unlink(), and TWinNTSystem::Unlink().
Free a directory.
Reimplemented in TWinNTSystem, TUnixSystem, TNetSystem, TWebSystem, TDCacheSystem, TXNetSystem, TRFIOSystem, THDFSSystem, TGFALSystem, TNetXNGSystem, TChirpSystem, TDavixSystem, and TAlienSystem.
Definition at line 839 of file TSystem.cxx.
Referenced by TFileCollection::Add(), TChain::Add(), TTabCom::AppendListOfFilesInDirectory(), TQueryResultManager::ApplyMaxQueries(), TSystemDirectory::Browse(), TDataSetManagerFile::BrowseDataSets(), TQueryResultManager::CleanupQueriesDir(), TProofLite::CleanupSandbox(), TDataSetManagerFile::ClearCache(), TDocOutput::Convert(), TProofLite::CopyMacroToCache(), TGFileContainer::CreateFileList(), TDocDirective::DeleteOutputFiles(), do_put(), RooStudyManager::expandWildCardSpec(), TNetSystem::FreeDirectory(), TUnixSystem::FreeDirectory(), TWinNTSystem::FreeDirectory(), TDataSetManagerFile::GetDataSets(), TSystemDirectory::GetListOfFiles(), TProofMgrLite::GetSessionLogs(), TProofServ::HandleCache(), TProofLite::Load(), TPluginManager::LoadHandlerMacros(), TPluginManager::LoadHandlersFromPluginDirs(), TCling::LoadLibraryMap(), TFile::MakeProject(), TDocOutput::ProcessDocInDir(), THtml::TFileSysDir::Recurse(), TQueryResultManager::ScanPreviousQueries(), TProofServLite::SetupOnFork(), TDataSetManagerFile::ShowCache(), TFileSet::TFileSet(), TProofServ::UnlinkDataDir(), and TProofMgr::UploadFiles().
|
virtual |
AclicMode indicates whether the library should be built in debug mode or optimized.
The values are:
Definition at line 3702 of file TSystem.cxx.
|
virtual |
Return the ACLiC properties field.
See EAclicProperties for details on the semantic of each bit.
Definition at line 3630 of file TSystem.cxx.
|
virtual |
Return the build architecture.
Definition at line 3638 of file TSystem.cxx.
Referenced by TProofLite::Print(), TProof::Print(), TRint::PrintLogo(), TProofServ::ResolveKeywords(), and TProofServ::SetupCommon().
|
virtual |
Return the build compiler.
Definition at line 3646 of file TSystem.cxx.
|
virtual |
Return the build compiler version.
Definition at line 3654 of file TSystem.cxx.
Referenced by Memstat::TMemStatMng::Init(), TProofLite::Print(), TProof::Print(), TProofServ::ResolveKeywords(), and TProofServ::SetupCommon().
|
virtual |
Return the path of the build directory.
Definition at line 3670 of file TSystem.cxx.
Referenced by CompileMacro().
|
virtual |
Return the build node name.
Definition at line 3662 of file TSystem.cxx.
Referenced by Memstat::TMemStatMng::Init(), TMVA::MethodBase::WriteStateToStream(), and TMVA::MethodBase::WriteStateToXML().
Returns cpu load average and load info into the CpuInfo_t structure.
Returns -1 in case of error, 0 otherwise. Use sampleTime to set the interval over which the CPU load will be measured, in ms (default 1000).
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2371 of file TSystem.cxx.
|
virtual |
Get a directory entry. Returns 0 if no more entries.
Reimplemented in TWinNTSystem, TUnixSystem, TNetSystem, TWebSystem, TDCacheSystem, TXNetSystem, TRFIOSystem, THDFSSystem, TGFALSystem, TNetXNGSystem, TChirpSystem, TDavixSystem, and TAlienSystem.
Definition at line 847 of file TSystem.cxx.
Referenced by TFileCollection::Add(), TChain::Add(), TUploadDataSetDlg::AddFiles(), TTabCom::AppendListOfFilesInDirectory(), TQueryResultManager::ApplyMaxQueries(), TSystemDirectory::Browse(), TDataSetManagerFile::BrowseDataSets(), TQueryResultManager::CleanupQueriesDir(), TProofLite::CleanupSandbox(), TDataSetManagerFile::ClearCache(), TDocOutput::Convert(), TProofLite::CopyMacroToCache(), TGFileContainer::CreateFileList(), TDocDirective::DeleteOutputFiles(), do_put(), RooStudyManager::expandWildCardSpec(), TDataSetManagerFile::GetDataSets(), TNetSystem::GetDirEntry(), TUnixSystem::GetDirEntry(), TWinNTSystem::GetDirEntry(), TSystemDirectory::GetListOfFiles(), TProofBench::GetPerfSpecs(), TProofMgrLite::GetSessionLogs(), TProofServ::HandleCache(), TProofLite::Load(), TPluginManager::LoadHandlerMacros(), TPluginManager::LoadHandlersFromPluginDirs(), TCling::LoadLibraryMap(), TFile::MakeProject(), TDocOutput::ProcessDocInDir(), THtml::TFileSysDir::Recurse(), scandir(), TQueryResultManager::ScanPreviousQueries(), TProofServLite::SetupOnFork(), TDataSetManagerFile::ShowCache(), TProofLite::ShowDataDir(), TFileSet::TFileSet(), TProofServ::UnlinkDataDir(), and TProofMgr::UploadFiles().
|
inlinevirtual |
Reimplemented in TNetSystem, TWebSystem, TDCacheSystem, TXNetSystem, TRFIOSystem, TGFALSystem, and TAlienSystem.
Definition at line 405 of file TSystem.h.
Referenced by ConsistentWith(), and FindHelper().
|
virtual |
Return the dynamic path (used to find shared libraries).
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1705 of file TSystem.cxx.
Referenced by TProofServ::HandleLibIncPath(), TProof::HandleLibIncPath(), TCling::LoadLibraryMap(), TCling::LoadPCM(), TCling::ReloadAllSharedLibraryMaps(), and TProof::SetupWorkersEnv().
|
virtual |
Returns the effective group id.
The effective group id corresponds to the set id bit on the file being executed.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1501 of file TSystem.cxx.
Referenced by TAuthenticate::RfioAuth().
|
virtual |
Returns the effective user id.
The effective id corresponds to the set id bit on the file being executed.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1482 of file TSystem.cxx.
Referenced by TAuthenticate::ClearAuth(), TAuthenticate::RfioAuth(), and TApplicationRemote::TApplicationRemote().
|
virtual |
Get environment variable.
Reimplemented in TUnixSystem, and TWinNTSystem.
Definition at line 1575 of file TSystem.cxx.
Referenced by TGTextEditor::About(), TProofPlayerRemote::AddOutputObject(), alien(), TServerSocket::Authenticate(), RooWorkspace::CodeRepo::autoImportClass(), TProof::BuildPackageOnClient(), TProofServ::CatMotd(), TAuthenticate::CheckProofAuth(), TWebFile::CheckProxy(), ClassImp(), CompileMacro(), THostAuth::Create(), TXProofServ::CreateServer(), TProofServ::CreateServer(), DynamicPath(), ExpandFileName(), TEnvRec::ExpandValue(), TAuthenticate::FileExpand(), TTree::GetCacheAutoSize(), TTreeCache::GetConfiguredPrefillType(), TS3WebFile::GetCredentialsFromEnv(), GetExePath(), GetExpressionFileName(), TTabCom::GetListOfEnvVars(), TProofServ::GetLocalServer(), TProofServ::GetOptions(), TGPrintDialog::GetPrinters(), TXProofServ::GetWorkers(), TProofServ::HandleCache(), TProofServ::HandleCheckFile(), TRootBrowser::HandleMenu(), TGeoElementTable::ImportElementsRN(), TSlaveLite::Init(), TXSlave::Init(), TMonaLisaWriter::Init(), init_icon_paths(), TXSocket::InitEnvs(), TDataSetManagerFile::InitLocalCache(), TProof::InitMembers(), TCling::InitRootmapFile(), TROOT::InitSystem(), Krb5Authenticate(), OldProofServAuthSetup(), TAlienFile::Open(), TGaxis::PaintAxis(), TProofLite::Print(), TProof::Print(), TProofPlayerLite::Process(), TProofPlayerRemote::Process(), TGLSAViewer::ProcessFrameMessage(), TGHtmlBrowser::ProcessMessage(), TRootCanvas::ProcessMessage(), TRootBrowserLite::ProcessMessage(), TTreeViewer::ProcessMessage(), TSessionViewer::ProcessMessage(), TAuthenticate::PromptUser(), TAuthenticate::ProofAuthSetup(), R__WriteDependencyFile(), TProofResourcesStatic::ReadConfigFile(), TDatabasePDG::ReadPDGTable(), TAuthenticate::ReadRootAuthrc(), TProofLite::ResolveKeywords(), TProof::SaveWorkerInfo(), TNetXNGFile::SetEnv(), TXNetFile::SetEnv(), TProof::SetParallel(), TProofLite::SetProofServEnv(), TProofServLite::Setup(), TXProofServ::Setup(), TProofServ::SetupCommon(), TProofServLite::SetupOnFork(), TAuthenticate::SshAuth(), TCling::TCling(), TUnixSystem::TempDirectory(), TestAuth(), TGFSComboBox::TGFSComboBox(), TProof::TProof(), TProofServ::TProofServ(), TROOT::TROOT(), TUnixSystem::UnixHomedirectory(), and TProof::UploadPackageOnClient().
|
static |
Static function returning system error number.
Definition at line 264 of file TSystem.cxx.
Referenced by TUnixSystem::AcceptConnection(), TMapFile::AcquireSemaphore(), TDataSetManagerFile::CheckLocalCache(), TDataSetManagerFile::ClearCache(), TUnixSystem::CloseConnection(), TDataSetManagerFile::CreateLsFile(), TXProofServ::CreateServer(), TProof::DownloadPackage(), TMD5::FileChecksum(), TRFIOFile::GetErrno(), TFile::GetErrno(), TUnixSystem::GetError(), TWinNTSystem::GetError(), GetError(), TFTP::GetFile(), TXProofMgr::GetFile(), TWebFile::GetHead(), TProof::GetLastLog(), TDataSetManagerFile::Init(), TProof::LogMessage(), TFile::MakeProjectParMake(), TFile::MakeProjectParProofInf(), TDataSetManagerFile::NotifyUpdate(), TFTP::PutFile(), TXProofMgr::PutFile(), TProofMgrLite::ReadBuffer(), TNetFile::ReadBuffer(), TNetFile::ReadBuffers(), TUnixSystem::RecvRaw(), TUnixSystem::RedirectOutput(), TMapFile::ReleaseSemaphore(), TDataSetManagerFile::RemoveDataSet(), TApplicationRemote::SendFile(), TProof::SendFile(), TApplicationServer::SendLogFile(), TProofServ::SendLogFile(), TXProofMgr::SendMsgToUsers(), TUnixSystem::SendRaw(), TWinNTSystem::SendRaw(), TProofServ::SetupCommon(), TDataSetManagerFile::ShowCache(), TProof::ShowLog(), ShowOutput(), TUnixSystem::StackTrace(), TProof::SystemCmd(), TFile::TFile(), TProofServ::TruncateLogFile(), TUnixSystem::UnixRecv(), TUnixSystem::UnixSelect(), TUnixSystem::UnixSend(), TUnixSystem::UnixTcpConnect(), TUnixSystem::UnixTcpService(), TUnixSystem::UnixUdpConnect(), TUnixSystem::UnixUdpService(), TUnixSystem::UnixUnixConnect(), TProof::UploadPackageOnClient(), TWinNTSystem::WinNTUdpConnect(), TWinNTSystem::WinNTUnixConnect(), and TDataSetManagerFile::WriteDataSet().
|
virtual |
Return system error string.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 254 of file TSystem.cxx.
Referenced by TGFileContainer::AddFile(), TTreeViewer::DoError(), TThread::ErrorHandler(), and ErrorHandler().
|
virtual |
Return the debug flags.
Definition at line 3682 of file TSystem.cxx.
Referenced by Memstat::TMemStatMng::Init(), and TFile::MakeProject().
|
virtual |
Return the optimization flags.
Definition at line 3690 of file TSystem.cxx.
Referenced by Memstat::TMemStatMng::Init(), and TFile::MakeProject().
|
virtual |
Return the bitmap of conditions that trigger a floating point exception.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 636 of file TSystem.cxx.
|
virtual |
Execute command and return output in TString.
Definition at line 684 of file TSystem.cxx.
Referenced by TGPrintDialog::GetPrinters(), memstatExample(), PoDCheckUrl(), TMemStatShow::Show(), and TTreePerfStats::TTreePerfStats().
|
virtual |
Get info about a file system: fs type, block size, number of blocks, number of free blocks.
Reimplemented in TWinNTSystem, TUnixSystem, TAlienSystem, and TChirpSystem.
Definition at line 1385 of file TSystem.cxx.
Referenced by TFTP::GetFile(), and TSelEventGen::Process().
|
virtual |
Returns the group's id. If group = 0, returns current user's group.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1491 of file TSystem.cxx.
Referenced by THDFSSystem::GetPathInfo(), and TProofServ::SetupCommon().
|
virtual |
Returns all group info in the UserGroup_t structure.
The only active fields in the UserGroup_t structure for this call are:
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1535 of file TSystem.cxx.
Referenced by TAuthenticate::RfioAuth().
|
virtual |
Returns all group info in the UserGroup_t structure.
The only active fields in the UserGroup_t structure for this call are:
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1548 of file TSystem.cxx.
|
virtual |
Get Internet Protocol (IP) address of host.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2193 of file TSystem.cxx.
Referenced by TBonjourResolver::BonjourResolveReply(), TAuthenticate::CheckHost(), TAuthenticate::CheckNetrc(), TAuthenticate::ClearAuth(), THostAuth::Create(), TCastorFile::FindServerAndPath(), TAuthenticate::GetHostAuth(), TUrl::GetHostFQDN(), TUUID::GetNodeIdentifier(), TAuthenticate::HasHostAuth(), IsPathLocal(), TXNetSystem::Locate(), TProofResourcesStatic::ReadConfigFile(), TAuthenticate::TAuthenticate(), TProof::TProof(), TSocket::TSocket(), TUDPSocket::TUDPSocket(), TXSocket::TXSocket(), TUnixSystem::UnixTcpConnect(), and TUnixSystem::UnixUdpConnect().
|
virtual |
Get the list of include path.
Definition at line 3728 of file TSystem.cxx.
Referenced by CompileMacro(), TProofServ::HandleCache(), TProofServ::HandleLibIncPath(), TProof::HandleLibIncPath(), IsFileInIncludePath(), TCling::IsLoaded(), TProof::Load(), TFile::MakeProject(), TProofPlayer::ReinitSelector(), TProof::SetupWorkersEnv(), TMVA::TMVAGui(), TMVA::TMVAMultiClassGui(), TMVA::TMVARegGui(), TProofServ::UnloadPackage(), TProof::UnloadPackageOnClient(), and ROOT::Internal::TTreeProxyGenerator::WriteProxy().
|
protected |
Return the thread local storage for the custom last error message.
Definition at line 1996 of file TSystem.cxx.
Referenced by TUnixSystem::AccessPathName(), TWinNTSystem::AccessPathName(), TUnixSystem::GetError(), TWinNTSystem::GetError(), GetError(), GetErrorStr(), GetLastErrorString(), TUnixSystem::Rename(), TWinNTSystem::Rename(), and SetErrorStr().
|
protected |
Return the thread local storage for the custom last error message.
Definition at line 2005 of file TSystem.cxx.
|
virtual |
Return a space separated list of loaded shared libraries.
Regexp is a wildcard expression, see TRegexp::MakeWildcard. This list is of a format suitable for a linker, i.e it may contain -Lpathname and/or -lNameOfLib. Option can be any of:
Reimplemented in TWinNTSystem.
Definition at line 2032 of file TSystem.cxx.
Referenced by ClassImp(), CompileMacro(), TWinNTSystem::GetLibraries(), ListLibraries(), Load(), and TFile::MakeProject().
|
virtual |
Return the linkdef suffix chosen by the user for ACLiC.
See TSystem::CompileMacro for more details.
Definition at line 3748 of file TSystem.cxx.
Referenced by CompileMacro().
|
protectedvirtual |
Get list of shared libraries loaded at the start of the executable.
Returns 0 in case list cannot be obtained or in case of error.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2014 of file TSystem.cxx.
Referenced by GetLibraries().
|
virtual |
Return the list of library linked to this executable.
See TSystem::CompileMacro for more details.
Definition at line 3739 of file TSystem.cxx.
|
inlinevirtual |
Definition at line 372 of file TSystem.h.
Referenced by TMPClient::Fork(), TApplicationServer::Terminate(), and TProofServ::Terminate().
|
inlinevirtual |
Definition at line 369 of file TSystem.h.
Referenced by TMPClient::Fork().
|
inlinevirtual |
|
inlinevirtual |
Definition at line 383 of file TSystem.h.
Referenced by TDocOutput::Convert().
|
virtual |
Return the command line use to make an executable.
See TSystem::CompileMacro for more details.
Definition at line 3720 of file TSystem.cxx.
|
virtual |
Return the command line use to make a shared library.
See TSystem::CompileMacro for more details.
Definition at line 3711 of file TSystem.cxx.
Referenced by CompileMacro(), and TFile::MakeProject().
|
virtual |
Returns ram and swap memory usage info into the MemInfo_t structure.
Returns -1 in case of error, 0 otherwise.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2381 of file TSystem.cxx.
Referenced by TMemStatShow::Show().
|
virtual |
Get the object file extension.
Definition at line 3768 of file TSystem.cxx.
Referenced by TFile::MakeProject().
int TSystem::GetPathInfo | ( | const char * | path, |
Long_t * | id, | ||
Long_t * | size, | ||
Long_t * | flags, | ||
Long_t * | modtime | ||
) |
Get info about a file: id, size, flags, modification time.
Definition at line 1311 of file TSystem.cxx.
Referenced by TFileCollection::Add(), TGFileContainer::AddFile(), TQueryResultManager::ApplyMaxQueries(), TProofOutputFile::AssertDir(), TProof::BuildPackageOnClient(), TProofServ::CatMotd(), TFilePrefetch::CheckBlockInCache(), TDataSetManagerFile::CheckLocalCache(), TAuthenticate::CheckNetrc(), TDataSetManagerFile::ClearCache(), TGFileBrowser::Clicked(), CompileMacro(), TDocOutput::Convert(), TDocOutput::CopyHtmlFile(), TProofLite::CopyMacroToCache(), TGFileContainer::CreateFileList(), TDataSetManagerFile::CreateLsFile(), do_put(), TGFileBrowser::DoubleClicked(), TProof::DownloadPackage(), file_size(), TMD5::FileChecksum(), THtml::TFileSysDB::Fill(), TDataSetManagerFile::GetDataSets(), TXProofMgr::GetFile(), GetLibraries(), TDataSetManagerFile::GetModTime(), TApplication::GetOptions(), THtml::GetOutputDir(), TNetSystem::GetPathInfo(), TUnixSystem::GetPathInfo(), TWinNTSystem::GetPathInfo(), GetPathInfo(), TProofBench::GetPerfSpecs(), TGFileContainer::HandleTimer(), TSystemFile::IsDirectory(), TTabCom::IsDirectory(), TSystemDirectory::IsItDirectory(), TDocOutput::IsModified(), IsTextFile(), Load(), TROOT::LoadClass(), TCling::LoadLibraryMap(), TLockFile::Lock(), TFile::MakeProjectParProofInf(), TFile::OpenFromCache(), pingServerAt(), TSelEventGen::Process(), TDocOutput::ProcessDocInDir(), TGFileDialog::ProcessMessage(), TFTP::PutFile(), TXProofMgr::PutFile(), TDataSetManager::ReadGroupConfig(), THtml::TFileSysDir::Recurse(), TUnixSystem::RedirectOutput(), TFilePrefetch::SaveBlockInCache(), TApplicationRemote::SendFile(), TProof::SendFile(), TProofServ::SetupCommon(), TProofServLite::SetupOnFork(), TDataSetManagerFile::ShowCache(), TProofLite::ShowDataDir(), showFile(), TFile::ShrinkCacheFileDir(), TFile::SysStat(), TFileSet::TFileSet(), TRemoteObject::TRemoteObject(), TProofServ::UnlinkDataDir(), TGFileBrowser::Update(), TProofMgr::UploadFiles(), TProof::UploadPackageOnClient(), TDataSetManagerFile::WriteDataSet(), ROOT::Internal::TTreeProxyGenerator::WriteProxy(), and TProof::~TProof().
int TSystem::GetPathInfo | ( | const char * | path, |
Long_t * | id, | ||
Long64_t * | size, | ||
Long_t * | flags, | ||
Long_t * | modtime | ||
) |
Get info about a file: id, size, flags, modification time.
Definition at line 1341 of file TSystem.cxx.
|
virtual |
Get info about a file.
Info is returned in the form of a FileStat_t structure (see TSystem.h). The function returns 0 in case of success and 1 if the file could not be stat'ed.
Reimplemented in TWinNTSystem, TUnixSystem, TNetSystem, TWebSystem, TDCacheSystem, TXNetSystem, TRFIOSystem, THDFSSystem, TGFALSystem, TAlienSystem, TNetXNGSystem, TChirpSystem, and TDavixSystem.
Definition at line 1375 of file TSystem.cxx.
|
virtual |
Get Internet Protocol (IP) address of remote host and port #.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2202 of file TSystem.cxx.
Referenced by TServerSocket::Accept(), TSocket::TSocket(), and TUDPSocket::TUDPSocket().
|
virtual |
Get process id.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 711 of file TSystem.cxx.
Referenced by TRootAuth::Authenticate(), TAuthenticate::Authenticate(), ClassImp(), TPostScript::Close(), TProofLite::CreateSandbox(), TProofServ::ErrorHandler(), ExpandFileName(), GetExpressionFileName(), TProofServ::HandleCache(), TSlaveLite::Init(), TProofLite::Init(), Memstat::TMemStatMng::Init(), TMonaLisaWriter::Init(), TProof::Init(), TProof::LoadPackageOnClient(), TProofLockPath::Lock(), RooMsgService::log(), RooRealMPFE::serverLoop(), TProofServLite::Setup(), TXProofServ::Setup(), TApplicationServer::Setup(), TProofServ::Setup(), TProofServLite::SetupOnFork(), TAuthenticate::TAuthenticate(), TGuiBldDragManager::TGuiBldDragManager(), TXSocket::TXSocket(), and TProofLockPath::Unlock().
|
virtual |
Returns cpu and memory used by this process into the ProcInfo_t structure.
Returns -1 in case of error, 0 otherwise.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2391 of file TSystem.cxx.
Referenced by TCling::AutoParseImplRecurse(), TProofPlayer::CheckMemUsage(), Mem(), TProofPlayerRemote::NotifyMemory(), TMonaLisaWriter::SendProcessingProgress(), TPerfStats::SetMemValues(), TXProofServ::Terminate(), and TProofServ::Terminate().
|
virtual |
Get port # of internet service.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2220 of file TSystem.cxx.
Referenced by ClassImp(), TXSlave::Init(), TXProofMgr::MatchUrl(), TProofMgr::MatchUrl(), TProofMgr::TProofMgr(), TServerSocket::TServerSocket(), TSocket::TSocket(), and TUDPSocket::TUDPSocket().
|
virtual |
Get name of internet service.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2229 of file TSystem.cxx.
Referenced by TServerSocket::TServerSocket(), TSocket::TSocket(), and TUDPSocket::TUDPSocket().
|
virtual |
Get Internet Protocol (IP) address of host and port #.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2211 of file TSystem.cxx.
Referenced by TProofServ::CreateServer(), TServerSocket::GetLocalInetAddress(), TPSocket::GetLocalInetAddress(), TUDPSocket::GetLocalInetAddress(), and TSocket::GetLocalInetAddress().
|
virtual |
Get socket option.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2347 of file TSystem.cxx.
Referenced by TUDPSocket::GetOption(), and TSocket::GetOption().
|
virtual |
Get the shared library extension.
Definition at line 3760 of file TSystem.cxx.
Referenced by THtml::CreateListOfClasses(), TFile::MakeProject(), and R__WriteDependencyFile().
|
virtual |
Returns static system info, like OS type, CPU type, number of CPUs RAM size, etc into the SysInfo_t structure.
Returns -1 in case of error, 0 otherwise.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2360 of file TSystem.cxx.
Referenced by TProofLite::GetNumberOfWorkers(), TProofServ::HandleSocketInput(), TTreeCacheUnzip::Init(), THtml::MakeAll(), TProofLite::PollForNewWorkers(), TProofPlayer::Process(), TSessionViewer::ReadConfiguration(), TProofLite::ResolveKeywords(), and TMPClient::TMPClient().
|
virtual |
Returns the user's id. If user = 0, returns current user's id.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1472 of file TSystem.cxx.
Referenced by TCondor::ClaimVM(), CompileMacro(), TXProofMgr::GetFile(), THDFSSystem::GetPathInfo(), main(), TXProofMgr::PutFile(), and TProofServ::SetupCommon().
|
virtual |
Returns all user info in the UserGroup_t structure.
The returned structure must be deleted by the user. In case of error 0 is returned.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1511 of file TSystem.cxx.
Referenced by TSocket::Authenticate(), TSessionViewer::Build(), TAuthenticate::CheckProofAuth(), ClassImp(), TAuthenticate::ClearAuth(), CompileMacro(), TNetSystem::ConsistentWith(), THostAuth::Create(), TXProofMgr::GetFile(), TAuthenticate::GetUserPasswd(), TGFileItem::Init(), TProofLite::InitDataSetManager(), TNetSystem::InitRemoteEntity(), IsPathLocal(), Krb5Authenticate(), main(), TSessionFrame::ProofInfos(), TXProofMgr::PutFile(), TAuthenticate::RfioAuth(), TAuthenticate::SetEnvironment(), TProofServLite::Setup(), TXProofServ::Setup(), TProofServ::Setup(), TAFS::TAFS(), TApplicationRemote::TApplicationRemote(), TAuthenticate::TAuthenticate(), TestAuth(), TProof::TProof(), TProofMgr::UploadFiles(), TMVA::MethodBase::WriteStateToStream(), and TMVA::MethodBase::WriteStateToXML().
|
virtual |
Returns all user info in the UserGroup_t structure.
If user = 0, returns current user's id info. The returned structure must be deleted by the user. In case of error 0 is returned.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1522 of file TSystem.cxx.
Reimplemented in TWinNTSystem.
Definition at line 441 of file TSystem.h.
Referenced by TGFileBrowser::BrowseObj(), TGListTree::FindItemByPathname(), TGFileBrowser::GotoDir(), and TGFSComboBox::TGFSComboBox().
|
virtual |
Return the user's home directory.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 873 of file TSystem.cxx.
Referenced by TSessionViewer::Build(), TAuthenticate::CheckNetrc(), TAuthenticate::CheckProofAuth(), ClassImp(), CompileMacro(), TProofLite::CreateSandbox(), TRint::ExecLogon(), TApplicationServer::ExecLogon(), ExpandFileName(), TAuthenticate::FileExpand(), TProofMgrLite::GetSessionLogs(), TFile::GetType(), init_icon_paths(), TXSocket::InitEnvs(), TCling::InitRootmapFile(), TROOT::InitSystem(), TSessionViewer::ProcessMessage(), TProofResourcesStatic::ReadConfigFile(), TAuthenticate::ReadRootAuthrc(), TEnv::SaveLevel(), TGMimeTypes::SaveMimes(), TNetXNGFile::SetEnv(), TXNetFile::SetEnv(), TProofServ::Setup(), TAuthenticate::SshAuth(), and TGFSComboBox::TGFSComboBox().
|
virtual |
Return the system's host name.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 307 of file TSystem.cxx.
Referenced by TProofPlayerRemote::AddOutputObject(), TProof::AddWorkers(), TAuthenticate::AuthExists(), ClassImp(), TAuthenticate::ClearAuth(), TProofLite::CreateSandbox(), TProof::GetListOfSlaveInfos(), TUUID::GetNodeIdentifier(), TProofServ::HandleCache(), TProof::HandleInputMessage(), TProofServ::HandleSocketInput(), TProofOutputFile::Init(), TMonaLisaWriter::Init(), IsPathLocal(), Krb5Authenticate(), TProof::MarkBad(), TIdleTOTimer::Notify(), TFTP::Print(), TProofLite::Print(), TProofServ::Print(), TProof::Print(), TSelEventGen::Process(), TProofPlayer::Process(), TSessionFrame::ProofInfos(), TProofResourcesStatic::ReadConfigFile(), TProofServ::RegisterDataSets(), TAuthenticate::RfioAuth(), TDataSetManager::ScanFile(), TProofServLite::Setup(), TXProofServ::Setup(), TApplicationServer::Setup(), TProofServ::Setup(), TProofServLite::SetupOnFork(), TSlaveLite::SetupServ(), TProof::ShowEnabledPackages(), TSelEventGen::SlaveBegin(), TSelVerifyDataSet::SlaveBegin(), TSelVerifyDataSet::SlaveTerminate(), TProofSuperMaster::StartSlaves(), TProofCondor::StartSlaves(), TAuthenticate::TAuthenticate(), TestAuth(), TProof::TProof(), and TProofBench::TProofBench().
If ignore is true ignore the interrupt signal, else restore previous behaviour.
Typically call ignore interrupt before writing to disk.
Definition at line 606 of file TSystem.cxx.
Referenced by TNetFile::WriteBuffer(), and TFile::WriteBuffer().
If ignore is true ignore the specified signal, else restore previous behaviour.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 597 of file TSystem.cxx.
Referenced by IgnoreInterrupt(), Krb5Authenticate(), and TXNetFile::SetEnv().
|
virtual |
Initialize the OS interface.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 186 of file TSystem.cxx.
Referenced by TUnixSystem::Init(), TWinNTSystem::Init(), and TROOT::InitSystem().
|
virtual |
Inner event loop.
Definition at line 404 of file TSystem.cxx.
Referenced by TQRootApplication::Execute(), Run(), and TMonitor::Select().
|
virtual |
Return true if dir is an absolute pathname.
Reimplemented in TWinNTSystem.
Definition at line 929 of file TSystem.cxx.
Referenced by TDSet::Add(), CompileMacro(), TRootBrowserLite::ExecuteDefaultAction(), TEntryList::GetEntryList(), TBranch::GetRealFileName(), TProof::HandleOutputOptions(), THtml::MakeClass(), TProofBench::MakeDataSet(), TClassDocOutput::MakeTree(), TGFileDialog::ProcessMessage(), TEntryList::SetTree(), TSelEventGen::SlaveBegin(), and TProof::UploadPackageOnClient().
|
virtual |
Return true if 'name' is a file that can be found in the ROOT include path or the current directory.
If 'name' contains any ACLiC style information (e.g. trailing +[+][g|O]), it will be striped off 'name'. If fullpath is != 0, the full path to the file is returned in *fullpath, which must be deleted by the caller.
Definition at line 944 of file TSystem.cxx.
Referenced by TTreePlayer::DrawSelect().
|
virtual |
Returns TRUE if the url in 'path' points to the local file system.
This is used to avoid going through the NIC card for local operations.
Reimplemented in TWinNTSystem, TUnixSystem, TXNetSystem, TNetXNGSystem, and TDavixSystem.
Definition at line 1222 of file TSystem.cxx.
Referenced by TNetSystem::Create(), TFile::GetType(), TNetXNGSystem::IsPathLocal(), TXNetSystem::IsPathLocal(), TUnixSystem::IsPathLocal(), TWinNTSystem::IsPathLocal(), and TFileStager::Open().
|
virtual |
Create a link from file1 to file2.
Reimplemented in TWinNTSystem, TUnixSystem, TChirpSystem, and TAlienSystem.
Definition at line 1276 of file TSystem.cxx.
|
virtual |
List all loaded shared libraries.
Regexp is a wildcard expression, see TRegexp::MakeWildcard.
Reimplemented in TUnixSystem.
Definition at line 1959 of file TSystem.cxx.
Referenced by TUnixSystem::ListLibraries().
|
virtual |
List symbols in a shared library.
Reimplemented in TUnixSystem.
Definition at line 1950 of file TSystem.cxx.
Load a shared library.
Returns 0 on successful loading, 1 in case lib was already loaded, -1 in case lib does not exist or in case of error and -2 in case of version mismatch. When entry is specified the loaded lib is searched for this entry point (return -1 when entry does not exist, 0 otherwise). When the system flag is kTRUE, the library is considered a permanent system library that should not be unloaded during the course of the session.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1766 of file TSystem.cxx.
Referenced by assembly(), TServerSocket::Authenticate(), TAuthenticate::Authenticate(), ClassImp(), CompileMacro(), TSlave::Create(), csgdemo(), TProofPlayer::DrawCanvas(), TEveBrowser::EveMenu(), TProofPlayer::FeedBackCanvas(), foam_demopers(), TAuthenticate::GenRSAKeys(), TProofPlayer::GetDrawArgs(), ROOT::Internal::GetSymInLibThread(), TProofMgr::GetXProofMgrHook(), gviz3d(), ideal(), TRootBrowser::InitPlugins(), invertMatrix(), kalman(), TCling::LazyFunctionCreatorAutoload(), LDAPExample(), TUnixSystem::Load(), TWinNTSystem::Load(), THtml::LoadAllLibs(), TROOT::LoadClass(), THtml::MakeAll(), TFile::MakeProject(), mlpHiggs(), TSlave::OldAuthSetup(), TProofServ::OldAuthSetup(), open_session(), THistPainter::Paint(), PhaseSpace(), TRootCanvas::ProcessMessage(), TProofPlayer::ReinitSelector(), rootgeom(), run(), run_foam(), run_unuran(), shapes(), solveLinear(), testIO(), testTrack(), testVectorIO(), TMultiLayerPerceptron::TMultiLayerPerceptron(), unuranDemo(), unuranDistr(), unuranMulti2D(), and unuranMultiDim().
|
virtual |
Make a directory.
Returns 0 in case of success and -1 if the directory could not be created (either already exists or illegal path name).
Reimplemented in TWinNTSystem, TUnixSystem, TNetSystem, TWebSystem, TDCacheSystem, TXNetSystem, TRFIOSystem, THDFSSystem, TGFALSystem, TDavixSystem, TNetXNGSystem, TChirpSystem, and TAlienSystem.
Definition at line 821 of file TSystem.cxx.
Referenced by TClassDocOutput::ClassDotCharts(), RooWorkspace::CodeRepo::compileClasses(), THtml::Convert(), TClassDocOutput::CreateSourceOutputStream(), THtml::GetOutputDir(), TNetSystem::MakeDirectory(), TUnixSystem::MakeDirectory(), TWinNTSystem::MakeDirectory(), RooStats::HistFactory::MakeModelAndMeasurementFast(), MakeTutorials(), TMVA::MethodBase::MethodBase(), mkdir(), RooStats::HistFactory::Measurement::PrintXML(), TGFileDialog::ProcessMessage(), TProofPlayer::ReinitSelector(), TQueryResultManager::SaveQuery(), scandir(), TProofServ::SetupCommon(), TMVA::MethodBase::SetWeightFileDir(), TProofServLite::Terminate(), TXProofServ::Terminate(), TProofServ::Terminate(), TMVA::Configurable::WriteOptionsReferenceToFile(), TPluginManager::WritePluginMacros(), and TProofLite::~TProofLite().
Make a file system directory.
Returns 0 in case of success and -1 if the directory could not be created (either already exists or illegal path name). If 'recursive' is true, makes parent directories as needed.
Reimplemented in TWinNTSystem, and TAlienSystem.
Definition at line 884 of file TSystem.cxx.
Referenced by TProofOutputFile::AssertDir(), TProof::AssertPath(), TFilePrefetch::CheckBlockInCache(), ClassImp(), CompileMacro(), TProof::DownloadPackage(), TMVA::TMVAGlob::imgconv(), TDataSetManagerFile::Init(), TDataSetManagerFile::InitLocalCache(), main(), TFile::MakeProject(), TFile::OpenFromCache(), TDocOutput::ProcessDocInDir(), TFilePrefetch::SaveBlockInCache(), TFilePrefetch::SetCache(), TFile::SetCacheFileDir(), TApplicationServer::Setup(), TProofServ::SetupCommon(), TSelEventGen::SlaveBegin(), and TUnixSystem::UnixUnixService().
Time when next timer of mode (synchronous=kTRUE or asynchronous=kFALSE) will time-out (in ms).
Definition at line 498 of file TSystem.cxx.
Referenced by TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::DispatchTimers(), TUnixSystem::RemoveTimer(), and TUnixSystem::ResetTimer().
|
virtual |
Hook to tell TSystem that the TApplication object has been created.
Reimplemented in TWinNTSystem.
Definition at line 315 of file TSystem.cxx.
Referenced by ClassImp(), and TApplication::TApplication().
|
virtual |
Get current time in milliseconds since 0:00 Jan 1 1995.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 467 of file TSystem.cxx.
Referenced by ClassImp(), TDataSetManagerAliEn::GetDataSet(), TPacketizerAdaptive::GetEstEntriesProcessed(), TGuiBldDragManager::HandleExpose(), TGTripleVSlider::HandleMotion(), TGTripleHSlider::HandleMotion(), TGDoubleVSlider::HandleMotion(), TGuiBldDragManager::HandleMotion(), TGDoubleHSlider::HandleMotion(), TGLBContainer::HandleMotion(), TVirtualPacketizer::HandleTimer(), TGuiBldDragManager::IsSelectedVisible(), NextTimeOut(), TSessionQueryFrame::OnBtnSubmit(), TProofProgressDialog::Progress(), TSessionQueryFrame::Progress(), TSessionQueryFrame::ProgressLocal(), TTimer::Reset(), TProofProgressDialog::ResetProgressDialog(), TProofBenchRunDataRead::Run(), TProofCondor::SetActive(), TVirtualPacketizer::SetInitTime(), TProofProgressStatus::SetLastUpdate(), TGTripleVSlider::SetPointerPos(), TGTripleHSlider::SetPointerPos(), TCondor::SetState(), TProofCondor::StartSlaves(), and TApplicationRemote::TApplicationRemote().
|
virtual |
Open a connection to another host.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2238 of file TSystem.cxx.
Referenced by ClassImp(), TSocket::TSocket(), and TUDPSocket::TUDPSocket().
|
virtual |
Open a directory. Returns 0 if directory does not exist.
Reimplemented in TWinNTSystem, TUnixSystem, TNetSystem, TWebSystem, TDCacheSystem, TXNetSystem, TRFIOSystem, THDFSSystem, TGFALSystem, TDavixSystem, TNetXNGSystem, TChirpSystem, and TAlienSystem.
Definition at line 830 of file TSystem.cxx.
Referenced by TFileCollection::Add(), TChain::Add(), TUploadDataSetDlg::AddFiles(), TTabCom::AppendListOfFilesInDirectory(), TQueryResultManager::ApplyMaxQueries(), TSystemDirectory::Browse(), TDataSetManagerFile::BrowseDataSets(), TFilePrefetch::CheckBlockInCache(), TQueryResultManager::CleanupQueriesDir(), TProofLite::CleanupSandbox(), TDataSetManagerFile::ClearCache(), TDocOutput::Convert(), TProofLite::CopyMacroToCache(), TGFileContainer::CreateFileList(), TDocDirective::DeleteOutputFiles(), do_put(), RooStudyManager::expandWildCardSpec(), TDataSetManagerFile::GetDataSets(), TSystemDirectory::GetListOfFiles(), TProofBench::GetPerfSpecs(), TProofMgrLite::GetSessionLogs(), TProofServ::HandleCache(), TProofLite::Load(), TPluginManager::LoadHandlerMacros(), TPluginManager::LoadHandlersFromPluginDirs(), TCling::LoadLibraryMap(), RooStats::HistFactory::MakeModelAndMeasurementFast(), TFile::MakeProject(), MakeTutorials(), TNetSystem::OpenDirectory(), TUnixSystem::OpenDirectory(), TWinNTSystem::OpenDirectory(), RooStats::HistFactory::Measurement::PrintXML(), TDocOutput::ProcessDocInDir(), THtml::TFileSysDir::Recurse(), TFilePrefetch::SaveBlockInCache(), scandir(), TQueryResultManager::ScanPreviousQueries(), TFilePrefetch::SetCache(), TProofServLite::SetupOnFork(), TDataSetManagerFile::ShowCache(), TProofLite::ShowDataDir(), TFileSet::TFileSet(), TProofServ::UnlinkDataDir(), and TProofMgr::UploadFiles().
|
virtual |
Open connection to system log daemon.
For the use of the options and facility see the Unix openlog man page.
Reimplemented in TUnixSystem.
Definition at line 1587 of file TSystem.cxx.
Referenced by TApplicationServer::ErrorHandler(), and TProofServ::TProofServ().
|
virtual |
Open a pipe.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 666 of file TSystem.cxx.
Referenced by TCondor::ClaimVM(), TASPluginGS::File2ASImage(), GetFromPipe(), TCondor::GetImage(), TAlienCollection::GetOutputFileName(), TCondor::GetVirtualMachines(), TCondor::GetVmInfo(), TGTextEdit::Print(), TCondor::Release(), TCondor::SetState(), TProof::SystemCmd(), TASLogHandler::TASLogHandler(), and TProofServLogHandler::TProofServLogHandler().
|
virtual |
Concatenate a directory and a file name.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1038 of file TSystem.cxx.
Referenced by TDSet::Add(), TClassDocOutput::Class2Html(), TClassDocOutput::ClassDotCharts(), TClassDocOutput::ClassTree(), ConcatFileName(), THtml::CopyFileFromEtcDir(), TDocOutput::CopyHtmlFile(), TDocOutput::CreateClassIndex(), TDocOutput::CreateClassTypeDefs(), TDocOutput::CreateHierarchy(), TClassDocOutput::CreateHierarchyDot(), THtml::CreateListOfClasses(), TDocOutput::CreateModuleIndex(), TDocOutput::CreateProductIndex(), TClassDocOutput::CreateSourceOutputStream(), TDocMacroDirective::CreateSubprocessInputFile(), TDocOutput::CreateTypeIndex(), TEntryList::GetEntryList(), THtml::GetEtcDir(), THtml::GetHtmlFileName(), TDocMacroDirective::GetResult(), TDocLatexDirective::GetResult(), THtml::HaveDot(), TDocOutput::IsModified(), Load(), TDocParser::LocateMethods(), TDocOutput::ProcessDocInDir(), TClass::ReadRules(), TDocOutput::RunDot(), TEntryList::SetTree(), TCling_GenerateDictionary(), TProof::UploadPackageOnClient(), TDocOutput::WriteHtmlFooter(), and TDocOutput::WriteHtmlHeader().
|
virtual |
Process pending events (GUI, timers, sockets).
Returns the result of TROOT::IsInterrupted(). The interrupt flag (TROOT::SetInterrupt()) can be set during the handling of the events. This mechanism allows macros running in tight calculating loops to be interrupted by some GUI event (depending on the interval with which this method is called). For example hitting ctrl-c in a canvas will set the interrupt flag.
Reimplemented in TWinNTSystem.
Definition at line 420 of file TSystem.cxx.
Referenced by TFileDrawMap::AnimateTree(), TRootBrowser::CloseTabs(), TDocOutput::Convert(), TXProofMgr::CpProgress(), TFile::CpProgress(), TGFileContainer::CreateFileList(), TDocLatexDirective::CreateLatex(), TestDialog::FillHistos(), fitpanel_playback(), TASImage::FromPad(), TASImage::FromWindow(), TRootCanvas::HandleContainerButton(), hsimple(), httpaccess(), httpcontrol(), httpserver(), httptextlog(), THtml::MakeAll(), memstatExample(), MyTimerProc(), TGTextViewStreamBuf::overflow(), TCreatePrimitives::Pave(), piRandom(), TWinNTSystem::ProcessEvents(), TProcessEventTimer::ProcessEvents(), TGClient::ProcessEventsFor(), TestProgress::ProcessMessage(), TRootBrowser::RemoveTab(), TRecorderReplaying::ReplayRealtime(), TGWin32::RequestString(), RootX11ErrorHandler(), TRootCanvas::SetWindowSize(), TMemStatShow::Show(), TSessionViewer::ShowInfo(), TDocMacroDirective::SubProcess(), TEveManager::TEveManager(), TCreatePrimitives::Text(), threadsh1(), threadsh2(), TMultiLayerPerceptron::Train(), TGClient::WaitFor(), TGClient::WaitForUnmap(), TPad::WaitPrimitive(), while(), and TDocLatexDirective::~TDocLatexDirective().
|
inline |
Definition at line 411 of file TSystem.h.
Referenced by TMVA::RuleFitAPI::CheckRFWorkDir(), TDocOutput::Convert(), TDocMacroDirective::CreateSubprocessInputFile(), TEntryList::GetEntryList(), TProof::GetSandbox(), TWinNTSystem::GetUid(), TWinNTSystem::GetUserInfo(), TRootBrowserLite::IconBoxAction(), RooStats::HistFactory::MakeModelAndMeasurementFast(), TMVA::RuleFitAPI::RunRuleFit(), and TEntryList::SetTree().
|
virtual |
Receive a buffer headed by a length indicator.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2320 of file TSystem.cxx.
|
virtual |
Receive exactly length bytes into buffer.
Use opt to receive out-of-band data or to have a peek at what is in the buffer (see TSocket).
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2301 of file TSystem.cxx.
Referenced by TUDPSocket::Recv(), TSocket::Recv(), TUDPSocket::RecvRaw(), TSocket::RecvRaw(), TUDPSocket::Send(), and TSocket::Send().
|
virtual |
Redirect standard output (stdout, stderr) to the specified file.
If the file argument is 0 the output is set again to stderr, stdout. The second argument specifies whether the output should be added to the file ("a", default) or the file be truncated before ("w"). The implementations of this function save internally the current state into a static structure.
The call can be made reentrant by specifying the opaque structure pointed by 'h', which is filled with the relevant information. The handle 'h' obtained on the first call must then be used in any subsequent call, included ShowOutput, to display the redirected output. Returns 0 on success, -1 in case of error.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1625 of file TSystem.cxx.
Referenced by TFile::AsyncOpen(), TProof::ClearData(), TDataSetManagerFile::CreateLsFile(), TProof::DownloadPackage(), TProofPlayerRemote::Finalize(), TProof::GetStatistics(), TGCommandPlugin::HandleCommand(), TProofServ::HandleSocketInput(), TSessionFrame::OnCommandLine(), TFile::Open(), TProofPerfAnalysis::PrintFileInfo(), TProofPlayerLite::Process(), TProofPlayerRemote::Process(), redirguard::redirguard(), TSessionViewer::ShowEnabledPackages(), TSessionViewer::ShowPackages(), TSessionViewer::ShowStatus(), TProofPerfAnalysis::Summary(), TGRedirectOutputGuard::TGRedirectOutputGuard(), TRedirectOutputGuard::TRedirectOutputGuard(), redirguard::~redirguard(), TGRedirectOutputGuard::~TGRedirectOutputGuard(), and TRedirectOutputGuard::~TRedirectOutputGuard().
|
virtual |
Remove a file handler from the list of file handlers.
Returns the handler or 0 if the handler was not in the list of file handlers.
Reimplemented in TWinNTSystem, TUnixSystem, and TMacOSXSystem.
Definition at line 568 of file TSystem.cxx.
Referenced by TXProofServ::CreateServer(), TMPClient::Fork(), TXProofMgr::GetFile(), TXProofMgr::PutFile(), TFileHandler::Remove(), TUnixSystem::RemoveFileHandler(), TWinNTSystem::RemoveFileHandler(), RootX11IOErrorHandler(), TXProofServ::Terminate(), TApplicationServer::Terminate(), TProofServ::Terminate(), TASLogHandlerGuard::~TASLogHandlerGuard(), and TProofServLogHandlerGuard::~TProofServLogHandlerGuard().
Objects that should be deleted on exit of the OS interface.
Definition at line 296 of file TSystem.cxx.
|
virtual |
Remove a signal handler from list of signal handlers.
Returns the handler or 0 if the handler was not in the list of signal handlers.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 546 of file TSystem.cxx.
Referenced by TMPClient::Fork(), TProofLite::Process(), TProof::Process(), TSignalHandler::Remove(), TUnixSystem::RemoveSignalHandler(), TWinNTSystem::RemoveSignalHandler(), and TProofServLite::Terminate().
|
virtual |
Remove an exception handler from list of exception handlers.
Returns the handler or 0 if the handler was not in the list of exception handlers.
Definition at line 625 of file TSystem.cxx.
Referenced by TStdExceptionHandler::Remove().
Remove timer from list of system timers.
Returns removed timer or 0 if timer was not active.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 485 of file TSystem.cxx.
Referenced by TDocOutput::Convert(), TGContainer::HandleButton(), TGLVContainer::HandleButton(), TGLBContainer::HandleButton(), Notify(), TUnixSystem::RemoveTimer(), TWinNTSystem::RemoveTimer(), TApplication::StopIdleing(), and TTimer::TurnOff().
|
virtual |
Rename a file.
Reimplemented in TWinNTSystem, TUnixSystem, TChirpSystem, and TAlienSystem.
Definition at line 1267 of file TSystem.cxx.
Referenced by TPostScript::Close(), TDataSetManagerFile::CreateLsFile(), do_anadist(), do_info_server(), do_ls_files_server(), do_put(), do_rm(), do_verify(), TAlienCollection::GetOutputFileName(), TSystemFile::Rename(), TEnv::SaveLevel(), TDataSetManagerFile::WriteDataSet(), and ROOT::Internal::TTreeProxyGenerator::WriteProxy().
|
static |
Static function resetting system error number.
Definition at line 280 of file TSystem.cxx.
Referenced by TUnixSystem::AcceptConnection(), TWinNTSystem::AcceptConnection(), TMapFile::AcquireSemaphore(), TUnixSystem::CloseConnection(), TWinNTSystem::CloseConnection(), TXProofServ::CreateServer(), TXSocket::CtrlC(), TMD5::FileChecksum(), TFTP::GetFile(), TXProofMgr::GetFile(), TProof::LogMessage(), TXSocket::Ping(), TFTP::PutFile(), TXProofMgr::PutFile(), TProofMgrLite::ReadBuffer(), TNetFile::ReadBuffer(), TNetFile::ReadBuffers(), TUDPSocket::Recv(), TSocket::Recv(), TXSocket::Recv(), TSSLSocket::RecvRaw(), TUDPSocket::RecvRaw(), TSocket::RecvRaw(), TXSocket::RemoteTouch(), TRFIOFile::ResetErrno(), THDFSFile::ResetErrno(), TDCacheFile::ResetErrno(), TMemFile::ResetErrno(), TFile::ResetErrno(), TUDPSocket::Send(), TSocket::Send(), TXSocket::Send(), TApplicationRemote::SendFile(), TProof::SendFile(), TXSocket::SendInterrupt(), TApplicationServer::SendLogFile(), TProofServ::SendLogFile(), TXProofMgr::SendMsgToUsers(), TSSLSocket::SendRaw(), TUDPSocket::SendRaw(), TSocket::SendRaw(), TXSocket::SendRaw(), TXSocket::SendUrgent(), SetErrorStr(), ShowOutput(), TProofServ::TruncateLogFile(), TUnixSystem::UnixRecv(), TUnixSystem::UnixSelect(), TUnixSystem::UnixTcpConnect(), TUnixSystem::UnixUdpConnect(), TUnixSystem::UnixUnixConnect(), TWinNTSystem::WinNTUdpConnect(), and TWinNTSystem::WinNTUnixConnect().
If reset is true reset the signal handler for the specified signal to the default handler, else restore previous behaviour.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 580 of file TSystem.cxx.
|
virtual |
Reset signals handlers to previous behaviour.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 588 of file TSystem.cxx.
Referenced by TROOT::InitSystem().
Reimplemented in TUnixSystem.
Definition at line 386 of file TSystem.h.
Referenced by TTimer::Reset().
|
virtual |
Select on active file descriptors (called by TMonitor).
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 449 of file TSystem.cxx.
Referenced by TMonitor::Select(), TUDPSocket::Select(), and TSocket::Select().
|
virtual |
Select on active file descriptors (called by TMonitor).
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 457 of file TSystem.cxx.
|
virtual |
Send a buffer headed by a length indicator.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2329 of file TSystem.cxx.
|
virtual |
Send exactly length bytes from buffer.
Use opt to send out-of-band data (see TSocket).
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2311 of file TSystem.cxx.
Referenced by TUDPSocket::Recv(), TSocket::Recv(), TUDPSocket::Send(), TSocket::Send(), TUDPSocket::SendRaw(), and TSocket::SendRaw().
|
virtual |
AclicMode indicates whether the library should be built in debug mode or optimized.
The values are:
Definition at line 3818 of file TSystem.cxx.
Set the location where ACLiC will create libraries and use as a scratch area.
If isflast is flase, then the libraries are actually stored in sub-directories of 'build_dir' including the full pathname of the script. If the script is location at /full/path/name/macro.C the library will be located at 'build_dir+/full/path/name/macro_C.so' If 'isflat' is true, then no subdirectory is created and the library is created directly in the directory 'build_dir'. Note that in this mode there is a risk than 2 script of the same in different source directory will over-write each other.
Definition at line 3786 of file TSystem.cxx.
|
virtual |
Set DISPLAY environment variable based on utmp entry. Only for UNIX.
Reimplemented in TUnixSystem.
Definition at line 235 of file TSystem.cxx.
Referenced by ClassImp().
|
virtual |
Set the dynamic path to a new value.
If the value of 'path' is zero, the dynamic path is reset to its default value.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1716 of file TSystem.cxx.
Referenced by TProofServ::HandleLibIncPath(), and TProof::HandleLibIncPath().
|
virtual |
Set environment variable.
Reimplemented in TUnixSystem, and TWinNTSystem.
Definition at line 1559 of file TSystem.cxx.
Referenced by ClassImp(), TAlienFile::Close(), TXNetFile::CreateXClient(), h1chain(), TXSocket::InitEnvs(), TGaxis::PaintAxis(), run_h1analysis(), TNetXNGFile::SetEnv(), TXNetFile::SetEnv(), TProof::SetParallel(), TProofServ::Setup(), TProofServ::SetupCommon(), TProofServLite::SetupOnFork(), TProof::TProof(), and Unsetenv().
void TSystem::SetErrorStr | ( | const char * | errstr | ) |
Set the system error string.
This string will be used by GetError(). To be used in case one does not want or can use the system error string (e.g. because error is generated by a third party POSIX like library that does not use standard errno).
Definition at line 245 of file TSystem.cxx.
Referenced by TRFIOSystem::AccessPathName(), TDCacheFile::CheckFile(), TDCacheSystem::FreeDirectory(), TDCacheSystem::GetDirEntry(), TRFIOSystem::MakeDirectory(), TDCacheSystem::MakeDirectory(), TRFIOSystem::OpenDirectory(), TDCacheSystem::OpenDirectory(), TDCacheFile::Stage(), TRFIOFile::SysClose(), TDCacheFile::SysClose(), TRFIOFile::SysOpen(), TDCacheFile::SysOpen(), TRFIOFile::SysRead(), THDFSFile::SysRead(), TDCacheFile::SysRead(), TMemFile::SysRead(), TRFIOFile::SysSeek(), TDCacheFile::SysSeek(), TRFIOFile::SysStat(), TDCacheFile::SysSync(), TRFIOFile::SysWrite(), TDCacheFile::SysWrite(), and TMemFile::SysWrite().
|
virtual |
FlagsDebug should contain the options to pass to the C++ compiler in order to compile the library in debug mode.
Definition at line 3797 of file TSystem.cxx.
|
virtual |
FlagsOpt should contain the options to pass to the C++ compiler in order to compile the library in optimized mode.
Definition at line 3806 of file TSystem.cxx.
|
virtual |
Set which conditions trigger a floating point exception.
Return the previous set of conditions.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 646 of file TSystem.cxx.
|
virtual |
IncludePath should contain the list of compiler flags to indicate where to find user defined header files.
It is used to expand $IncludePath in the directives given to SetMakeSharedLib() and SetMakeExe(), e.g.:
the default value of IncludePath on Unix is:
and on Windows:
Definition at line 3930 of file TSystem.cxx.
Referenced by TProofServ::HandleLibIncPath(), TProof::HandleLibIncPath(), TProof::Load(), TProofPlayer::ReinitSelector(), TMVA::TMVAGui(), TMVA::TMVAMultiClassGui(), TMVA::TMVARegGui(), TProofServ::UnloadPackage(), and TProof::UnloadPackageOnClient().
|
virtual |
The 'suffix' will be appended to the name of a script loaded by ACLiC and used to locate any eventual additional linkdef information that ACLiC should used to produce the dictionary.
So by default, when doing .L MyScript.cxx, ACLiC will look for a file name MyScript_linkdef and having one of the .h (.hpp, etc.) extensions. If such a file exist, it will be added to the end of the linkdef file used to created the ACLiC dictionary. This effectively enable the full customization of the creation of the dictionary. It should be noted that the file is intended as a linkdef fragment
, so usually you would not list the typical:
Definition at line 3963 of file TSystem.cxx.
|
virtual |
LinkedLibs should contain the library directory and list of libraries needed to recreate the current executable.
It is used to expand $LinkedLibs in the directives given to SetMakeSharedLib() and SetMakeExe() The default value on Unix is: root-config --glibs
Definition at line 3941 of file TSystem.cxx.
|
virtual |
Directives has the same syntax as the argument of SetMakeSharedLib but is used to create an executable.
This creation is used as a means to output a list of unresolved symbols, when loading a shared library has failed. The required variable is $ExeName rather than $SharedLib, e.g.:
Definition at line 3834 of file TSystem.cxx.
|
virtual |
Directives should contain the description on how to compile and link a shared lib.
This description can be any valid shell command, including the use of ';' to separate several instructions. However, shell specific construct should be avoided. In particular this description can contain environment variables, like $ROOTSYS (or ROOTSYS% on windows).
e.g.:
Definition at line 3886 of file TSystem.cxx.
|
virtual |
Set object files extension, should be either .o, .obj, etc.
Definition at line 3980 of file TSystem.cxx.
|
virtual |
Set the application name (from command line, argv[0]) and copy it in gProgName.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 227 of file TSystem.cxx.
Referenced by ClassImp(), PyROOT::TPyROOTApplication::InitROOTGlobals(), and TApplication::TApplication().
|
virtual |
Set socket option.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 2338 of file TSystem.cxx.
Referenced by TUDPSocket::SetOption(), TSocket::SetOption(), TUnixSystem::UnixTcpConnect(), and TUnixSystem::UnixTcpService().
|
virtual |
Set shared library extension, should be either .so, .sl, .a, .dll, etc.
Definition at line 3972 of file TSystem.cxx.
|
virtual |
Display the content associated with the redirection described by the opaque handle 'h'.
Definition at line 1635 of file TSystem.cxx.
Referenced by TFile::AsyncOpen(), TDataSetManagerFile::GetDataSets(), and TFile::Open().
Reimplemented in TUnixSystem.
Definition at line 320 of file TSystem.h.
Referenced by NextTimeOut().
Sleep milliSec milli seconds.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 441 of file TSystem.cxx.
Referenced by TFileDrawMap::AnimateTree(), TCling::Calc(), ClassImp(), TRootBrowser::CloseTabs(), TTable::Create(), TGFileBrowser::DoubleClicked(), fitpanel_playback(), TASImage::FromPad(), TASImage::FromWindow(), TWebFile::GetHead(), TXProofServ::GetWorkers(), handle(), handle1(), handle2(), TApplicationServer::HandleUrgentData(), TProofServ::HandleUrgentData(), httpcontrol(), TSlave::Interrupt(), TApplicationRemote::Interrupt(), THtml::MakeAll(), TFile::Open(), TGraphTime::Paint(), TPad::Print(), ROOT::R::TRInterface::ProcessEventsLoop(), TestProgress::ProcessMessage(), TTable::ReAlloc(), TRootBrowser::RemoveTab(), TGraphTime::SaveAnimatedGif(), TGSpeedo::SetScaleValue(), TRootCanvas::SetWindowSize(), TThread::Sleep(), TAuthenticate::SshAuth(), TProofCondor::StartSlaves(), TDocMacroDirective::SubProcess(), TXProofServ::Terminate(), threadsh1(), threadsh2(), TGClient::WaitFor(), TGClient::WaitForUnmap(), TPad::WaitPrimitive(), and while().
|
virtual |
This method split a filename of the form: ~~~ {.cpp} [path/]macro.C[+|++[k|f|g|O|c|s|d|v|-]][(args)].
~~~ It stores the ACliC mode [+|++[options]] in 'mode', the arguments (including parenthesis) in arg and the I/O indirection in io
Definition at line 3994 of file TSystem.cxx.
Referenced by ClassImp(), TProofLite::CopyMacroToCache(), TTreePlayer::DrawScript(), TApplication::ExecuteFile(), TProof::GetFileInCmd(), TApplication::GetOptions(), TSelector::GetSelector(), IsFileInIncludePath(), TProof::Load(), TROOT::LoadMacro(), TROOT::Macro(), TApplicationServer::ProcessLine(), TApplication::ProcessLine(), TCling::ProcessLine(), TQueryResult::SaveSelector(), TProofPlayerRemote::SendSelector(), and TCling__SplitAclicMode().
|
virtual |
Print a stack trace.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 736 of file TSystem.cxx.
Referenced by DefaultErrorHandler(), TApplicationServer::ErrorHandler(), and TProofServ::ErrorHandler().
|
inlinestaticprotected |
Definition at line 324 of file TSystem.h.
Referenced by TUnixSystem::AccessPathName(), TWinNTSystem::AccessPathName(), TWinNTSystem::GetPathInfo(), TWinNTSystem::MakeDirectory(), TWinNTSystem::OpenDirectory(), TUnixSystem::UnixFilestat(), TUnixSystem::UnixMakedir(), and TUnixSystem::UnixOpendir().
|
virtual |
Create a symbolic link from file1 to file2.
Reimplemented in TWinNTSystem, TUnixSystem, TChirpSystem, and TAlienSystem.
Definition at line 1285 of file TSystem.cxx.
Referenced by TProofLite::CreateSandbox(), TProofLite::CreateSymLinks(), TProofServ::HandleCache(), TFile::OpenFromCache(), TProofServLite::Setup(), TProofServLite::SetupOnFork(), and TProof::UploadPackageOnClient().
Send mess to syslog daemon.
Level is the logging level and mess the message that will be written on the log.
Reimplemented in TUnixSystem.
Definition at line 1596 of file TSystem.cxx.
Referenced by TApplicationServer::ErrorHandler(), TProofServ::ErrorHandler(), TProofServ::HandleSocketInput(), TProofServ::SetupCommon(), TXProofServ::Terminate(), and TProofServ::Terminate().
|
virtual |
Return a user configured or systemwide directory to create temporary files in.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1395 of file TSystem.cxx.
Referenced by TFileMerger::AddFile(), TServerSocket::Authenticate(), TCondor::ClaimVM(), TGuiBldDragManager::CloneEditable(), TSessionViewer::CloseWindow(), TGTextEditor::CompileMacro(), CompileMacro(), TDocMacroDirective::CreateSubprocessInputFile(), do_anadist(), TRootBrowserLite::ExecMacro(), TProofCondor::GetJobAd(), TGCommandPlugin::HandleCommand(), TDataSetManagerFile::Init(), TProofLite::Init(), TProof::Init(), TDataSetManagerFile::InitLocalCache(), main(), TSessionFrame::OnCommandLine(), TAlienCollection::Open(), TFileMerger::OpenExcessFiles(), TFileMerger::PartialMerge(), TRootCanvas::PrintCanvas(), ReadRemoteImage(), TProofPlayer::ReinitSelector(), TProofLite::SetProofServEnv(), TProofServ::SetupCommon(), TSessionViewer::ShowEnabledPackages(), TSessionViewer::ShowPackages(), TSessionViewer::ShowStatus(), TSessionViewer::Terminate(), TGuiBldDragManager::TGuiBldDragManager(), and TGCommandPlugin::~TGCommandPlugin().
|
virtual |
Create a secure temporary file by appending a unique 6 letter string to base.
The file will be created in a standard (system) directory or in the directory provided in dir. The full filename is returned in base and a filepointer is returned for safely writing to the file (this avoids certain security problems). Returns 0 in case of error.
Reimplemented in TWinNTSystem, and TUnixSystem.
Definition at line 1410 of file TSystem.cxx.
Referenced by TFile::AsyncOpen(), TCondor::ClaimVM(), TProof::ClearData(), TTabCom::DetermineClass(), TTabCom::GetListOfEnvVars(), TTabCom::GetSysIncludePath(), TProofServ::HandleSocketInput(), TFile::Open(), TRootCanvas::PrintCanvas(), TAuthenticate::ReadRootAuthrc(), TAuthenticate::SshAuth(), TGRedirectOutputGuard::TGRedirectOutputGuard(), and ROOT::Internal::TTreeProxyGenerator::WriteProxy().
|
virtual |
Set the process file creation mode mask.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 1428 of file TSystem.cxx.
Referenced by TProofServ::SetupCommon().
|
virtual |
Convert from a Unix pathname to a local pathname.
E.g. from /user/root
to \user\root
.
Reimplemented in TWinNTSystem.
Definition at line 1020 of file TSystem.cxx.
Referenced by TChain::Add(), TUploadDataSetDlg::AddFiles(), benchmarks(), TGHtmlBrowser::CheckAnchors(), ClassImp(), CompareMasses(), TStyleManager::DoExport(), TStyleManager::DoImportCanvas(), TGFileBrowser::DoubleClicked(), TRootBrowser::ExecPlugin(), RooStudyManager::expandWildCardSpec(), fit1(), fitslicesy(), foam_demopers(), geometry(), TEntryList::GetEntryList(), TGPicturePool::GetPicture(), TGFileBrowser::GotoDir(), TGuiBldDragManager::HandleKey(), TRootBrowser::HandleMenu(), TGListTree::HandleMotion(), hsimple(), myfit(), TNewQueryDlg::OnBrowseSelector(), TEditQueryFrame::OnBrowseSelector(), TSessionFrame::OnBtnAddClicked(), TNewChainDlg::OnDoubleClick(), TGHtmlBrowser::ProcessMessage(), TGFileDialog::ProcessMessage(), TTreeViewer::ProcessMessage(), TGuiBldDragManager::Save(), TGuiBldDragManager::SaveFrame(), TGMainFrame::SaveFrameAsCodeOrImage(), TGIcon::SavePrimitive(), TGToolBar::SavePrimitive(), TGTextView::SavePrimitive(), TGTextEdit::SavePrimitive(), TGListTreeItemStd::SavePrimitive(), TGPopupMenu::SavePrimitive(), TGPictureButton::SavePrimitive(), TRootGuiBuilder::SaveProject(), TClassTree::ScanClasses(), TGHtmlBrowser::Selected(), TGIcon::SetImagePath(), TEntryList::SetTree(), tasks(), TestSPlot(), TUploadDataSetDlg::UploadDataSet(), and TGHtmlBrowser::URLChanged().
|
virtual |
Unlink, i.e. remove, a file.
Reimplemented in TWinNTSystem, TUnixSystem, TNetSystem, TWebSystem, TXNetSystem, TRFIOSystem, THDFSSystem, TAlienSystem, TDavixSystem, TNetXNGSystem, and TChirpSystem.
Definition at line 1294 of file TSystem.cxx.
Referenced by TQueryResultManager::ApplyMaxQueries(), TFile::AsyncOpen(), TProofServ::CatMotd(), TCondor::ClaimVM(), CleanCompiledMacros(), TQueryResultManager::CleanupSession(), TDataSetManagerFile::ClearCache(), TProof::ClearData(), TProof::ClearInputData(), TGuiBldDragManager::CloneEditable(), TAlienFile::Close(), TPostScript::Close(), TSessionViewer::CloseWindow(), TGTextEditor::CompileMacro(), CompileMacro(), TDocOutput::Convert(), TFile::Cp(), TDataSetManagerFile::CreateLsFile(), TProofLite::CreateSandbox(), TProofLite::CreateSymLinks(), TSystemFile::Delete(), TDocDirective::DeleteOutputFiles(), TTabCom::DetermineClass(), do_cache(), do_ls(), TEveMacro::Exec(), TRootBrowserLite::ExecMacro(), TGTextEditor::ExecuteMacro(), TDSet::ExportFileList(), TTabCom::GetListOfEnvVars(), TDocMacroDirective::GetResult(), TTabCom::GetSysIncludePath(), TProofServ::HandleRemove(), TProofServ::HandleSocketInput(), IsNew(), TLockFile::Lock(), main(), TFile::MakeProject(), TProofPlayerRemote::MergeOutputFiles(), TSystemFile::Move(), TAlienCollection::Open(), TFile::Open(), TFileMerger::PartialMerge(), RooStudyManager::prepareBatchInput(), TProof::PrepareInputDataFile(), TRootCanvas::PrintCanvas(), R__WriteDependencyFile(), ReadRemoteImage(), TAuthenticate::ReadRootAuthrc(), TProofLite::Remove(), TDataSetManagerFile::RemoveDataSet(), TSelHandleDataSet::RemoveFile(), TProofMgr::Rm(), TDocOutput::RunDot(), TProofLite::SendInputDataFile(), TGuiBldDragManager::SetEditable(), TApplicationServer::Setup(), TProofServ::SetupCommon(), TProofServLite::SetupOnFork(), showFile(), TAuthenticate::SshAuth(), TXProofServ::Terminate(), TApplicationServer::Terminate(), TProofServ::Terminate(), TSessionViewer::Terminate(), TFile::TFile(), threadsh2(), TMapFile::TMapFile(), TXMLFile::TXMLFile(), TProofOutputFile::Unlink(), TNetSystem::Unlink(), TUnixSystem::Unlink(), TWinNTSystem::Unlink(), TProofServ::UnlinkDataDir(), TProofServ::UnloadPackage(), TProof::UnloadPackageOnClient(), TProof::UploadPackageOnClient(), TSessionViewer::WriteConfiguration(), TDataSetManagerFile::WriteDataSet(), ROOT::Internal::TTreeProxyGenerator::WriteProxy(), TGCommandPlugin::~TGCommandPlugin(), TGRedirectOutputGuard::~TGRedirectOutputGuard(), TGuiBldDragManager::~TGuiBldDragManager(), TLockFile::~TLockFile(), TProof::~TProof(), TProofBench::~TProofBench(), and TProofLite::~TProofLite().
|
virtual |
Unload a shared library.
Reimplemented in TUnixSystem.
Definition at line 1938 of file TSystem.cxx.
Referenced by TUnixSystem::Unload().
|
virtual |
Unset environment variable.
Reimplemented in TUnixSystem.
Definition at line 1567 of file TSystem.cxx.
Referenced by ClassImp(), TAlienFile::Close(), TGaxis::PaintAxis(), and TProof::SetParallel().
Set the a files modification and access times.
If actime = 0 it will be set to the modtime. Returns 0 on success and -1 in case of error.
Reimplemented in TWinNTSystem, TUnixSystem, TAlienSystem, and TChirpSystem.
Definition at line 1438 of file TSystem.cxx.
Referenced by TDataSetManagerFile::CheckLocalCache(), and TMD5::FileChecksum().
|
virtual |
Find location of file in a search path.
User must delete returned string. Returns 0 in case file is not found.
Definition at line 1459 of file TSystem.cxx.
Referenced by TServerSocket::Authenticate(), TProof::BuildPackageOnClient(), ClassImp(), TApplicationRemote::CollectInput(), CompileMacro(), THtml::Convert(), ROOT::MacOSX::X11::CreateCustomCursor(), TProofServLite::CreateServer(), TXProofServ::CreateServer(), TProofServ::CreateServer(), TProof::Exec(), TRint::ExecLogon(), TApplicationServer::ExecLogon(), TApplication::ExecuteFile(), TPostScript::FontEmbed(), GetExePath(), TTabCom::GetListOfEnvVars(), TApplication::GetOptions(), TGPicturePool::GetPicture(), TGPrintDialog::GetPrinters(), TProofServ::HandleCache(), TProofServ::HandleCheckFile(), TApplication::InitializeGraphics(), IsFileInIncludePath(), TROOT::LoadMacro(), TROOT::Macro(), TApplicationServer::ProcessLine(), TApplication::ProcessLine(), R__WriteDependencyFile(), TGLFontManager::RegisterFont(), TProofPlayer::ReinitSelector(), TCling::ReloadAllSharedLibraryMaps(), TQueryResult::SaveSelector(), TClassTree::ScanClasses(), ROOT::MacOSX::Details::FontCache::SelectSymbolFont(), TGCocoa::SetApplicationIcon(), TGLText::SetGLTextFont(), TUnixSystem::SetProgname(), TWinNTSystem::SetProgname(), TTF::SetTextFont(), TAuthenticate::SshAuth(), TUnixSystem::StackTrace(), TRint::Terminate(), TestAuth(), TProof::UploadPackageOnClient(), and ROOT::Internal::TTreeProxyGenerator::WriteProxy().
|
virtual |
Return working directory.
Reimplemented in TWinNTSystem, TUnixSystem, and TAlienSystem.
Definition at line 865 of file TSystem.cxx.
Referenced by TChain::Add(), TDSet::Add(), TProofPlayer::AssertSelector(), TMVA::MethodBase::BaseDir(), TSystemDirectory::Browse(), TRemoteObject::Browse(), TGFileBrowser::BrowseObj(), TProof::BuildPackageOnClient(), TGFileContainer::ChangeDirectory(), ClassImp(), CompileMacro(), TGFileContainer::CreateFileList(), TProofLite::CreateSandbox(), TGFileBrowser::DoubleClicked(), TRint::ExecLogon(), TApplicationServer::ExecLogon(), TRootBrowserLite::ExecuteDefaultAction(), TGTextEditor::ExecuteMacro(), ExpandFileName(), RooStudyManager::expandWildCardSpec(), TUnixSystem::FindFile(), GetExePath(), TApplication::GetOptions(), TProofBench::GetPerfSpecs(), TProofMgrLite::GetSessionLogs(), TProofServ::HandleCache(), TGListTree::HandleMotion(), TProofServ::HandleSocketInput(), hsimpleProxyDriver(), TProofOutputFile::Init(), TProof::Init(), TCling::InitRootmapFile(), TSystemDirectory::IsItDirectory(), TProof::LoadPackageOnClient(), TFile::MakeProject(), TProofLite::Print(), TProof::Print(), TApplicationServer::ProcessLine(), TGFileDialog::ProcessMessage(), TRootCanvas::ProcessMessage(), TSessionFrame::ProofInfos(), pwd(), pwd(), R__WriteDependencyFile(), TRint::Run(), TGTextEditor::SaveFileAs(), TProofServ::SendStatistics(), TApplicationServer::Setup(), TProofServ::SetupCommon(), TestAuth(), TGFileContainer::TGFileContainer(), TROOT::TROOT(), TGFileBrowser::Update(), TProof::UploadPackageOnClient(), TMVA::MethodBase::WriteStateToStream(), and TMVA::MethodBase::WriteStateToXML().
|
protected |
Definition at line 306 of file TSystem.h.
Referenced by CompileMacro(), GetAclicMode(), Init(), and SetAclicMode().
|
protected |
Definition at line 310 of file TSystem.h.
Referenced by CompileMacro(), GetAclicProperties(), and SetBuildDir().
|
protected |
Definition at line 280 of file TSystem.h.
Referenced by Beep(), GetBeepDefaults(), Init(), and TWinNTSystem::TWinNTSystem().
|
protected |
Definition at line 279 of file TSystem.h.
Referenced by Beep(), GetBeepDefaults(), Init(), and TWinNTSystem::TWinNTSystem().
|
protected |
Definition at line 294 of file TSystem.h.
Referenced by GetBuildArch(), and Init().
|
protected |
Definition at line 295 of file TSystem.h.
Referenced by GetBuildCompiler(), and Init().
|
protected |
Definition at line 296 of file TSystem.h.
Referenced by GetBuildCompilerVersion(), and Init().
|
protected |
Definition at line 298 of file TSystem.h.
Referenced by GetBuildDir(), and SetBuildDir().
|
protected |
Definition at line 297 of file TSystem.h.
Referenced by GetBuildNode(), and Init().
|
protected |
Definition at line 311 of file TSystem.h.
Referenced by CleanCompiledMacros(), CompileMacro(), Init(), and ~TSystem().
|
protected |
Definition at line 283 of file TSystem.h.
Referenced by ExitLoop(), and Run().
|
protected |
Definition at line 288 of file TSystem.h.
Referenced by AddFileHandler(), TWinNTSystem::CheckDescriptors(), TUnixSystem::CheckDescriptors(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), GetListOfFileHandlers(), Init(), TUnixSystem::RemoveFileHandler(), RemoveFileHandler(), TMacOSXSystem::WaitEvents(), and ~TSystem().
|
protected |
Definition at line 299 of file TSystem.h.
Referenced by CompileMacro(), GetFlagsDebug(), Init(), and SetFlagsDebug().
|
protected |
Definition at line 300 of file TSystem.h.
Referenced by CompileMacro(), GetFlagsOpt(), Init(), and SetFlagsOpt().
|
protected |
Definition at line 312 of file TSystem.h.
Referenced by FindHelper(), and ~TSystem().
|
protected |
Definition at line 277 of file TSystem.h.
Referenced by TUnixSystem::HostName(), and TWinNTSystem::HostName().
|
protected |
Definition at line 302 of file TSystem.h.
Referenced by AddIncludePath(), GetIncludePath(), Init(), and SetIncludePath().
|
protected |
Definition at line 282 of file TSystem.h.
Referenced by InControl(), and Run().
|
protected |
Definition at line 278 of file TSystem.h.
Referenced by TWinNTSystem::DispatchTimers(), TUnixSystem::DispatchTimers(), TUnixSystem::ResetTimer(), and TWinNTSystem::TimerThread().
|
protected |
Definition at line 284 of file TSystem.h.
Referenced by Init(), and InnerLoop().
|
protected |
Definition at line 309 of file TSystem.h.
Referenced by GetLinkdefSuffix(), and SetLinkdefSuffix().
|
protected |
Definition at line 303 of file TSystem.h.
Referenced by AddLinkedLibs(), GetLibraries(), GetLinkedLibs(), Init(), and SetLinkedLibs().
|
protected |
Definition at line 292 of file TSystem.h.
Referenced by TWinNTSystem::GetLibraries(), and GetLibraries().
|
protected |
Definition at line 301 of file TSystem.h.
Referenced by GetIncludePath().
|
protected |
Definition at line 308 of file TSystem.h.
Referenced by CompileMacro(), GetMakeExe(), Init(), and SetMakeExe().
|
protected |
Definition at line 307 of file TSystem.h.
Referenced by CompileMacro(), GetMakeSharedLib(), Init(), and SetMakeSharedLib().
|
protected |
Definition at line 273 of file TSystem.h.
Referenced by TUnixSystem::AddFileHandler(), TUnixSystem::DispatchOneEvent(), Init(), and TUnixSystem::RemoveFileHandler().
|
protected |
Definition at line 274 of file TSystem.h.
Referenced by TUnixSystem::AddFileHandler(), TUnixSystem::DispatchOneEvent(), Init(), and TUnixSystem::RemoveFileHandler().
|
protected |
Signals that were trapped.
Definition at line 272 of file TSystem.h.
Referenced by TWinNTSystem::CheckDescriptors(), TUnixSystem::CheckDescriptors(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TWinNTSystem::Init(), Init(), TMacOSXSystem::ProcessApplicationDefinedEvent(), and TMacOSXSystem::WaitEvents().
|
protected |
Definition at line 305 of file TSystem.h.
Referenced by CompileMacro(), GetObjExt(), Init(), and SetObjExt().
|
protected |
Definition at line 290 of file TSystem.h.
Referenced by RemoveOnExit(), and ~TSystem().
|
protected |
Definition at line 267 of file TSystem.h.
Referenced by TUnixSystem::AddFileHandler(), TWinNTSystem::AddFileHandler(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::Init(), TWinNTSystem::Init(), TMacOSXSystem::ProcessApplicationDefinedEvent(), TUnixSystem::RemoveFileHandler(), TWinNTSystem::RemoveFileHandler(), and TUnixSystem::~TUnixSystem().
|
protected |
Files that should be checked for write events.
Definition at line 269 of file TSystem.h.
Referenced by TWinNTSystem::CheckDescriptors(), TUnixSystem::CheckDescriptors(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::Init(), TWinNTSystem::Init(), TMacOSXSystem::ProcessApplicationDefinedEvent(), TMacOSXSystem::WaitEvents(), and TUnixSystem::~TUnixSystem().
|
protected |
Definition at line 275 of file TSystem.h.
Referenced by TWinNTSystem::CheckSignals(), TUnixSystem::CheckSignals(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::DispatchSignals(), TWinNTSystem::DispatchSignals(), TWinNTSystem::Init(), and Init().
|
protected |
Definition at line 287 of file TSystem.h.
Referenced by TWinNTSystem::AddSignalHandler(), AddSignalHandler(), TWinNTSystem::CheckSignals(), TUnixSystem::CheckSignals(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::DispatchSignals(), TWinNTSystem::DispatchSignals(), GetListOfSignalHandlers(), Init(), TUnixSystem::RemoveSignalHandler(), TWinNTSystem::RemoveSignalHandler(), RemoveSignalHandler(), and ~TSystem().
|
protected |
Files with writes waiting.
Definition at line 271 of file TSystem.h.
Referenced by TWinNTSystem::CheckSignals(), TUnixSystem::CheckSignals(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::DispatchSignals(), TWinNTSystem::DispatchSignals(), TUnixSystem::Init(), TWinNTSystem::Init(), and TUnixSystem::~TUnixSystem().
|
protected |
Definition at line 304 of file TSystem.h.
Referenced by CompileMacro(), GetSoExt(), Init(), and SetSoExt().
|
protected |
Definition at line 289 of file TSystem.h.
Referenced by AddStdExceptionHandler(), GetListOfStdExceptionHandlers(), Init(), RemoveStdExceptionHandler(), Run(), and ~TSystem().
|
protected |
Definition at line 286 of file TSystem.h.
Referenced by AddTimer(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TWinNTSystem::DispatchTimers(), TUnixSystem::DispatchTimers(), GetListOfTimers(), Init(), NextTimeOut(), RemoveTimer(), and ~TSystem().
|
protected |
Definition at line 276 of file TSystem.h.
Referenced by TUnixSystem::ChangeDirectory(), TWinNTSystem::ChangeDirectory(), TUnixSystem::WorkingDirectory(), and TWinNTSystem::WorkingDirectory().
|
protected |
Files that should be checked for read events.
Definition at line 268 of file TSystem.h.
Referenced by TUnixSystem::AddFileHandler(), TWinNTSystem::AddFileHandler(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::Init(), TWinNTSystem::Init(), TMacOSXSystem::ProcessApplicationDefinedEvent(), TUnixSystem::RemoveFileHandler(), TWinNTSystem::RemoveFileHandler(), and TUnixSystem::~TUnixSystem().
|
protected |
Files with reads waiting.
Definition at line 270 of file TSystem.h.
Referenced by TWinNTSystem::CheckDescriptors(), TUnixSystem::CheckDescriptors(), TMacOSXSystem::DispatchOneEvent(), TUnixSystem::DispatchOneEvent(), TWinNTSystem::DispatchOneEvent(), TUnixSystem::Init(), TWinNTSystem::Init(), TMacOSXSystem::ProcessApplicationDefinedEvent(), TMacOSXSystem::WaitEvents(), and TUnixSystem::~TUnixSystem().