|
Elements 6.1.2
A C++ base framework for the Euclid Software.
|
OS specific details to access at run-time the module configuration of the process. More...
#include <dlfcn.h>#include <memory>#include <string>#include <vector>#include "ElementsKernel/Export.h"#include "ElementsKernel/Path.h"#include "ElementsKernel/System.h"

Go to the source code of this file.
Classes | |
| class | Elements::System::ModuleInfo |
Namespaces | |
| namespace | Elements |
| namespace | Elements::System |
Enumerations | |
| enum class | Elements::System::ModuleType { Elements::System::UNKNOWN , Elements::System::SHAREDLIB , Elements::System::EXECUTABLE } |
Functions | |
| ELEMENTS_API const std::string & | Elements::System::moduleName () |
| Get the name of the (executable/DLL) file without file-type. | |
| ELEMENTS_API const std::string & | Elements::System::moduleNameFull () |
| Get the full name of the (executable/DLL) file. | |
| ELEMENTS_API ModuleType | Elements::System::moduleType () |
| Get type of the module. | |
| ELEMENTS_API ProcessHandle | Elements::System::processHandle () |
| Handle to running process. | |
| ELEMENTS_API ImageHandle | Elements::System::moduleHandle () |
| Handle to currently executed module. | |
| ELEMENTS_API ImageHandle | Elements::System::exeHandle () |
| Handle to the executable file running. | |
| ELEMENTS_API const std::string & | Elements::System::exeName () |
| Name of the executable file running. | |
| ELEMENTS_API const std::vector< std::string > | Elements::System::linkedModules () |
| Vector of names of linked modules. | |
| ELEMENTS_API std::vector< Path::Item > | Elements::System::linkedModulePaths () |
| ELEMENTS_API void | Elements::System::setModuleHandle (ImageHandle handle) |
| Attach module handle. | |
| ELEMENTS_API Path::Item | Elements::System::getExecutablePath () |
| Get the full executable path. | |
| ELEMENTS_API Path::Item | Elements::System::getSelfProc () |
| Get the path to the /proc directory of the process. | |
OS specific details to access at run-time the module configuration of the process.
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
Definition in file ModuleInfo.h.