Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

MemoryCardDriverThreaded Class Reference

#include <MemoryCardDriverThreaded.h>

Inheritance diagram for MemoryCardDriverThreaded:

Inheritance graph
[legend]
Collaboration diagram for MemoryCardDriverThreaded:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MemoryCardDriverThreaded ()
 ~MemoryCardDriverThreaded ()
virtual bool StorageDevicesChanged ()
virtual void GetStorageDevices (vector< UsbStorageDevice > &vStorageDevicesOut)
virtual bool MountAndTestWrite (UsbStorageDevice *pDevice, CString sMountPoint)
virtual void SetMountThreadState (MountThreadState mts)

Protected Member Functions

void StartThread ()
void StopThread ()
virtual void MountThreadDoOneUpdate ()=0
virtual bool MountThreadWaitForUpdate ()
virtual void Mount (UsbStorageDevice *pDevice, CString sMountPoint)=0
bool ShouldDoOsMount ()
void UnmountMountPoint (const CString &sMountPoint)

Protected Attributes

vector< UsbStorageDevicem_vStorageDevices
bool m_bStorageDevicesChanged
RageMutex m_mutexStorageDevices

Private Member Functions

void MountThreadMain ()

Static Private Member Functions

int MountThread_Start (void *p)

Private Attributes

RageThread m_threadMemoryCardMount
bool m_bShutdownNextUpdate
RageMutex m_mutexPause
MountThreadState m_MountThreadState

Constructor & Destructor Documentation

MemoryCardDriverThreaded::MemoryCardDriverThreaded  ) 
 

MemoryCardDriverThreaded::~MemoryCardDriverThreaded  ) 
 


Member Function Documentation

void MemoryCardDriverThreaded::GetStorageDevices vector< UsbStorageDevice > &  vStorageDevicesOut  )  [virtual]
 

Implements MemoryCardDriver.

virtual void MemoryCardDriverThreaded::Mount UsbStorageDevice pDevice,
CString  sMountPoint
[protected, pure virtual]
 

Implemented in MemoryCardDriverThreaded_Linux, and MemoryCardDriverThreaded_Windows.

bool MemoryCardDriverThreaded::MountAndTestWrite UsbStorageDevice pDevice,
CString  sMountPoint
[virtual]
 

Implements MemoryCardDriver.

int MemoryCardDriverThreaded::MountThread_Start void *  p  )  [static, private]
 

virtual void MemoryCardDriverThreaded::MountThreadDoOneUpdate  )  [protected, pure virtual]
 

Implemented in MemoryCardDriverThreaded_Linux, and MemoryCardDriverThreaded_Windows.

void MemoryCardDriverThreaded::MountThreadMain  )  [private]
 

bool MemoryCardDriverThreaded::MountThreadWaitForUpdate  )  [protected, virtual]
 

Reimplemented in MemoryCardDriverThreaded_Linux, and MemoryCardDriverThreaded_Windows.

void MemoryCardDriverThreaded::SetMountThreadState MountThreadState  mts  )  [virtual]
 

Implements MemoryCardDriver.

bool MemoryCardDriverThreaded::ShouldDoOsMount  )  [inline, protected]
 

void MemoryCardDriverThreaded::StartThread  )  [protected]
 

void MemoryCardDriverThreaded::StopThread  )  [protected]
 

bool MemoryCardDriverThreaded::StorageDevicesChanged  )  [virtual]
 

Implements MemoryCardDriver.

void MemoryCardDriverThreaded::UnmountMountPoint const CString &  sMountPoint  )  [protected]
 


Member Data Documentation

bool MemoryCardDriverThreaded::m_bShutdownNextUpdate [private]
 

bool MemoryCardDriverThreaded::m_bStorageDevicesChanged [protected]
 

MountThreadState MemoryCardDriverThreaded::m_MountThreadState [private]
 

RageMutex MemoryCardDriverThreaded::m_mutexPause [private]
 

RageMutex MemoryCardDriverThreaded::m_mutexStorageDevices [protected]
 

RageThread MemoryCardDriverThreaded::m_threadMemoryCardMount [private]
 

vector<UsbStorageDevice> MemoryCardDriverThreaded::m_vStorageDevices [protected]
 


The documentation for this class was generated from the following files:
Generated on Thu Jan 27 20:59:55 2005 for StepMania by doxygen 1.3.7