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

List of all members.

Public Member Functions

unsigned get_ports_used ()
 Get bitmask of used ports.

Protected Member Functions

 csmi_device ()
bool get_phy_info (CSMI_SAS_PHY_INFO &phy_info)
 Get phy info.
bool select_port (int port)
 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 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 407 of file os_win32.cpp.

Member Function Documentation

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) [protected]

Get phy info.

Definition at line 2869 of file os_win32.cpp.

unsigned os_win32::csmi_device::get_ports_used ( )

Get bitmask of used ports.

Definition at line 2922 of file os_win32.cpp.

bool os_win32::csmi_device::select_port ( int  port) [protected]

Select physical drive.

Definition at line 2954 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: