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