F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
DefaultLocklessPriorityQueue.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Generic/DefaultLocklessPriorityQueue.cpp
3
// \brief sets default Os::Queue to the lockless priority queue implementation via linker
4
// ======================================================================
5
#include "
Os/Delegate.hpp
"
6
#include "
Os/Generic/LocklessPriorityQueue.hpp
"
7
#include "
Os/Queue.hpp
"
8
9
namespace
Os
{
10
QueueInterface
*
QueueInterface::getDelegate
(
QueueHandleStorage
& aligned_new_memory) {
11
return
Os::Delegate::makeDelegate<QueueInterface, Os::Generic::LocklessPriorityQueue, QueueHandleStorage>(
12
aligned_new_memory);
13
}
14
}
// namespace Os
Queue.hpp
Os::QueueInterface
base queue interface
Definition:
Queue.hpp:27
Os::QueueInterface::getDelegate
static QueueInterface * getDelegate(QueueHandleStorage &aligned_placement_new_memory)
provide a pointer to a queue delegate object
Definition:
DefaultLocklessPriorityQueue.cpp:10
LocklessPriorityQueue.hpp
Os
Definition:
LocklessQueueCfg.hpp:16
QueueHandleStorage
U8 QueueHandleStorage[FW_QUEUE_HANDLE_MAX_SIZE]
Storage type for OSAL handles.
Definition:
Os.hpp:10
Delegate.hpp
Os
Generic
DefaultLocklessPriorityQueue.cpp
Generated by
1.8.14