Pothos  0.3.3-g32d3017c
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
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  pothos_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_explicit
Definition: Config.hpp:85
#define POTHOS_API
Definition: Config.hpp:41
Definition: RefHolder.hpp:24
Definition: Server.hpp:23