F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
DefaultPriorityMemQueue.cpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title Os/Generic/DefaultPriorityMemQueue.cpp
3 // \author B. Duckett
4 // \brief cpp file sets default Os::Queue to generic priority queue implementation via linker
5 //
6 // \copyright
7 // Copyright 2026, by the California Institute of Technology.
8 // ALL RIGHTS RESERVED. United States Government Sponsorship
9 // acknowledged.
10 // ======================================================================
11 #include "Os/Delegate.hpp"
12 #include "Os/Queue.hpp"
13 #include "PriorityMemQueue.hpp"
14 
15 namespace Os {
17  return Os::Delegate::makeDelegate<QueueInterface, Os::Generic::PriorityMemQueue, QueueHandleStorage>(
18  aligned_new_memory);
19 }
20 } // namespace Os
base queue interface
Definition: Queue.hpp:27
static QueueInterface * getDelegate(QueueHandleStorage &aligned_placement_new_memory)
provide a pointer to a queue delegate object
U8 QueueHandleStorage[FW_QUEUE_HANDLE_MAX_SIZE]
Storage type for OSAL handles.
Definition: Os.hpp:10