F´ Flight Software - C/C++ Documentation
devel
A framework for building embedded system applications to NASA flight quality standards.
DefaultTask.cpp
Go to the documentation of this file.
1
// ======================================================================
2
// \title Os/Posix/DefaultTask.cpp
3
// \brief sets default Os::Task to posix implementation via linker
4
// ======================================================================
5
#include "
Os/Task.hpp
"
6
#include "
Os/Posix/Task.hpp
"
7
#include "
Os/Delegate.hpp
"
8
9
namespace
Os
{
10
11
TaskInterface
*
TaskInterface::getDelegate
(
TaskHandleStorage
& aligned_new_memory) {
12
return
Os::Delegate::makeDelegate<TaskInterface, Os::Posix::Task::PosixTask>(aligned_new_memory);
13
}
14
15
}
Delegate.hpp
TaskHandleStorage
U8 TaskHandleStorage[FW_TASK_HANDLE_MAX_SIZE]
Definition:
Os.hpp:14
Task.hpp
Task.hpp
Os::TaskInterface
Definition:
Task.hpp:26
Os::TaskInterface::getDelegate
static TaskInterface * getDelegate(TaskHandleStorage &aligned_placement_new_memory)
provide a pointer to a task delegate object
Definition:
DefaultTask.cpp:11
Os
Definition:
DirectoryOpenModeEnumAc.cpp:13
Os
Posix
DefaultTask.cpp
Generated by
1.9.1