| 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.
| Public Member Functions | |
|---|---|
| CRawDiskCB() | |
| ~CRawDiskCB() | |
| TDrive & | Drive() |
| void | InitL(CMountCB *, TBool) |
| TBool | IsWriteProtected() |
| CMountCB & | Mount() |
| void | SetChanged() |
| Private Member Functions | |
|---|---|
| TBool | IsChanged() |
| void | SetWriteProtected() |
| Private Attributes | |
|---|---|
| TUint32 | iFlags |
| CMountCB * | iMount |
| TDrive & | Drive | ( | ) | [inline] |
Gets a reference to an object representing the drive on which the disk resides.
| TBool | IsChanged | ( | ) | const [private, inline] |
Tests whether the disk contents has changed (due to a write operation)
| TBool | IsWriteProtected | ( | ) | const [inline] |
Tests whether the mount on which the disk resides is write protected.
| void | SetChanged | ( | ) | [inline] |
Set a flag to state that the disk contents has changed (due to a write operation)
| void | SetWriteProtected | ( | ) | [private, inline] |
Stores the write protected state of the disk.
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.