The Gaudi Framework  v30r3 (a5ef0a68)
System.h File Reference
#include "GaudiKernel/Kernel.h"
#include <string>
#include <typeinfo>
#include <vector>
#include "GaudiKernel/ModuleInfo.h"
#include "GaudiKernel/Timing.h"
Include dependency graph for System.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 System
 Note: OS specific details for environment resolution.
 

Typedefs

typedef unsigned long(* System::EntryPoint) (const unsigned long iid, void **ppvObject)
 Definition of the "generic" DLL entry point function. More...
 
typedef void *(* System::Creator) ()
 Definition of the "generic" DLL entry point function. More...
 
typedef void * System::ThreadHandle
 A Thread handle. More...
 

Functions

GAUDI_API unsigned long System::loadDynamicLib (const std::string &name, ImageHandle *handle)
 Load dynamic link library. More...
 
GAUDI_API unsigned long System::unloadDynamicLib (ImageHandle handle)
 unload dynamic link library More...
 
GAUDI_API unsigned long System::getProcedureByName (ImageHandle handle, const std::string &name, EntryPoint *pFunction)
 Get a specific function defined in the DLL. More...
 
GAUDI_API unsigned long System::getProcedureByName (ImageHandle handle, const std::string &name, Creator *pFunction)
 Get a specific function defined in the DLL. More...
 
GAUDI_API unsigned long System::getLastError ()
 Get last system known error. More...
 
GAUDI_API const std::string System::getLastErrorString ()
 Get last system error as string. More...
 
GAUDI_API const std::string System::getErrorString (unsigned long error)
 Retrieve error code as string for a given error. More...
 
GAUDI_API const std::string System::typeinfoName (const std::type_info &)
 Get platform independent information about the class type. More...
 
GAUDI_API const std::string System::typeinfoName (const char *)
 Get the human readable type name from a typeinfo name. More...
 
GAUDI_API const std::stringSystem::hostName ()
 Host name. More...
 
GAUDI_API const std::stringSystem::osName ()
 OS name. More...
 
GAUDI_API const std::stringSystem::osVersion ()
 OS version. More...
 
GAUDI_API const std::stringSystem::machineType ()
 Machine type. More...
 
GAUDI_API int System::instructionsetLevel ()
 Instruction Set "Level". More...
 
GAUDI_API const std::stringSystem::accountName ()
 User login name. More...
 
GAUDI_API long System::numCmdLineArgs ()
 Number of arguments passed to the commandline. More...
 
GAUDI_API long System::argc ()
 Number of arguments passed to the commandline (==numCmdLineArgs()); just to match argv call... More...
 
GAUDI_API const std::vector< std::stringSystem::cmdLineArgs ()
 Command line arguments including executable name as arg[0] as vector of strings. More...
 
GAUDI_API char ** System::argv ()
 char** command line arguments including executable name as arg[0]; You may not modify them! More...
 
GAUDI_API std::string System::getEnv (const char *var)
 get a particular environment variable (returning "UNKNOWN" if not set) More...
 
GAUDI_API bool System::getEnv (const char *var, std::string &value)
 get a particular environment variable, storing the value in the passed string if the variable is set. More...
 
bool System::getEnv (const std::string &var, std::string &value)
 
GAUDI_API std::vector< std::stringSystem::getEnv ()
 get all environment variables More...
 
GAUDI_API int System::setEnv (const std::string &name, const std::string &value, int overwrite=1)
 Set an environment variables. More...
 
GAUDI_API bool System::isEnvSet (const char *var)
 Check if an environment variable is set or not. More...
 
ThreadHandle System::threadSelf ()
 thread handle "accessor" More...
 
GAUDI_API int System::backTrace (void **addresses, const int depth)
 
GAUDI_API bool System::backTrace (std::string &btrace, const int depth, const int offset=0)
 
GAUDI_API bool System::getStackLevel (void *addresses, void *&addr, std::string &fnc, std::string &lib)