F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 
12  return Os::Delegate::makeDelegate<TaskInterface, Os::Posix::Task::PosixTask>(aligned_new_memory);
13  }
14 
15 }
U8 TaskHandleStorage[FW_TASK_HANDLE_MAX_SIZE]
Definition: Os.hpp:14
static TaskInterface * getDelegate(TaskHandleStorage &aligned_placement_new_memory)
provide a pointer to a task delegate object
Definition: DefaultTask.cpp:11