BoundQueueFunctor is a type-erased QueueFunctor which calls its bound functor to execute actions on queue's storage.
More...
#include "distortos/internal/synchronization/BoundQueueFunctor.hpp"
template<typename F>
class distortos::internal::BoundQueueFunctor< F >
BoundQueueFunctor is a type-erased QueueFunctor which calls its bound functor to execute actions on queue's storage.
- Template Parameters
-
F | is the type of bound functor, it will be called with void* as only argument |
◆ BoundQueueFunctor()
BoundQueueFunctor's constructor.
- Parameters
-
[in] | boundFunctor | is a rvalue reference to bound functor which will be used to move-construct internal bound functor |
◆ operator()()
Calls the bound functor which will execute some action on queue's storage (like copy-constructing, swapping, destroying, emplacing, ...)
- Parameters
-
[in,out] | storage | is a pointer to storage with/for element |
◆ boundFunctor_
The documentation for this class was generated from the following file: