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

Classes | |
| struct | parsed_ata_command |
Public Member Functions | |
| parsed_ata_device (smart_interface *intf, const char *dev_name) | |
| virtual | ~parsed_ata_device () throw () |
| 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. | |
| virtual bool | ata_identify_is_cached () const |
| Return true if OS caches ATA identify sector. | |
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 Types | |
| enum | { max_num_commands = 32 } |
Private Attributes | |
| parsed_ata_command | m_command_table [max_num_commands] |
| int | m_num_commands |
| int | m_next_replay_command |
| bool | m_replay_out_of_sync |
| bool | m_ata_identify_is_cached |
Definition at line 2764 of file atacmds.cpp.
anonymous enum [private] |
Definition at line 2793 of file atacmds.cpp.
| anonymous_namespace{atacmds.cpp}::parsed_ata_device::parsed_ata_device | ( | smart_interface * | intf, |
| const char * | dev_name | ||
| ) |
Definition at line 2840 of file atacmds.cpp.
| anonymous_namespace{atacmds.cpp}::parsed_ata_device::~parsed_ata_device | ( | ) | throw () [virtual] |
Definition at line 2850 of file atacmds.cpp.
| int anonymous_namespace{atacmds.cpp}::parsed_ata_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 3022 of file atacmds.cpp.
| bool anonymous_namespace{atacmds.cpp}::parsed_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 3015 of file atacmds.cpp.
| bool anonymous_namespace{atacmds.cpp}::parsed_ata_device::close | ( | ) | [virtual] |
Close device, return false on error.
Implements smart_device.
Definition at line 2996 of file atacmds.cpp.
| bool anonymous_namespace{atacmds.cpp}::parsed_ata_device::is_open | ( | ) | const [virtual] |
Return true if device is open.
Implements smart_device.
Definition at line 2855 of file atacmds.cpp.
| bool anonymous_namespace{atacmds.cpp}::parsed_ata_device::open | ( | ) | [virtual] |
Open device, return false on error.
Implements smart_device.
Definition at line 2861 of file atacmds.cpp.
bool anonymous_namespace{atacmds.cpp}::parsed_ata_device::m_ata_identify_is_cached [private] |
Definition at line 2799 of file atacmds.cpp.
parsed_ata_command anonymous_namespace{atacmds.cpp}::parsed_ata_device::m_command_table[max_num_commands] [private] |
Definition at line 2794 of file atacmds.cpp.
int anonymous_namespace{atacmds.cpp}::parsed_ata_device::m_next_replay_command [private] |
Definition at line 2797 of file atacmds.cpp.
int anonymous_namespace{atacmds.cpp}::parsed_ata_device::m_num_commands [private] |
Definition at line 2796 of file atacmds.cpp.
bool anonymous_namespace{atacmds.cpp}::parsed_ata_device::m_replay_out_of_sync [private] |
Definition at line 2798 of file atacmds.cpp.
1.7.4