smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Private Attributes
os_win32::win_areca_scsi_device Class Reference
Collaboration diagram for os_win32::win_areca_scsi_device:
Collaboration graph

List of all members.

Public Member Functions

 win_areca_scsi_device (smart_interface *intf, const char *dev_name, int disknum, int encnum=1)
virtual bool open ()
 Open device, return false on error.
virtual smart_deviceautodetect_open ()
 Open device with autodetection support.
virtual bool arcmsr_lock ()
virtual bool arcmsr_unlock ()
virtual int arcmsr_do_scsi_io (struct scsi_cmnd_io *iop)

Private Attributes

HANDLE m_mutex

Detailed Description

Definition at line 519 of file os_win32.cpp.

Constructor & Destructor Documentation

os_win32::win_areca_scsi_device::win_areca_scsi_device ( smart_interface intf,
const char *  dev_name,
int  disknum,
int  encnum = 1 

Definition at line 3630 of file os_win32.cpp.

Member Function Documentation

int os_win32::win_areca_scsi_device::arcmsr_do_scsi_io ( struct scsi_cmnd_io iop) [virtual]

Reimplemented from areca_scsi_device.

Definition at line 3668 of file os_win32.cpp.

bool os_win32::win_areca_scsi_device::arcmsr_lock ( ) [virtual]

Reimplemented from areca_scsi_device.

Definition at line 3686 of file os_win32.cpp.

bool os_win32::win_areca_scsi_device::arcmsr_unlock ( ) [virtual]

Reimplemented from areca_scsi_device.

Definition at line 3709 of file os_win32.cpp.

smart_device * os_win32::win_areca_scsi_device::autodetect_open ( ) [virtual]

Open device with autodetection support.

May return another device for further access. In this case, the original pointer is no longer valid. Default implementation calls 'open()' and returns 'this'.

Reimplemented from smart_device.

Definition at line 3663 of file os_win32.cpp.

bool os_win32::win_areca_scsi_device::open ( ) [virtual]

Open device, return false on error.

Implements smart_device.

Definition at line 3639 of file os_win32.cpp.

Member Data Documentation

Definition at line 532 of file os_win32.cpp.

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