Pothos  0.3.0-ga8f2d4e2
The Pothos dataflow programming software suite
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Handle.hpp
Go to the documentation of this file.
1 
11 #pragma once
12 #include <Pothos/Config.hpp>
13 #include <Pothos/Proxy/Proxy.hpp>
14 #include <typeinfo>
15 #include <string>
16 #include <memory>
17 
18 namespace Pothos {
19 
20 class ProxyEnvironment;
21 
30 {
31 public:
35  virtual ~ProxyHandle(void);
36 
40  virtual std::shared_ptr<ProxyEnvironment> getEnvironment(void) const = 0;
41 
56  virtual Proxy call(const std::string &name, const Proxy *args, const size_t numArgs) = 0;
57 
65  virtual int compareTo(const Proxy &other) const = 0;
66 
71  virtual size_t hashCode(void) const = 0;
72 
78  virtual std::string toString(void) const = 0;
79 
86  virtual std::string getClassName(void) const = 0;
87 };
88 
89 } //namespace Pothos
#define POTHOS_API
Definition: Config.hpp:41
Definition: Handle.hpp:29
int compareTo(const T0 &v0, const T1 &v1)
Definition: CompareTo.hpp:27
Definition: Proxy.hpp:27