| # Gaudi Framework, version v21r11 |

Home |  | Generated: 30 Sep 2010

# System.h File Reference

`#include "GaudiKernel/Kernel.h"`
`#include <string>`
`#include <vector>`
`#include <typeinfo>`
`#include "GaudiKernel/Timing.h"`
`#include "GaudiKernel/ModuleInfo.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
namespace | System
## Typedefs
typedef unsigned long(* | System::EntryPoint )(const unsigned long iid, void **ppvObject)
| Definition of the "generic" DLL entry point function.
typedef void *(* | System::Creator )()
| Definition of the "generic" DLL entry point function.
typedef void * | System::ThreadHandle
| A Thread handle.
## Functions
GAUDI_API unsigned long | System::loadDynamicLib (const std::string &name, ImageHandle *handle)
| Load dynamic link library.
GAUDI_API unsigned long | System::unloadDynamicLib (ImageHandle handle)
| unload dynamic link library
GAUDI_API unsigned long | System::getProcedureByName (ImageHandle handle, const std::string &name, EntryPoint *pFunction)
| Get a specific function defined in the DLL.
GAUDI_API unsigned long | System::getProcedureByName (ImageHandle handle, const std::string &name, Creator *pFunction)
| Get a specific function defined in the DLL.
GAUDI_API unsigned long | System::getLastError ()
| Get last system known error.
GAUDI_API const std::string | System::getLastErrorString ()
| Get last system error as string.
GAUDI_API const std::string | System::getErrorString (unsigned long error)
| Retrieve error code as string for a given error.
GAUDI_API const std::string | System::typeinfoName (const std::type_info &)
| Get platform independent information about the class type.
GAUDI_API const std::string | System::typeinfoName (const char *)
GAUDI_API const std::string & | System::hostName ()
| Host name.
GAUDI_API const std::string & | System::osName ()
| OS name.
GAUDI_API const std::string & | System::osVersion ()
| OS version.
GAUDI_API const std::string & | System::machineType ()
| Machine type.
GAUDI_API const std::string & | System::accountName ()
| User login name.
GAUDI_API long | System::numCmdLineArgs ()
| Number of arguments passed to the commandline.
GAUDI_API long | System::argc ()
| Number of arguments passed to the commandline (==numCmdLineArgs()); just to match argv call...
GAUDI_API const std::vector < std::string > | System::cmdLineArgs ()
| Command line arguments including executable name as arg[0] as vector of strings.
GAUDI_API char ** | System::argv ()
| char** command line arguments including executable name as arg[0]; You may not modify them!
GAUDI_API const std::string | System::getEnv (const char *var)
| get a particular environment variable
GAUDI_API const std::vector < std::string > | System::getEnv ()
| get all environment variables
GAUDI_API int | System::setEnv (const std::string &name, const std::string &value, int overwrite=1)
| Set an environment variables.
ThreadHandle | System::threadSelf ()
| thread handle "accessor"
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)