F´ Flight Software - C/C++ Documentation
A framework for building embedded system applications to NASA flight quality standards.
DirectoryUserInterface.hpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title Os/Interfaces/DirectoryUserInterface.hpp
3 // \brief types shared by Os::Directory users and implementations
4 //
5 // Includes no other Os service header, so both Os/Directory.hpp and the Os::Directory implementations may include it.
6 // ======================================================================
7 #ifndef OS_INTERFACES_DIRECTORYUSERINTERFACE_HPP_
8 #define OS_INTERFACES_DIRECTORYUSERINTERFACE_HPP_
9 
11 #include <Fw/Deprecate.hpp>
12 #include <Fw/FPrimeBasicTypes.hpp>
13 #include <Fw/Types/Assert.hpp>
14 #include <Fw/Types/String.hpp>
15 #include <Os/Os.hpp>
16 
17 namespace Os {
18 
19 struct DirectoryHandle {};
20 
23  enum Status {
35  };
36 
37  enum OpenMode {
38  READ,
42  };
43 };
44 
45 } // namespace Os
46 
47 #endif // OS_INTERFACES_DIRECTORYUSERINTERFACE_HPP_
Create directory and error if it already exists.
Error if directory doesn&#39;t exist.
Directory stream has no more files.
A catch-all for other errors. Have to look in implementation-specific code.
Directory has more files than can be read.
Create directory if it doesn&#39;t exist.
Directory hasn&#39;t been opened yet.
Operation is not supported by the current implementation.
Directory stream descriptor is invalid.
types and constants shared by users of Os::Directory and by its implementations