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