The Gaudi Framework  v33r0 (d5ea422b)
ModuleInfo.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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
GAUDI_API ModuleType moduleType()
Get type of the module.
Definition: ModuleInfo.cpp:113
GAUDI_API void setModuleHandle(ImageHandle handle)
Attach module handle.
Definition: ModuleInfo.cpp:145
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
Definition: ModuleInfo.cpp:87
Note: OS specific details for environment resolution.
Definition: Debugger.h:29
GAUDI_API ProcessHandle processHandle()
Handle to running process.
Definition: ModuleInfo.cpp:135
void * ImageHandle
Definition of an image handle.
Definition: ModuleInfo.h:40
STL class.
GAUDI_API const std::string & exeName()
Name of the executable file running.
Definition: ModuleInfo.cpp:203
ModuleType
Definition: ModuleInfo.h:38
GAUDI_API ImageHandle moduleHandle()
Handle to currently executed module.
Definition: ModuleInfo.cpp:147
GAUDI_API ImageHandle exeHandle()
Handle to the executable file running.
Definition: ModuleInfo.cpp:168
GAUDI_API const std::vector< std::string > linkedModules()
Vector of names of linked modules.
Definition: ModuleInfo.cpp:225
GAUDI_API const std::string & moduleName()
Get the name of the (executable/DLL) file without file-type.
Definition: ModuleInfo.cpp:64
#define GAUDI_API
Definition: Kernel.h:81
void * ProcessHandle
Definition of the process handle.
Definition: ModuleInfo.h:42