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