MemcpyPushQueueFunctor is a functor used for pushing of data to the raw queue with memcpy()
More...
#include "distortos/internal/synchronization/MemcpyPushQueueFunctor.hpp"
|
const void *const | data_ |
| pointer to data that will be pushed to raw queue More...
|
|
const size_t | size_ |
| size of data_, bytes More...
|
|
MemcpyPushQueueFunctor is a functor used for pushing of data to the raw queue with memcpy()
◆ MemcpyPushQueueFunctor()
constexpr distortos::internal::MemcpyPushQueueFunctor::MemcpyPushQueueFunctor |
( |
const void *const |
data, |
|
|
const size_t |
size |
|
) |
| |
|
inline |
MemcpyPushQueueFunctor's constructor.
- Parameters
-
[in] | data | is a pointer to data that will be pushed to raw queue |
[in] | size | is the size of data, bytes |
◆ operator()()
void distortos::internal::MemcpyPushQueueFunctor::operator() |
( |
void * |
storage | ) |
const |
|
override |
Copies the data to raw queue's storage (with memcpy()).
- Parameters
-
[in,out] | storage | is a pointer to storage for element |
◆ data_
const void* const distortos::internal::MemcpyPushQueueFunctor::data_ |
|
private |
pointer to data that will be pushed to raw queue
◆ size_
const size_t distortos::internal::MemcpyPushQueueFunctor::size_ |
|
private |
The documentation for this class was generated from the following files: