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::csmi_device Class Reference
Collaboration diagram for os_win32::csmi_device:
Collaboration graph
[legend]

List of all members.

Public Member Functions

bool get_phy_info (CSMI_SAS_PHY_INFO &phy_info)
 Get phy info.
bool check_phy (const CSMI_SAS_PHY_INFO &phy_info, unsigned phy_no)
 Check physical drive existence.

Protected Member Functions

 csmi_device ()
bool select_phy (unsigned phy_no)
 Select physical drive.
const CSMI_SAS_PHY_ENTITYget_phy_ent () const
 Get info for selected physical drive.
virtual bool csmi_ioctl (unsigned code, IOCTL_HEADER *csmi_buffer, unsigned csmi_bufsiz)=0
 Call platform-specific CSMI ioctl.

Private Attributes

CSMI_SAS_PHY_ENTITY m_phy_ent
 CSMI info for this phy.

Detailed Description

Definition at line 399 of file os_win32.cpp.


Constructor & Destructor Documentation

os_win32::csmi_device::csmi_device ( ) [inline, protected]

Definition at line 410 of file os_win32.cpp.


Member Function Documentation

bool os_win32::csmi_device::check_phy ( const CSMI_SAS_PHY_INFO phy_info,
unsigned  phy_no 
)

Check physical drive existence.

Definition at line 2916 of file os_win32.cpp.

virtual bool os_win32::csmi_device::csmi_ioctl ( unsigned  code,
IOCTL_HEADER *  csmi_buffer,
unsigned  csmi_bufsiz 
) [protected, pure virtual]

Call platform-specific CSMI ioctl.

Implemented in os_win32::win_csmi_device.

const CSMI_SAS_PHY_ENTITY& os_win32::csmi_device::get_phy_ent ( ) const [inline, protected]

Get info for selected physical drive.

Definition at line 418 of file os_win32.cpp.

bool os_win32::csmi_device::get_phy_info ( CSMI_SAS_PHY_INFO phy_info)

Get phy info.

Definition at line 2868 of file os_win32.cpp.

bool os_win32::csmi_device::select_phy ( unsigned  phy_no) [protected]

Select physical drive.

Definition at line 2939 of file os_win32.cpp.


Member Data Documentation

CSMI info for this phy.

Definition at line 426 of file os_win32.cpp.


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