class Context
Defined at line 31 of file ../../src/firmware/paver/paver-context.h
The context wrapper
Public Methods
template <typename T>
zx::result<> Initialize (std::function<zx::result<std::unique_ptr<T>> ()> factory)
Defined at line 34 of file ../../src/firmware/paver/paver-context.h
template <typename T>
zx::result<> Call (std::function<zx::result<> (T *)> callback)
All functions using the contexts are callbacks so we can grab the
lock and do type checking ourselves internally.
Defined at line 51 of file ../../src/firmware/paver/paver-context.h
template <typename T, typename R>
zx::result<R> Call (std::function<zx::result<R> (T *)> callback)
Defined at line 61 of file ../../src/firmware/paver/paver-context.h