smartmontools SVN Rev 3317
Utility to control and monitor storage systems with "S.M.A.R.T."
Classes | Defines | Typedefs | Functions
dev_interface.h File Reference
#include "utility.h"
#include <stdexcept>
#include <string>
#include <vector>
Include dependency graph for dev_interface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  smart_device
 Base class for all devices. More...
struct  smart_device::device_info
 Device info strings. More...
struct  smart_device::error_info
 Error (number,message) pair. More...
class  ata_register
 ATA register value and info whether it has ever been set. More...
struct  ata_in_regs
 ATA Input registers (for 28-bit commands) More...
struct  ata_out_regs
 ATA Output registers (for 28-bit commands) More...
class  ata_reg_alias_16
 16-bit alias to a 8-bit ATA register pair. More...
class  ata_reg_alias_48
 48-bit alias to six 8-bit ATA registers (for LBA). More...
struct  ata_in_regs_48bit
 ATA Input registers for 48-bit commands. More...
struct  ata_out_regs_48bit
 ATA Output registers for 48-bit commands. More...
struct  ata_out_regs_flags
 Flags for each ATA output register. More...
struct  ata_cmd_in
 ATA pass through input parameters. More...
struct  ata_cmd_out
 ATA pass through output parameters. More...
class  ata_device
 ATA device access. More...
class  scsi_device
 SCSI device access. More...
class  any_device_auto_ptr< Dev >
 Smart pointer class for device pointers. More...
class  smart_device_list
 List of devices for DEVICESCAN. More...
class  smart_interface
 The platform interface abstraction. More...

Defines

#define DEV_INTERFACE_H_CVSID   "$Id: dev_interface.h 3663 2012-10-24 20:35:55Z chrfranke $\n"

Typedefs

typedef any_device_auto_ptr
< smart_device
smart_device_auto_ptr
typedef any_device_auto_ptr
< ata_device
ata_device_auto_ptr
typedef any_device_auto_ptr
< scsi_device
scsi_device_auto_ptr

Functions

smart_interfacesmi ()
 Global access to the (usually singleton) smart_interface.

Define Documentation

#define DEV_INTERFACE_H_CVSID   "$Id: dev_interface.h 3663 2012-10-24 20:35:55Z chrfranke $\n"

Definition at line 21 of file dev_interface.h.


Typedef Documentation

Definition at line 661 of file dev_interface.h.

Definition at line 662 of file dev_interface.h.

Definition at line 660 of file dev_interface.h.


Function Documentation

smart_interface* smi ( ) [inline]

Global access to the (usually singleton) smart_interface.

Definition at line 888 of file dev_interface.h.