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/Stub/test/DefaultTask.cpp
3
// \brief sets default Os::Task to test stub implementation via linker
4
// ======================================================================
5
#include <cerrno>
6
#include "
Os/Task.hpp
"
7
#include "
Os/Stub/Task.hpp
"
8
#include "
Os/Delegate.hpp
"
9
#include <sys/time.h>
10
11
namespace
Os
{
12
TaskInterface*
TaskInterface::getDelegate
(
TaskHandleStorage
& aligned_new_memory) {
13
return
Os::Delegate::makeDelegate<TaskInterface, Os::Stub::Task::StubTask>(aligned_new_memory);
14
}
15
16
}
Delegate.hpp
TaskHandleStorage
U8 TaskHandleStorage[FW_TASK_HANDLE_MAX_SIZE]
Definition:
Os.hpp:14
Task.hpp
Task.hpp
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
Stub
DefaultTask.cpp
Generated by
1.9.1