|
|
#include "CMakePackageFinder.h"#include <cstdlib>#include <ctime>#include <filesystem>#include <memory>#include <mutex>#include <sstream>#include <boost/algorithm/string/regex.hpp>#include <boost/interprocess/managed_shared_memory.hpp>#include <boost/interprocess/sync/file_lock.hpp>#include <boost/interprocess/sync/interprocess_condition.hpp>#include <boost/interprocess/sync/interprocess_upgradable_mutex.hpp>#include <boost/interprocess/sync/scoped_lock.hpp>#include <boost/interprocess/sync/sharable_lock.hpp>#include <boost/regex.hpp>#include <boost/thread/thread_time.hpp>#include <SimoxUtility/algorithm/string/string_tools.h>#include <ArmarXCore/core/exceptions/local/ExpressionException.h>#include <ArmarXCore/core/logging/Logging.h>#include <ArmarXCore/core/services/sharedmemory/exceptions/SharedMemoryExceptions.h>#include <ArmarXCore/core/system/ArmarXDataPath.h>#include <ArmarXCore/core/util/StringHelpers.h>#include <ArmarXCore/util/CPPUtility/filesystem.h>#include "../../rapidxml/wrapper/RapidXmlReader.h"#include "CMakePackageFinderCache.h"Namespaces | |
| namespace | armarx |
| This file offers overloads of toIce() and fromIce() functions for STL container types. | |
Macros | |
| #define | SCRIPT_PATH "ArmarXCore/core/system/cmake/FindPackageX.cmake" |
Typedefs | |
| using | ScopedFileLockPtr |
Functions | |
| const std::shared_ptr< boost::interprocess::file_lock > & | CacheFileLock () |
| const std::shared_ptr< boost::interprocess::file_lock > & | CMakeFileLock () |
| std::mutex & | CMakeMutex () |
| std::shared_ptr< boost::interprocess::file_lock > | CreateAndCheckFileLock (const std::string &name) |
| std::string | getCMakeCacheDir () |
| std::shared_ptr< boost::interprocess::file_lock > | getFileLock (std::string lockName, bool verbose=false) |
| std::string | getHomeDir () |
| ScopedFileLockPtr | lockCMake () |
| bool | readCMakeCache (const std::string &packageName, std::string &packageContent) |
| bool | updateCMakeCache (const std::string &packageName, const std::string &packageContent) |
Variables | |
| std::mutex | cmakePackageMutex |
| char ** | environ |
| boost::interprocess::interprocess_upgradable_mutex * | memoryMutex = nullptr |
| std::shared_ptr< boost::interprocess::managed_shared_memory > | sharedMemorySegment |
| #define SCRIPT_PATH "ArmarXCore/core/system/cmake/FindPackageX.cmake" |
|
extern |