F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
TaskSelection.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title config/TaskSelection.hpp
3 // \brief selection of Posix::Task::PosixTask as the Os::Task implementation
4 //
5 // Supplied as one of the CONFIGURATION_HEADERS of the implementation module: the build system places this file at
6 // config/TaskSelection.hpp when that implementation is chosen (CHOOSES_IMPLEMENTATIONS in register_fprime_config).
7 // Os/Task.hpp then defines Os::Task as Os::TaskCommon<Os::Selected::Task>.
8 // ======================================================================
9 #ifndef CONFIG_TASKSELECTION_HPP
10 #define CONFIG_TASKSELECTION_HPP
11 
12 #include <Os/Posix/Task.hpp>
13 
14 namespace Os {
15 namespace Selected {
16 using Task = Posix::Task::PosixTask;
17 } // namespace Selected
18 } // namespace Os
19 
20 #endif // CONFIG_TASKSELECTION_HPP
Posix::Task::PosixTask Task