CRawDiskCB Class Reference

class CRawDiskCB : public CFsDispatchObject

A file server interface class representing a raw disk.

An instance of this object is referred to as a raw disk control block.

This is not an abstract base class and does not need to be derived from when implementing a file system. This is because direct disk access is implemented by the file server directly calling RawReadL() and RawWriteL() from the derived CMountCB object of the file system.

Constructor & Destructor Documentation

CRawDiskCB()

CRawDiskCB ( )

~CRawDiskCB()

~CRawDiskCB ( )

Member Functions Documentation

Drive()

TDrive & Drive ( ) [inline]

Gets a reference to an object representing the drive on which the disk resides.

InitL(CMountCB *, TBool)

void InitL ( CMountCB * aMount,
TBool aIsWriteProtected
)

Parameters

CMountCB * aMount
TBool aIsWriteProtected

IsChanged()

TBool IsChanged ( ) const [private, inline]

Tests whether the disk contents has changed (due to a write operation)

IsWriteProtected()

TBool IsWriteProtected ( ) const [inline]

Tests whether the mount on which the disk resides is write protected.

Mount()

CMountCB & Mount ( ) [inline]

Gets an object representing the mount on which the disk resides.

SetChanged()

void SetChanged ( ) [inline]

Set a flag to state that the disk contents has changed (due to a write operation)

SetWriteProtected()

void SetWriteProtected ( ) [private, inline]

Stores the write protected state of the disk.

Member Data Documentation

TUint32 iFlags

TUint32 iFlags [private]

CMountCB * iMount

CMountCB * iMount [private]