µOS++ IIIe Reference 7.0.0
The third edition of µOS++, a POSIX inspired open source framework, written in C++
Loading...
Searching...
No Matches
os::posix::file_system_impl Class Referenceabstract

#include <file-system.h>

Public Member Functions

Constructors & Destructor
 file_system_impl (block_device &device)
 
virtual ~file_system_impl ()
 
Public Member Functions
virtual int do_vmkfs (int options, std::va_list args)=0
 
virtual int do_vmount (unsigned int flags, std::va_list args)=0
 
virtual int do_umount (unsigned int flags)=0
 
virtual filedo_vopen (class file_system &fs, const char *path, int oflag, std::va_list args)=0
 
virtual directorydo_opendir (class file_system &fs, const char *dirname)=0
 
virtual int do_mkdir (const char *path, mode_t mode)=0
 
virtual int do_rmdir (const char *path)=0
 
virtual void do_sync (void)=0
 
virtual int do_chmod (const char *path, mode_t mode)=0
 
virtual int do_stat (const char *path, struct stat *buf)=0
 
virtual int do_truncate (const char *path, off_t length)=0
 
virtual int do_rename (const char *existing, const char *_new)=0
 
virtual int do_unlink (const char *path)=0
 
virtual int do_utime (const char *path, const struct utimbuf *times)=0
 
virtual int do_statvfs (struct statvfs *buf)=0
 
block_devicedevice (void) const
 

Friends

class file_system
 

Detailed Description

Definition at line 430 of file file-system.h.

Constructor & Destructor Documentation

◆ file_system_impl()

os::posix::file_system_impl::file_system_impl ( block_device device)

Definition at line 1037 of file file-system.cpp.

◆ ~file_system_impl()

os::posix::file_system_impl::~file_system_impl ( )
virtual

Definition at line 1045 of file file-system.cpp.

Member Function Documentation

◆ device()

block_device & os::posix::file_system_impl::device ( void  ) const
inline

Definition at line 975 of file file-system.h.

◆ do_chmod()

virtual int os::posix::file_system_impl::do_chmod ( const char *  path,
mode_t  mode 
)
pure virtual

◆ do_mkdir()

virtual int os::posix::file_system_impl::do_mkdir ( const char *  path,
mode_t  mode 
)
pure virtual

◆ do_opendir()

virtual directory * os::posix::file_system_impl::do_opendir ( class file_system fs,
const char *  dirname 
)
pure virtual

◆ do_rename()

virtual int os::posix::file_system_impl::do_rename ( const char *  existing,
const char *  _new 
)
pure virtual

◆ do_rmdir()

virtual int os::posix::file_system_impl::do_rmdir ( const char *  path)
pure virtual

◆ do_stat()

virtual int os::posix::file_system_impl::do_stat ( const char *  path,
struct stat buf 
)
pure virtual

◆ do_statvfs()

virtual int os::posix::file_system_impl::do_statvfs ( struct statvfs buf)
pure virtual

◆ do_sync()

virtual void os::posix::file_system_impl::do_sync ( void  )
pure virtual

◆ do_truncate()

virtual int os::posix::file_system_impl::do_truncate ( const char *  path,
off_t  length 
)
pure virtual

◆ do_umount()

virtual int os::posix::file_system_impl::do_umount ( unsigned int  flags)
pure virtual

◆ do_unlink()

virtual int os::posix::file_system_impl::do_unlink ( const char *  path)
pure virtual

◆ do_utime()

virtual int os::posix::file_system_impl::do_utime ( const char *  path,
const struct utimbuf *  times 
)
pure virtual

◆ do_vmkfs()

virtual int os::posix::file_system_impl::do_vmkfs ( int  options,
std::va_list  args 
)
pure virtual

◆ do_vmount()

virtual int os::posix::file_system_impl::do_vmount ( unsigned int  flags,
std::va_list  args 
)
pure virtual

◆ do_vopen()

virtual file * os::posix::file_system_impl::do_vopen ( class file_system fs,
const char *  path,
int  oflag,
std::va_list  args 
)
pure virtual

Friends And Related Symbol Documentation

◆ file_system

friend class file_system
friend

Definition at line 434 of file file-system.h.


The documentation for this class was generated from the following files: