Template Class CallbackWrapper
Defined in File callback_wrapper.hpp
Inheritance Relationships
Base Type
public fuse_core::CallbackWrapperBase
(Class CallbackWrapperBase)
Class Documentation
-
template<typename T>
class CallbackWrapper : public fuse_core::CallbackWrapperBase -
Public Functions
-
inline explicit CallbackWrapper(CallbackFunction callback)
Constructor.
- Parameters:
callback – [in] The function to be called from the callback queue
-
inline std::future<T> getFuture()
Get a future<T> object that represents the function’s return value.
-
inline virtual void call() override
Call this function. This is used by the callback queue.
-
inline virtual void call()
Call this function. This is used by the callback queue.
-
inline explicit CallbackWrapper(CallbackFunction callback)