#include <cdb.h>


Definition at line 263 of file cdb.h.
Public Member Functions | |
| cdb_Space () | |
| cdb_Space (UInt8_t a_unit, UInt32_t a_amount) | |
| virtual | ~cdb_Space () |
| virtual const UInt8_t * | GetCmdPointer () const |
| virtual UInt32_t | GetCmdSize () const |
| virtual Direction_e | GetTransferDirection () const |
Private Attributes | |
| log_CLASSID_m | |
| cdb_Space_t | m_spaceCmd |
| cdb_Space::cdb_Space | ( | ) |
Definition at line 18 of file cdb_space.cpp.
References m_spaceCmd, op_SPACE, and cdb_Space_t::opcode.
00018 { 00019 memset (&m_spaceCmd, 0, sizeof(m_spaceCmd)); 00020 m_spaceCmd.opcode = op_SPACE; 00021 }
Definition at line 23 of file cdb_space.cpp.
References cdb_Space_t::addr, cdb_Space_t::code, hton24(), m_spaceCmd, op_SPACE, and cdb_Space_t::opcode.
00023 { 00024 memset (&m_spaceCmd, 0, sizeof(m_spaceCmd)); 00025 m_spaceCmd.opcode = op_SPACE; 00026 00027 m_spaceCmd.code = a_unit; 00028 m_spaceCmd.addr = hton24(a_amount); 00029 }

| cdb_Space::~cdb_Space | ( | ) | [virtual] |
| const UInt8_t * cdb_Space::GetCmdPointer | ( | ) | const [virtual] |
Reimplemented from scsi_CDB.
Definition at line 34 of file cdb_space.cpp.
References m_spaceCmd.
00034 { 00035 return reinterpret_cast<UInt8_t*>( 00036 const_cast<cdb_Space_t*>(&m_spaceCmd) ); 00037 }
| UInt32_t cdb_Space::GetCmdSize | ( | ) | const [virtual] |
Reimplemented from scsi_CDB.
Definition at line 39 of file cdb_space.cpp.
References m_spaceCmd.
00039 { 00040 return sizeof(m_spaceCmd); 00041 }
| Direction_e cdb_Space::GetTransferDirection | ( | ) | const [virtual] |
Implements scsi_CDB.
Definition at line 43 of file cdb_space.cpp.
References TRANSFER_NONE.
00043 { 00044 return TRANSFER_NONE; 00045 }
cdb_Space::log_CLASSID_m [private] |
cdb_Space_t cdb_Space::m_spaceCmd [private] |
1.5.6