18 class ProxyEnvironment;
41 Proxy(
const std::shared_ptr<ProxyHandle> &handle);
49 Proxy(ProxyHandle *handle);
58 std::shared_ptr<ProxyHandle> getHandle(
void)
const;
63 std::shared_ptr<ProxyEnvironment> getEnvironment(
void)
const;
70 template <
typename ValueType>
71 ValueType convert(
void)
const;
73 #for $NARGS in range($MAX_ARGS)
74 template <
typename ReturnType, $expand('
typename A%d', $NARGS)>
76 ReturnType call(
const std::string &name, $expand(
'const A%d &a%d', $NARGS))
const;
79 template <$expand('
typename A%d', $NARGS)>
80 Proxy callProxy(
const std::string &name, $expand(
'const A%d &a%d', $NARGS))
const;
83 template <$expand('
typename A%d', $NARGS)>
84 void callVoid(
const std::string &name, $expand(
'const A%d &a%d', $NARGS))
const;
100 size_t hashCode(
void)
const;
107 std::string toString(
void)
const;
115 std::string getClassName(
void)
const;
118 bool operator<(
const Proxy &obj)
const;
121 bool operator>(
const Proxy &obj)
const;
124 std::shared_ptr<ProxyHandle> _handle;
140 return this->call<Proxy>(name);
145 this->call<Proxy>(name);
#define pothos_explicit
Definition: Config.hpp:85
#define POTHOS_API
Definition: Config.hpp:41
POTHOS_API bool operator==(const Callable &lhs, const Callable &rhs)
void callVoid(const std::string &name) const
Call a method with a void return and 0 args.
Definition: Proxy.hpp:240
Proxy callProxy(const std::string &name) const
Call a method with a Proxy return and 0 args.
Definition: Proxy.hpp:235
int compareTo(const T0 &v0, const T1 &v1)
Definition: CompareTo.hpp:27