DiskFile Class Referenceabstract

#include <DiskFile.h>

Inheritance diagram for DiskFile:
Collaboration diagram for DiskFile:

Classes

class  Config
 generally useful configuration options supported by some children More...
 

Public Types

typedef RefCount< DiskFilePointer
 

Public Member Functions

virtual void configure (const Config &)
 notes supported configuration options; kids must call this first More...
 
virtual void open (int flags, mode_t mode, RefCount< IORequestor > callback)=0
 
virtual void create (int flags, mode_t mode, RefCount< IORequestor > callback)=0
 
virtual void read (ReadRequest *)=0
 
virtual void write (WriteRequest *)=0
 
virtual void close ()=0
 
virtual bool canRead () const =0
 
virtual bool canWrite () const
 
virtual int getFD () const
 
virtual bool error () const =0
 
virtual bool ioInProgress () const =0
 

Detailed Description

Definition at line 21 of file DiskFile.h.

Member Typedef Documentation

Definition at line 39 of file DiskFile.h.

Member Function Documentation

virtual bool DiskFile::canRead ( ) const
pure virtual
virtual bool DiskFile::canWrite ( ) const
inlinevirtual

Reimplemented in IpcIoFile, DiskThreadsDiskFile, and MmappedFile.

Definition at line 50 of file DiskFile.h.

virtual void DiskFile::close ( )
pure virtual
virtual void DiskFile::configure ( const Config )
inlinevirtual

Reimplemented in IpcIoFile.

Definition at line 42 of file DiskFile.h.

Referenced by IpcIoFile::configure().

virtual void DiskFile::create ( int  flags,
mode_t  mode,
RefCount< IORequestor callback 
)
pure virtual
virtual int DiskFile::getFD ( ) const
inlinevirtual

During migration only

Reimplemented in IpcIoFile, BlockingFile, DiskThreadsDiskFile, and MmappedFile.

Definition at line 53 of file DiskFile.h.

virtual bool DiskFile::ioInProgress ( ) const
pure virtual

Inform callers if there is IO in progress

Implemented in IpcIoFile, DiskdFile, DiskThreadsDiskFile, BlockingFile, and MmappedFile.

virtual void DiskFile::open ( int  flags,
mode_t  mode,
RefCount< IORequestor callback 
)
pure virtual
virtual void DiskFile::read ( ReadRequest )
pure virtual
virtual void DiskFile::write ( WriteRequest )
pure virtual

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

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors