The Gaudi Framework  master (37c0b60a)
ModuleInfo.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2024 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 //====================================================================
12 // ModuleInfo.h
13 //--------------------------------------------------------------------
14 //
15 // Package : System (The LHCb System service)
16 //
17 // Description: Definition of Systems internals
18 //
19 // Author : M.Frank
20 // Created : 13/1/99
21 // Changes :
22 //====================================================================
23 #ifndef GAUDIKERNEL_MODULEINFO_H
24 #define GAUDIKERNEL_MODULEINFO_H
25 
26 // Framework include files
27 #include <GaudiKernel/Kernel.h>
28 // STL include files
29 #include <string>
30 #include <vector>
31 
37 namespace System {
40  typedef void* ImageHandle;
42  typedef void* ProcessHandle;
56  GAUDI_API const std::string& exeName();
60  GAUDI_API void setModuleHandle( ImageHandle handle );
61 } // namespace System
62 #endif // GAUDIKERNEL_MODULEINFO_H
std::string
STL class.
std::vector< std::string >
System::moduleType
GAUDI_API ModuleType moduleType()
Get type of the module.
Definition: ModuleInfo.cpp:113
System::moduleNameFull
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
Definition: ModuleInfo.cpp:87
System::ImageHandle
void * ImageHandle
Definition of an image handle.
Definition: ModuleInfo.h:40
System::processHandle
GAUDI_API ProcessHandle processHandle()
Handle to running process.
Definition: ModuleInfo.cpp:135
System::setModuleHandle
GAUDI_API void setModuleHandle(ImageHandle handle)
Attach module handle.
Definition: ModuleInfo.cpp:145
System::EXECUTABLE
@ EXECUTABLE
Definition: ModuleInfo.h:38
System::exeName
GAUDI_API const std::string & exeName()
Name of the executable file running.
Definition: ModuleInfo.cpp:203
System::moduleName
GAUDI_API const std::string & moduleName()
Get the name of the (executable/DLL) file without file-type.
Definition: ModuleInfo.cpp:64
System::exeHandle
GAUDI_API ImageHandle exeHandle()
Handle to the executable file running.
Definition: ModuleInfo.cpp:168
System::moduleHandle
GAUDI_API ImageHandle moduleHandle()
Handle to currently executed module.
Definition: ModuleInfo.cpp:147
System::linkedModules
GAUDI_API const std::vector< std::string > linkedModules()
Vector of names of linked modules.
Definition: ModuleInfo.cpp:225
System::ModuleType
ModuleType
Definition: ModuleInfo.h:38
Kernel.h
System
Note: OS specific details for environment resolution.
Definition: Debugger.h:29
System::ProcessHandle
void * ProcessHandle
Definition of the process handle.
Definition: ModuleInfo.h:42
System::SHAREDLIB
@ SHAREDLIB
Definition: ModuleInfo.h:38
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:81
System::UNKNOWN
@ UNKNOWN
Definition: ModuleInfo.h:38