12 #ifndef INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_MEMCPYPUSHQUEUEFUNCTOR_HPP_ 13 #define INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_MEMCPYPUSHQUEUEFUNCTOR_HPP_ 65 #endif // INCLUDE_DISTORTOS_INTERNAL_SYNCHRONIZATION_MEMCPYPUSHQUEUEFUNCTOR_HPP_ const size_t size_
size of data_, bytes
Definition: MemcpyPushQueueFunctor.hpp:58
MemcpyPushQueueFunctor is a functor used for pushing of data to the raw queue with memcpy()
Definition: MemcpyPushQueueFunctor.hpp:26
const void *const data_
pointer to data that will be pushed to raw queue
Definition: MemcpyPushQueueFunctor.hpp:55
void operator()(void *storage) const override
Copies the data to raw queue's storage (with memcpy()).
Definition: MemcpyPushQueueFunctor.cpp:26
Top-level namespace of distortos project.
Definition: buttons.hpp:33
QueueFunctor class header.
QueueFunctor is a type-erased interface for functors which execute some action on queue's storage (li...
Definition: QueueFunctor.hpp:31
constexpr MemcpyPushQueueFunctor(const void *const data, const size_t size)
MemcpyPushQueueFunctor's constructor.
Definition: MemcpyPushQueueFunctor.hpp:37