|
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 "ElementsKernel/ModuleInfo.h"#include <sys/times.h>#include <sys/param.h>#include <unistd.h>#include <libgen.h>#include <dlfcn.h>#include <cstring>#include <cstdlib>#include <sstream>#include <fstream>#include <iostream>#include <cerrno>#include <cstdio>#include <string>#include <vector>#include <boost/filesystem/path.hpp>#include <boost/filesystem/operations.hpp>#include "ElementsKernel/FuncPtrCast.h"Go to the source code of this file.
Namespaces | |
| Elements | |
| Elements::System | |
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 void | Elements::System::setModuleHandle (ImageHandle handle) |
| Attach module handle. 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 boost::filesystem::path | Elements::System::getSelfProc () |
| Get the path to the /proc directory of the process. More... | |
| ELEMENTS_API std::vector< boost::filesystem::path > | Elements::System::linkedModulePaths () |
| ELEMENTS_API const std::vector< std::string > | Elements::System::linkedModules () |
| Vector of names of linked modules. More... | |
| ELEMENTS_API boost::filesystem::path | Elements::System::getExecutablePath () |
| Get the full executable path. 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.cpp.
1.8.14