13#if defined(OS_USE_OS_APP_CONFIG_H)
14#include <cmsis-plus/os-app-config.h>
37#if defined(OS_TRACE_POSIX_IO_DIRECTORY)
44#if defined(OS_TRACE_POSIX_IO_DIRECTORY)
54#if defined(OS_TRACE_POSIX_IO_DIRECTORY)
72#if defined(OS_TRACE_POSIX_IO_DIRECTORY)
88#if defined(OS_TRACE_POSIX_IO_DIRECTORY)
99 trace::printf (
"directory::%s() @%p do_close() returned %d\n",
100 __func__,
this, ret);
114#if defined(OS_TRACE_POSIX_IO_DIRECTORY)
117 memset (&dir_entry_, 0,
sizeof(
dirent));
122#if defined(OS_TRACE_POSIX_IO_DIRECTORY)
123 trace::printf (
"directory_impl::%s() @%p\n", __func__,
this);
virtual int do_close(void)=0
directory_impl(file_system &fs)
virtual dirent * do_read(void)=0
virtual void do_rewind(void)=0
virtual ~directory_impl()
class file_system & get_file_system(void) const
virtual dirent * read(void)
directory(directory_impl &impl)
virtual void rewind(void)
directory_impl & impl(void) const
void add_deferred_directory(directory *dir)
int printf(const char *format,...)
Write a formatted string to the trace device.