|
Elements
5.10
A C++ base framework for the Euclid Software.
|
OS specific details to access at run-time the module configuration of the process. More...
#include <string>#include <vector>#include <memory>#include <dlfcn.h>#include <boost/filesystem/path.hpp>#include "ElementsKernel/System.h"#include "ElementsKernel/Export.h"Go to the source code of this file.
Classes | |
| class | Elements::System::ModuleInfo |
Namespaces | |
| Elements | |
| Elements::System | |
Enumerations | |
| enum | Elements::System::ModuleType { Elements::System::ModuleType::UNKNOWN, Elements::System::ModuleType::SHAREDLIB, Elements::System::ModuleType::EXECUTABLE } |
Functions | |
| ELEMENTS_API const std::string & | Elements::System::moduleName () |
| Get the name of the (executable/DLL) file without file-type. More... | |
| ELEMENTS_API const std::string & | Elements::System::moduleNameFull () |
| Get the full name of the (executable/DLL) file. More... | |
| ELEMENTS_API ModuleType | Elements::System::moduleType () |
| Get type of the module. More... | |
| ELEMENTS_API ProcessHandle | Elements::System::processHandle () |
| Handle to running process. More... | |
| ELEMENTS_API ImageHandle | Elements::System::moduleHandle () |
| Handle to currently executed module. More... | |
| ELEMENTS_API ImageHandle | Elements::System::exeHandle () |
| Handle to the executable file running. More... | |
| ELEMENTS_API const std::string & | Elements::System::exeName () |
| Name of the executable file running. More... | |
| ELEMENTS_API const std::vector< std::string > | Elements::System::linkedModules () |
| Vector of names of linked modules. More... | |
| ELEMENTS_API std::vector< boost::filesystem::path > | Elements::System::linkedModulePaths () |
| ELEMENTS_API void | Elements::System::setModuleHandle (ImageHandle handle) |
| Attach module handle. More... | |
| ELEMENTS_API boost::filesystem::path | Elements::System::getExecutablePath () |
| Get the full executable path. More... | |
| ELEMENTS_API boost::filesystem::path | Elements::System::getSelfProc () |
| Get the path to the /proc directory of the process. More... | |
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.
1.8.14