Pothos  0.3.0-ga8f2d4e2
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Handler.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
13 #include <string>
14 #include <iosfwd>
15 
16 namespace Pothos {
17 
22 {
23 public:
24 
26  RemoteHandler(void);
27 
29  RemoteHandler(const std::string &peerAddr);
30 
35  void runHandler(std::istream &is, std::ostream &os);
36 
41  void runHandler(std::iostream &io);
42 
47  bool runHandlerOnce(std::istream &is, std::ostream &os);
48 
49 private:
50  const std::string _peerAddr;
51 };
52 
53 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
Definition: Handler.hpp:21