MythHDD Class Reference

#include <mythhdd.h>

Inheritance diagram for MythHDD:

MythMediaDevice

List of all members.


Detailed Description

Definition at line 6 of file mythhdd.h.


Public Member Functions

 MythHDD (QObject *par, const char *DevicePath, bool SuperMount, bool AllowEject)
 Creates a new instance of a hard disc device.
virtual MediaStatus checkMedia (void)
 Checks the status of this media device.

Static Public Member Functions

static MythHDDGet (QObject *par, const char *devicePath, bool SuperMount, bool AllowEject)
 Helper function used to create a new instance of a hard disk device.

Constructor & Destructor Documentation

MythHDD::MythHDD ( QObject *  par,
const char *  DevicePath,
bool  SuperMount,
bool  AllowEject 
)

Creates a new instance of a hard disc device.

Parameters:
DevicePath path to the device special file representing the device.
Returns:
new MythHDD instance.

Definition at line 21 of file mythhdd.cpp.

Referenced by Get().


Member Function Documentation

MediaStatus MythHDD::checkMedia ( void   )  [virtual]

Checks the status of this media device.

Implements MythMediaDevice.

Definition at line 32 of file mythhdd.cpp.

MythHDD * MythHDD::Get ( QObject *  par,
const char *  devicePath,
bool  SuperMount,
bool  AllowEject 
) [static]

Helper function used to create a new instance of a hard disk device.

Parameters:
devicePath path to the device special file representing the device.
Returns:
new MythHDD instance.

Definition at line 10 of file mythhdd.cpp.

Referenced by MonitorThreadDarwin::diskInsert(), MediaMonitorUnix::FindPartitions(), and MediaMonitorWindows::MediaMonitorWindows().


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

Generated on Sat Sep 4 06:39:50 2010 for MythTV by  doxygen 1.5.5