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.

Inherits from

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)

voidInitL(CMountCB *aMount,
TBoolaIsWriteProtected
)

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()

voidSetChanged()[inline]

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

SetWriteProtected()

voidSetWriteProtected()[private, inline]

Stores the write protected state of the disk.

Member Data Documentation

TUint32 iFlags

TUint32 iFlags[private]

CMountCB * iMount

CMountCB *iMount[private]