mirror of
https://github.com/FairRootGroup/FairMQ.git
synced 2025-10-15 09:31:45 +00:00
SDK: Let DDSEnvironment manage $LD_LIBRARY_PATH
* Remove configurable install prefix * Add singleton
This commit is contained in:
committed by
Dennis Klein
parent
5a7bf68c8c
commit
152c8431c6
@@ -18,14 +18,6 @@ namespace fair {
|
||||
namespace mq {
|
||||
namespace sdk {
|
||||
|
||||
/**
|
||||
* @brief Sets up the DDS environment
|
||||
* @param config_home Path under which DDS creates a ".DDS" runtime directory for configuration and logs
|
||||
* @param prefix Path where DDS is installed
|
||||
*/
|
||||
auto LoadDDSEnv(const boost::filesystem::path& config_home = "", const boost::filesystem::path& prefix = DDSInstallPrefix)
|
||||
-> void;
|
||||
|
||||
/**
|
||||
* @class DDSEnvironment DDSSession.h <fairmq/sdk/DDSSession.h>
|
||||
* @brief Sets up the DDS environment (object helper)
|
||||
@@ -36,10 +28,9 @@ class DDSEnvironment
|
||||
using Path = boost::filesystem::path;
|
||||
|
||||
/// @brief See fair::mq::sdk::LoadDDSEnv
|
||||
explicit DDSEnvironment(Path config_home = "", Path prefix = DDSInstallPrefix);
|
||||
explicit DDSEnvironment(Path config_home = "");
|
||||
|
||||
auto GetConfigHome() const -> Path;
|
||||
auto GetInstallPrefix() const -> Path;
|
||||
|
||||
friend auto operator<<(std::ostream& os, DDSEnvironment env) -> std::ostream&;
|
||||
private:
|
||||
|
Reference in New Issue
Block a user