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