PushInternalFunctor class is a MessageQueueBase::InternalFunctor used for pushing of elements to the queue.
More...
PushInternalFunctor class is a MessageQueueBase::InternalFunctor used for pushing of elements to the queue.
◆ PushInternalFunctor()
constexpr distortos::internal::anonymous_namespace{MessageQueueBase.cpp}::PushInternalFunctor::PushInternalFunctor |
( |
const uint8_t |
priority, |
|
|
const QueueFunctor & |
functor |
|
) |
| |
|
inline |
PushInternalFunctor's constructor.
- Parameters
-
[in] | priority | is the priority of new element |
[in] | functor | is a reference to QueueFunctor which will execute actions related to pushing - it will get a pointer to storage for element |
◆ operator()()
PushInternalFunctor's function call operator.
Gets one entry from freeEntryList, passes the storage to functor_ and splices this entry to entryList.
- Parameters
-
◆ functor_
const QueueFunctor& distortos::internal::anonymous_namespace{MessageQueueBase.cpp}::PushInternalFunctor::functor_ |
|
private |
reference to QueueFunctor which will execute actions related to pushing
◆ priority_
const uint8_t distortos::internal::anonymous_namespace{MessageQueueBase.cpp}::PushInternalFunctor::priority_ |
|
private |
The documentation for this class was generated from the following file: