The Gaudi Framework  v30r3 (a5ef0a68)
ModuleInfo.h
Go to the documentation of this file.
1 //====================================================================
2 // ModuleInfo.h
3 //--------------------------------------------------------------------
4 //
5 // Package : System (The LHCb System service)
6 //
7 // Description: Definition of Systems internals
8 //
9 // Author : M.Frank
10 // Created : 13/1/99
11 // Changes :
12 //====================================================================
13 #ifndef GAUDIKERNEL_MODULEINFO_H
14 #define GAUDIKERNEL_MODULEINFO_H
15 
16 // Framework include files
17 #include "GaudiKernel/Kernel.h"
18 // STL include files
19 #include <string>
20 #include <vector>
21 
27 namespace System
28 {
31  typedef void* ImageHandle;
33  typedef void* ProcessHandle;
41  GAUDI_API ProcessHandle processHandle();
43  GAUDI_API ImageHandle moduleHandle();
45  GAUDI_API ImageHandle exeHandle();
47  GAUDI_API const std::string& exeName();
51  GAUDI_API void setModuleHandle( ImageHandle handle );
52 }
53 #endif // GAUDIKERNEL_MODULEINFO_H
GAUDI_API ModuleType moduleType()
Get type of the module.
Definition: ModuleInfo.cpp:105
GAUDI_API void setModuleHandle(ImageHandle handle)
Attach module handle.
Definition: ModuleInfo.cpp:139
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
Definition: ModuleInfo.cpp:78
Note: OS specific details for environment resolution.
Definition: Debugger.h:19
GAUDI_API ProcessHandle processHandle()
Handle to running process.
Definition: ModuleInfo.cpp:128
void * ImageHandle
Definition of an image handle.
Definition: ModuleInfo.h:31
STL class.
GAUDI_API const std::string & exeName()
Name of the executable file running.
Definition: ModuleInfo.cpp:201
ModuleType
Definition: ModuleInfo.h:29
GAUDI_API ImageHandle moduleHandle()
Handle to currently executed module.
Definition: ModuleInfo.cpp:141
GAUDI_API ImageHandle exeHandle()
Handle to the executable file running.
Definition: ModuleInfo.cpp:164
GAUDI_API const std::vector< std::string > linkedModules()
Vector of names of linked modules.
Definition: ModuleInfo.cpp:224
GAUDI_API const std::string & moduleName()
Get the name of the (executable/DLL) file without file-type.
Definition: ModuleInfo.cpp:54
#define GAUDI_API
Definition: Kernel.h:104
void * ProcessHandle
Definition of the process handle.
Definition: ModuleInfo.h:33