5 #ifndef OS_POSIX_DIRECTORY_HPP
6 #define OS_POSIX_DIRECTORY_HPP
77 void close()
override;
PlatformSizeType FwSizeType
Posix implementation of Os::Directory.
void close() override
Close directory.
bool isOpen()
Check if Directory is open or not.
DirectoryHandle * getHandle() override
return the underlying mutex handle (implementation specific)
~PosixDirectory()=default
destructor
Status rewind() override
Rewind directory stream.
Status read(char *fileNameBuffer, FwSizeType buffSize) override
Get next filename from directory stream.
PosixDirectory()
constructor
Status open(const char *path, OpenMode mode) override
Open or create a directory.