Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 {
30  typedef void* ImageHandle;
32  typedef void* ProcessHandle;
40  GAUDI_API ProcessHandle processHandle();
42  GAUDI_API ImageHandle moduleHandle();
44  GAUDI_API ImageHandle exeHandle();
46  GAUDI_API const std::string& exeName();
50  GAUDI_API void setModuleHandle( ImageHandle handle );
51 } // namespace System
52 #endif // GAUDIKERNEL_MODULEINFO_H
GAUDI_API ModuleType moduleType()
Get type of the module.
Definition: ModuleInfo.cpp:103
GAUDI_API void setModuleHandle(ImageHandle handle)
Attach module handle.
Definition: ModuleInfo.cpp:135
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
Definition: ModuleInfo.cpp:77
Note: OS specific details for environment resolution.
Definition: Debugger.h:19
GAUDI_API ProcessHandle processHandle()
Handle to running process.
Definition: ModuleInfo.cpp:125
void * ImageHandle
Definition of an image handle.
Definition: ModuleInfo.h:30
STL class.
GAUDI_API const std::string & exeName()
Name of the executable file running.
Definition: ModuleInfo.cpp:193
ModuleType
Definition: ModuleInfo.h:28
GAUDI_API ImageHandle moduleHandle()
Handle to currently executed module.
Definition: ModuleInfo.cpp:137
GAUDI_API ImageHandle exeHandle()
Handle to the executable file running.
Definition: ModuleInfo.cpp:158
GAUDI_API const std::vector< std::string > linkedModules()
Vector of names of linked modules.
Definition: ModuleInfo.cpp:215
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:71
void * ProcessHandle
Definition of the process handle.
Definition: ModuleInfo.h:32