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

List of all members.

Public Member Functions

 win_ata_device (smart_interface *intf, const char *dev_name, const char *req_type)
virtual ~win_ata_device () throw ()
virtual bool open ()
 Open device, return false on error.
virtual bool ata_pass_through (const ata_cmd_in &in, ata_cmd_out &out)
 ATA pass through.
virtual bool ata_identify_is_cached () const
 Return true if OS caches ATA identify sector.

Private Member Functions

bool open (int phydrive, int logdrive, const char *options, int port)

Private Attributes

std::string m_options
bool m_usr_options
bool m_admin
int m_phydrive
bool m_id_is_cached
bool m_is_3ware
int m_port
int m_smartver_state

Detailed Description

Definition at line 350 of file os_win32.cpp.


Constructor & Destructor Documentation

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

Definition at line 2364 of file os_win32.cpp.

os_win32::win_ata_device::~win_ata_device ( ) throw () [virtual]

Definition at line 2376 of file os_win32.cpp.


Member Function Documentation

bool os_win32::win_ata_device::ata_identify_is_cached ( ) const [virtual]

Return true if OS caches ATA identify sector.

Default implementation returns false.

Reimplemented from ata_device.

Definition at line 2859 of file os_win32.cpp.

bool os_win32::win_ata_device::ata_pass_through ( const ata_cmd_in in,
ata_cmd_out out 
) [virtual]

ATA pass through.

Return false on error. Must be implemented in derived class.

Implements ata_device.

Definition at line 2538 of file os_win32.cpp.

bool os_win32::win_ata_device::open ( int  phydrive,
int  logdrive,
const char *  options,
int  port 
) [private]

Definition at line 2415 of file os_win32.cpp.

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

Open device, return false on error.

Implements smart_device.

Definition at line 2383 of file os_win32.cpp.


Member Data Documentation

Definition at line 370 of file os_win32.cpp.

Definition at line 372 of file os_win32.cpp.

Definition at line 373 of file os_win32.cpp.

std::string os_win32::win_ata_device::m_options [private]

Definition at line 368 of file os_win32.cpp.

Definition at line 371 of file os_win32.cpp.

Definition at line 374 of file os_win32.cpp.

Definition at line 375 of file os_win32.cpp.

Definition at line 369 of file os_win32.cpp.


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