Cat
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 "Kernel.h"
18 // STL include files
19 #include <string>
20 #include <vector>
21 
27 namespace System {
30  typedef void* ImageHandle;
32  typedef void* ProcessHandle;
34  const std::string& moduleName();
36  const std::string& moduleNameFull();
38  const ModuleType moduleType();
40  ProcessHandle processHandle();
42  ImageHandle moduleHandle();
44  ImageHandle exeHandle();
46  const std::string& exeName();
48  const std::vector<std::string> linkedModules();
50  void setModuleHandle(ImageHandle handle);
51 }
52 #endif // GAUDIKERNEL_MODULEINFO_H
ModuleType
Definition: ModuleInfo.h:28
void setModuleHandle(ImageHandle handle)
Attach module handle.
Definition: ModuleInfo.cpp:124
void * ProcessHandle
Definition of the process handle.
Definition: ModuleInfo.h:32
const ModuleType moduleType()
Get type of the module.
Definition: ModuleInfo.cpp:92
const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
Definition: ModuleInfo.cpp:70
const std::string & moduleName()
Get the name of the (executable/DLL) file without file-type.
Definition: ModuleInfo.cpp:47
ImageHandle exeHandle()
Handle to the executable file running.
Definition: ModuleInfo.cpp:152
ImageHandle moduleHandle()
Handle to currently executed module.
Definition: ModuleInfo.cpp:128
ProcessHandle processHandle()
Handle to running process.
Definition: ModuleInfo.cpp:114
void * ImageHandle
Definition of an image handle.
Definition: ModuleInfo.h:30
const std::vector< std::string > linkedModules()
Vector of names of linked modules.
Definition: ModuleInfo.cpp:209
const std::string & exeName()
Name of the executable file running.
Definition: ModuleInfo.cpp:187