| The Gaudi Framework v30r0 (c919700c)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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 {
29 enum ModuleType { UNKNOWN, SHAREDLIB, EXECUTABLE };
31 typedef void* ImageHandle;
33 typedef void* ProcessHandle;
35 GAUDI_API const std::string& moduleName();
37 GAUDI_API const std::string& moduleNameFull();
39 GAUDI_API ModuleType moduleType();
41 GAUDI_API ProcessHandle processHandle();
43 GAUDI_API ImageHandle moduleHandle();
45 GAUDI_API ImageHandle exeHandle();
47 GAUDI_API const std::string& exeName();
49 GAUDI_API const std::vector<std::string> linkedModules();
51 GAUDI_API void setModuleHandle( ImageHandle handle );
52 }
53 #endif // GAUDIKERNEL_MODULEINFO_H
System::moduleType
GAUDI_API ModuleType moduleType()
Get type of the module.
Definition: ModuleInfo.cpp:105
Kernel.h
System::SHAREDLIB
Definition: ModuleInfo.h:29
System::setModuleHandle
GAUDI_API void setModuleHandle(ImageHandle handle)
Attach module handle.
Definition: ModuleInfo.cpp:139
System::moduleNameFull
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
Definition: ModuleInfo.cpp:78
System
Note: OS specific details for environment resolution.
Definition: Debugger.h:19
System::processHandle
GAUDI_API ProcessHandle processHandle()
Handle to running process.
Definition: ModuleInfo.cpp:128
System::ImageHandle
void * ImageHandle
Definition of an image handle.
Definition: ModuleInfo.h:31
System::UNKNOWN
Definition: ModuleInfo.h:29
std::string
STL class.
System::exeName
GAUDI_API const std::string & exeName()
Name of the executable file running.
Definition: ModuleInfo.cpp:210
System::ModuleType
ModuleType
Definition: ModuleInfo.h:29
System::moduleHandle
GAUDI_API ImageHandle moduleHandle()
Handle to currently executed module.
Definition: ModuleInfo.cpp:141
System::EXECUTABLE
Definition: ModuleInfo.h:29
System::exeHandle
GAUDI_API ImageHandle exeHandle()
Handle to the executable file running.
Definition: ModuleInfo.cpp:173
System::linkedModules
GAUDI_API const std::vector< std::string > linkedModules()
Vector of names of linked modules.
Definition: ModuleInfo.cpp:233
std::vector< std::string >
System::moduleName
GAUDI_API const std::string & moduleName()
Get the name of the (executable/DLL) file without file-type.
Definition: ModuleInfo.cpp:54
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:110
System::ProcessHandle
void * ProcessHandle
Definition of the process handle.
Definition: ModuleInfo.h:33