#include <cdb.h>


Definition at line 189 of file cdb.h.
Public Member Functions | |
| cdb_Erase (bool a_long=false) | |
| virtual | ~cdb_Erase () |
| virtual const UInt8_t * | GetCmdPointer () const |
| virtual UInt32_t | GetCmdSize () const |
| virtual Direction_e | GetTransferDirection () const |
Private Attributes | |
| log_CLASSID_m | |
| cdb_Erase_t | m_eraseCmd |
| cdb_Erase::cdb_Erase | ( | bool | a_long = false |
) |
Definition at line 19 of file cdb_erase.cpp.
References cdb_Erase_t::longErase, m_eraseCmd, op_ERASE, and cdb_Erase_t::opcode.
00019 { 00020 memset(&m_eraseCmd, 0, sizeof(m_eraseCmd)); 00021 m_eraseCmd.opcode = op_ERASE; 00022 if (a_long) { 00023 m_eraseCmd.longErase = 1; 00024 } 00025 }
| cdb_Erase::~cdb_Erase | ( | ) | [virtual] |
| const UInt8_t * cdb_Erase::GetCmdPointer | ( | ) | const [virtual] |
Reimplemented from scsi_CDB.
Definition at line 30 of file cdb_erase.cpp.
References m_eraseCmd.
00030 { 00031 return reinterpret_cast<UInt8_t*>(const_cast<cdb_Erase_t*>(&m_eraseCmd)); 00032 }
| UInt32_t cdb_Erase::GetCmdSize | ( | ) | const [virtual] |
Reimplemented from scsi_CDB.
Definition at line 34 of file cdb_erase.cpp.
References m_eraseCmd.
00034 { 00035 return sizeof(m_eraseCmd); 00036 }
| Direction_e cdb_Erase::GetTransferDirection | ( | ) | const [virtual] |
Implements scsi_CDB.
Definition at line 38 of file cdb_erase.cpp.
References TRANSFER_NONE.
00038 { 00039 return TRANSFER_NONE; 00040 }
cdb_Erase::log_CLASSID_m [private] |
cdb_Erase_t cdb_Erase::m_eraseCmd [private] |
1.5.6