F´ Flight Software - C/C++ Documentation  devel
A framework for building embedded system applications to NASA flight quality standards.
Directory.cpp
Go to the documentation of this file.
1 // ======================================================================
2 // \title Os/Stub/Directory.cpp
3 // \brief stub implementation for Os::Directory
4 // ======================================================================
5 #include "Os/Stub/Directory.hpp"
6 
7 namespace Os {
8 namespace Stub {
9 namespace Directory {
10 
12  return Status::NOT_SUPPORTED;
13 }
14 
16  return Status::NOT_SUPPORTED;
17 }
18 
19 StubDirectory::Status StubDirectory::read(char * fileNameBuffer, FwSizeType bufSize) {
20  return Status::NOT_SUPPORTED;
21 }
22 
24  // no-op
25 }
26 
28  return &this->m_handle;
29 }
30 
31 } // namespace Directory
32 } // namespace Stub
33 } // namespace Os
PlatformSizeType FwSizeType
Definition: FpConfig.h:35
Directory class.
Definition: Directory.hpp:117
Status open(const char *path, OpenMode mode) override
Open or create a directory.
Definition: Directory.cpp:11
void close() override
Close directory.
Definition: Directory.cpp:23
Status read(char *fileNameBuffer, FwSizeType buffSize) override
Get next filename from directory stream.
Definition: Directory.cpp:19
Status rewind() override
Rewind directory stream.
Definition: Directory.cpp:15
DirectoryHandle * getHandle() override
return the underlying Directory handle (implementation specific)
Definition: Directory.cpp:27