The Gaudi Framework  master (82fdf313)
Loading...
Searching...
No Matches
ModuleInfo.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 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#pragma once
12
13#include <GaudiKernel/Kernel.h>
14#include <string>
15#include <vector>
16
22namespace System {
25 typedef void* ImageHandle;
27 typedef void* ProcessHandle;
29 GAUDI_API const std::string& moduleName();
31 GAUDI_API const std::string& moduleNameFull();
41 GAUDI_API const std::string& exeName();
43 GAUDI_API const std::vector<std::string> linkedModules();
46} // namespace System
#define GAUDI_API
Definition Kernel.h:49
Note: OS specific details for environment resolution.
Definition Environment.h:25
@ EXECUTABLE
Definition ModuleInfo.h:23
@ SHAREDLIB
Definition ModuleInfo.h:23
@ UNKNOWN
Definition ModuleInfo.h:23
GAUDI_API ProcessHandle processHandle()
Handle to running process.
void * ImageHandle
Definition of an image handle.
Definition ModuleInfo.h:25
GAUDI_API ImageHandle exeHandle()
Handle to the executable file running.
GAUDI_API ModuleType moduleType()
Get type of the module.
GAUDI_API ImageHandle moduleHandle()
Handle to currently executed module.
GAUDI_API const std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
void * ProcessHandle
Definition of the process handle.
Definition ModuleInfo.h:27
GAUDI_API const std::string & moduleName()
Get the name of the (executable/DLL) file without file-type.
GAUDI_API const std::vector< std::string > linkedModules()
Vector of names of linked modules.
GAUDI_API void setModuleHandle(ImageHandle handle)
Attach module handle.
GAUDI_API const std::string & exeName()
Name of the executable file running.