FairMQ  1.4.14
C++ Message Queuing Library and Framework
DDSEnvironment.h
1 /********************************************************************************
2  * Copyright (C) 2019 GSI Helmholtzzentrum fuer Schwerionenforschung GmbH *
3  * *
4  * This software is distributed under the terms of the *
5  * GNU Lesser General Public Licence (LGPL) version 3, *
6  * copied verbatim in the file "LICENSE" *
7  ********************************************************************************/
8 
9 #ifndef FAIR_MQ_SDK_DDSENVIRONMENT_H
10 #define FAIR_MQ_SDK_DDSENVIRONMENT_H
11 
12 #include <boost/filesystem.hpp>
13 #include <memory>
14 #include <ostream>
15 
16 namespace fair {
17 namespace mq {
18 namespace sdk {
19 
25 {
26  public:
27  using Path = boost::filesystem::path;
28 
30  explicit DDSEnvironment(Path);
31 
32  auto GetLocation() const -> Path;
33  auto GetConfigHome() const -> Path;
34 
35  friend auto operator<<(std::ostream& os, DDSEnvironment env) -> std::ostream&;
36  private:
37  struct Impl;
38  std::shared_ptr<Impl> fImpl;
39 };
40 
41 using DDSEnv = DDSEnvironment;
42 
43 } // namespace sdk
44 } // namespace mq
45 } // namespace fair
46 
47 #endif /* FAIR_MQ_SDK_DDSENVIRONMENT_H */
Definition: DDSEnvironment.cxx:23
Tools for interfacing containers to the transport via polymorphic allocators.
Definition: DeviceRunner.h:23
Sets up the DDS environment (object helper)
Definition: DDSEnvironment.h:24

privacy