Elements
6.2
A C++ base framework for the Euclid Software.
|
Go to the documentation of this file.
27 #ifndef ELEMENTSKERNEL_ELEMENTSKERNEL_MODULEINFO_H_
28 #define ELEMENTSKERNEL_ELEMENTSKERNEL_MODULEINFO_H_
50 const void* addresse()
const;
51 operator const Dl_info&()
const;
87 #endif // ELEMENTSKERNEL_ELEMENTSKERNEL_MODULEINFO_H_
boost::filesystem::path Item
This file is intended to iron out all the differences between systems (currently Linux and MacOSX)
defines the macros to be used for explicit export of the symbols
ELEMENTS_API void setModuleHandle(ImageHandle handle)
Attach module handle.
provide functions to retrieve resources pointed by environment variables
const ELEMENTS_API std::string & moduleName()
Get the name of the (executable/DLL) file without file-type.
ELEMENTS_API ImageHandle exeHandle()
Handle to the executable file running.
const ELEMENTS_API std::string & moduleNameFull()
Get the full name of the (executable/DLL) file.
const ELEMENTS_API std::vector< std::string > linkedModules()
Vector of names of linked modules.
ELEMENTS_API ModuleType moduleType()
Get type of the module.
#define ELEMENTS_API
Dummy definitions for the backward compatibility mode.
ELEMENTS_API ProcessHandle processHandle()
Handle to running process.
const ELEMENTS_API std::string & exeName()
Name of the executable file running.
std::unique_ptr< Dl_info > m_dlinfo
ELEMENTS_API ImageHandle moduleHandle()
Handle to currently executed module.
void * ImageHandle
Definition of an image handle.
ELEMENTS_API Path::Item getSelfProc()
Get the path to the /proc directory of the process.
ELEMENTS_API Path::Item getExecutablePath()
Get the full executable path.
void * ProcessHandle
Definition of the process handle.
ELEMENTS_API std::vector< Path::Item > linkedModulePaths()