F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
DefaultMemory.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Darwin/DefaultMemory.cpp
3
// \brief sets default Os::Memory to Darwin implementation via linker
4
// ======================================================================
5
#include "
Os/Memory.hpp
"
6
#include "
Os/Darwin/Memory.hpp
"
7
#include "
Os/Delegate.hpp
"
8
9
namespace
Os
{
10
MemoryInterface
*
MemoryInterface::getDelegate
(
MemoryHandleStorage
& aligned_new_memory) {
11
return
Os::Delegate::makeDelegate<MemoryInterface, Os::Darwin::Memory::DarwinMemory>(aligned_new_memory);
12
}
13
}
Memory.hpp
Delegate.hpp
Memory.hpp
MemoryHandleStorage
U8 MemoryHandleStorage[FW_MEMORY_HANDLE_MAX_SIZE]
Definition:
Os.hpp:19
Os::MemoryInterface
interface for memory implementation
Definition:
Memory.hpp:16
Os::MemoryInterface::getDelegate
static MemoryInterface * getDelegate(MemoryHandleStorage &aligned_new_memory)
provide a pointer to a Mutex delegate object
Definition:
DefaultMemory.cpp:10
Os
Definition:
DirectoryOpenModeEnumAc.cpp:13
Os
Darwin
DefaultMemory.cpp
Generated by
1.9.1