BazisLib::Linux::UniversalVolume Class Reference

#include <crossvol.h>

Inherits BazisLib::Linux::BasicBlockDevice.

Collaboration diagram for BazisLib::Linux::UniversalVolume:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 UniversalVolume (const char *pszDeviceName, IBasicDisk *pDisk, bool bOwnsInterface)
virtual ~UniversalVolume ()
virtual LKSTATUS __bzslib_extern RegisterDevice (class Driver *pDriver) override

Protected Member Functions

virtual bool OnRead (uint64_t ByteOffset, void *pBuffer, size_t BufferSize) override
virtual bool OnWrite (uint64_t ByteOffset, const void *pBuffer, size_t BufferSize) override
virtual uint64_t GetTotalDiskSize () override
virtual unsigned GetSectorSize ()

Private Attributes

IBasicDiskm_pDisk
bool m_bDeleteDisk


Constructor & Destructor Documentation

BazisLib::Linux::UniversalVolume::UniversalVolume ( const char *  pszDeviceName,
IBasicDisk pDisk,
bool  bOwnsInterface 
) [inline]

virtual BazisLib::Linux::UniversalVolume::~UniversalVolume (  )  [inline, virtual]


Member Function Documentation

virtual unsigned BazisLib::Linux::UniversalVolume::GetSectorSize (  )  [inline, protected, virtual]

Reimplemented from BazisLib::Linux::BasicBlockDevice.

Here is the call graph for this function:

virtual uint64_t BazisLib::Linux::UniversalVolume::GetTotalDiskSize (  )  [inline, override, protected, virtual]

Reimplemented from BazisLib::Linux::BasicBlockDevice.

Here is the call graph for this function:

virtual bool BazisLib::Linux::UniversalVolume::OnRead ( uint64_t  ByteOffset,
void *  pBuffer,
size_t  BufferSize 
) [inline, override, protected, virtual]

Reimplemented from BazisLib::Linux::BasicBlockDevice.

Here is the call graph for this function:

virtual bool BazisLib::Linux::UniversalVolume::OnWrite ( uint64_t  ByteOffset,
const void *  pBuffer,
size_t  BufferSize 
) [inline, override, protected, virtual]

Reimplemented from BazisLib::Linux::BasicBlockDevice.

Here is the call graph for this function:

virtual LKSTATUS __bzslib_extern BazisLib::Linux::UniversalVolume::RegisterDevice ( class Driver pDriver  )  [inline, override, virtual]

This method registers the block device within the system. Currently, it calls Device::RegisterDevice() and registers the block device within Linux kernel.

Reimplemented from BazisLib::Linux::BasicBlockDevice.

Here is the call graph for this function:


Member Data Documentation


The documentation for this class was generated from the following file:
SourceForge.net Logo