MythHDD Class Reference

#include <mythhdd.h>

Inheritance diagram for MythHDD:
MythMediaDevice

List of all members.

Public Member Functions

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

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.

Detailed Description

Definition at line 6 of file mythhdd.h.


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 22 of file mythhdd.cpp.

Referenced by Get().


Member Function Documentation

MythMediaStatus MythHDD::checkMedia ( void   )  [virtual]

Checks the status of this media device.

Implements MythMediaDevice.

Definition at line 34 of file mythhdd.cpp.

MythMediaError MythHDD::eject ( bool   )  [virtual]

Reimplemented from MythMediaDevice.

Definition at line 76 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 11 of file mythhdd.cpp.

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


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends
Generated on Mon Feb 6 06:42:10 2012 for MythTV by  doxygen 1.6.3