Pothos  0.4.1-gb758ed46
The Pothos dataflow programming software suite
Server.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
14 #include <memory>
15 #include <string>
16 
17 namespace Pothos {
18 
24 {
25 public:
26 
28  RemoteServer(void);
29 
39  RemoteServer(const std::string &uri, const bool closePipes = true);
40 
42  const std::string &getUri(void) const;
43 
45  explicit operator bool(void) const;
46 
52  static std::string getLocatorPort(void);
53 
55  std::string getActualPort(void) const;
56 
65  void startSyslogForwarding(const std::string &addr, const std::string &source);
66 
67 private:
68  struct Impl;
69  std::shared_ptr<Impl> _impl;
70 };
71 
72 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
Definition: Testing.hpp:134
Definition: RefHolder.hpp:24
Definition: Server.hpp:23