distortos
v0.7.0
object-oriented C++ RTOS for microcontrollers
|
#include "distortos/internal/synchronization/CopyConstructQueueFunctor.hpp"
Public Member Functions | |
constexpr | CopyConstructQueueFunctor (const T &value) |
CopyConstructQueueFunctor's constructor. More... | |
void | operator() (void *const storage) const override |
Copy-constructs the element in the queue's storage. More... | |
Private Attributes | |
const T & | value_ |
reference to object that will be used as argument of copy constructor More... | |
CopyConstructQueueFunctor is a functor used for pushing of data to the queue using copy-construction
T | is the type of data pushed to the queue |
|
inlineexplicit |
CopyConstructQueueFunctor's constructor.
[in] | value | is a reference to object that will be used as argument of copy constructor |
|
inlineoverride |
Copy-constructs the element in the queue's storage.
[in,out] | storage | is a pointer to storage for element |
|
private |
reference to object that will be used as argument of copy constructor