21 template <
typename ReturnType,
typename... ArgsType>
31 throw CallableReturnError(
"Pothos::Callable::call()", ex);
35 template <
typename... ArgsType>
38 const std::array<
Object,
sizeof...(ArgsType)> objArgs{{Object(std::forward<ArgsType>(args))...}};
39 return this->
opaqueCall(objArgs.data(),
sizeof...(args));
42 template <
typename... ArgsType>
45 this->
callObject(std::forward<ArgsType>(args)...);
virtual Object opaqueCall(const Object *inputArgs, const size_t numArgs) const =0
Definition: Testing.hpp:134
ReturnType call(ArgsType &&...args) const
Call a bound method/function with a return type and variable args.
Definition: CallInterfaceImpl.hpp:22
Definition: Object.hpp:55
ValueType convert(void) const
Definition: ObjectImpl.hpp:227
Object callObject(ArgsType &&...args) const
Call a bound method/function with an Object return and variable args.
Definition: CallInterfaceImpl.hpp:36
void callVoid(ArgsType &&...args) const
Call a bound method/function with a void return and variable args.
Definition: CallInterfaceImpl.hpp:43
Definition: Exception.hpp:65