smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Public Member Functions | Protected Member Functions
ata_device_with_command_set Class Reference

Adapter class to implement new ATA pass through old interface. More...

#include <dev_ata_cmd_set.h>

Collaboration diagram for ata_device_with_command_set:
Collaboration graph
[legend]

List of all members.

Public Member Functions

virtual bool ata_pass_through (const ata_cmd_in &in, ata_cmd_out &out)
 ATA pass through mapped to ata_command_interface().

Protected Member Functions

virtual int ata_command_interface (smart_command_set command, int select, char *data)=0
 Old ATA interface called by ata_pass_through()
 ata_device_with_command_set ()

Detailed Description

Adapter class to implement new ATA pass through old interface.

Definition at line 31 of file dev_ata_cmd_set.h.


Constructor & Destructor Documentation

ata_device_with_command_set::ata_device_with_command_set ( ) [inline, protected]

Definition at line 42 of file dev_ata_cmd_set.h.


Member Function Documentation

virtual int ata_device_with_command_set::ata_command_interface ( smart_command_set  command,
int  select,
char *  data 
) [protected, pure virtual]
bool ata_device_with_command_set::ata_pass_through ( const ata_cmd_in in,
ata_cmd_out out 
) [virtual]

ATA pass through mapped to ata_command_interface().

Implements ata_device.

Definition at line 34 of file dev_ata_cmd_set.cpp.


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