|
smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
|

Public Member Functions | |
| win_smart_device () | |
| virtual | ~win_smart_device () throw () |
| virtual bool | is_open () const |
| Return true if device is open. | |
| virtual bool | close () |
| Close device, return false on error. | |
Protected Member Functions | |
| void | set_fh (HANDLE fh) |
| Set handle for open() in derived classes. | |
| HANDLE | get_fh () const |
| Return handle for derived classes. | |
Private Attributes | |
| HANDLE | m_fh |
| File handle. | |
Definition at line 319 of file os_win32.cpp.
| os_win32::win_smart_device::win_smart_device | ( | ) | [inline] |
Definition at line 323 of file os_win32.cpp.
| os_win32::win_smart_device::~win_smart_device | ( | ) | throw () [virtual] |
Definition at line 2327 of file os_win32.cpp.
| bool os_win32::win_smart_device::close | ( | ) | [virtual] |
Close device, return false on error.
Implements smart_device.
Definition at line 2338 of file os_win32.cpp.
| HANDLE os_win32::win_smart_device::get_fh | ( | ) | const [inline, protected] |
Return handle for derived classes.
Definition at line 340 of file os_win32.cpp.
| bool os_win32::win_smart_device::is_open | ( | ) | const [virtual] |
Return true if device is open.
Implements smart_device.
Definition at line 2333 of file os_win32.cpp.
| void os_win32::win_smart_device::set_fh | ( | HANDLE | fh | ) | [inline, protected] |
Set handle for open() in derived classes.
Definition at line 336 of file os_win32.cpp.
HANDLE os_win32::win_smart_device::m_fh [private] |
File handle.
Definition at line 344 of file os_win32.cpp.
1.7.4