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

List of all members.

Public Member Functions

 win_tw_cli_device (smart_interface *intf, const char *dev_name, const char *req_type)
virtual bool is_open () const
 Return true if device is open.
virtual bool open ()
 Open device, return false on error.
virtual bool close ()
 Close device, return false on error.

Protected Member Functions

virtual int ata_command_interface (smart_command_set command, int select, char *data)
 Old ATA interface called by ata_pass_through()

Private Attributes

bool m_ident_valid
bool m_smart_valid
ata_identify_device m_ident_buf
ata_smart_values m_smart_buf

Detailed Description

Definition at line 474 of file os_win32.cpp.


Constructor & Destructor Documentation

os_win32::win_tw_cli_device::win_tw_cli_device ( smart_interface intf,
const char *  dev_name,
const char *  req_type 
)

Definition at line 1786 of file os_win32.cpp.


Member Function Documentation

int os_win32::win_tw_cli_device::ata_command_interface ( smart_command_set  command,
int  select,
char *  data 
) [protected, virtual]

Old ATA interface called by ata_pass_through()

Implements ata_device_with_command_set.

Definition at line 1912 of file os_win32.cpp.

bool os_win32::win_tw_cli_device::close ( ) [virtual]

Close device, return false on error.

Implements smart_device.

Definition at line 1905 of file os_win32.cpp.

bool os_win32::win_tw_cli_device::is_open ( ) const [virtual]

Return true if device is open.

Implements smart_device.

Definition at line 1795 of file os_win32.cpp.

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

Open device, return false on error.

Implements smart_device.

Definition at line 1801 of file os_win32.cpp.


Member Data Documentation

Definition at line 491 of file os_win32.cpp.

Definition at line 490 of file os_win32.cpp.

Definition at line 492 of file os_win32.cpp.

Definition at line 490 of file os_win32.cpp.


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