cdb_TestUnitReady Class Reference
[SCSI Library]

#include <cdb.h>

Inheritance diagram for cdb_TestUnitReady:

Inheritance graph
[legend]
Collaboration diagram for cdb_TestUnitReady:

Collaboration graph
[legend]

List of all members.


Detailed Description

Implementation of Test Unit Ready SCSI command.

Definition at line 147 of file cdb.h.


Public Member Functions

 cdb_TestUnitReady ()
virtual ~cdb_TestUnitReady ()
virtual const UInt8_tGetCmdPointer () const
virtual UInt32_t GetCmdSize () const
virtual Direction_e GetTransferDirection () const

Private Attributes

 log_CLASSID_m
cdb_TestUnitReady_t m_testUnitReadyCmd

Constructor & Destructor Documentation

cdb_TestUnitReady::cdb_TestUnitReady (  ) 

Definition at line 33 of file cdb_testunitready.cpp.

References m_testUnitReadyCmd, op_TEST_UNIT_READY, and cdb_TestUnitReady_t::opcode.

00033                                      {
00034 
00035     memset(&m_testUnitReadyCmd, 0, sizeof(m_testUnitReadyCmd));
00036     m_testUnitReadyCmd.opcode = op_TEST_UNIT_READY;
00037 }

cdb_TestUnitReady::~cdb_TestUnitReady (  )  [virtual]

Definition at line 39 of file cdb_testunitready.cpp.

00039                                       {
00040 }


Member Function Documentation

const UInt8_t * cdb_TestUnitReady::GetCmdPointer (  )  const [virtual]

Reimplemented from scsi_CDB.

Definition at line 42 of file cdb_testunitready.cpp.

References m_testUnitReadyCmd.

00042                                                       {
00043     return reinterpret_cast<UInt8_t*>(
00044         const_cast<cdb_TestUnitReady_t*>(&m_testUnitReadyCmd) );
00045 }

UInt32_t cdb_TestUnitReady::GetCmdSize (  )  const [virtual]

Reimplemented from scsi_CDB.

Definition at line 47 of file cdb_testunitready.cpp.

References m_testUnitReadyCmd.

00047                                              {
00048     return sizeof(m_testUnitReadyCmd);
00049 }

Direction_e cdb_TestUnitReady::GetTransferDirection (  )  const [virtual]

Implements scsi_CDB.

Definition at line 51 of file cdb_testunitready.cpp.

References TRANSFER_NONE.

00051                                                           {
00052     return TRANSFER_NONE;
00053 }


Member Data Documentation

Reimplemented from scsi_CDB.

Definition at line 158 of file cdb.h.

Definition at line 160 of file cdb.h.

Referenced by cdb_TestUnitReady(), GetCmdPointer(), and GetCmdSize().


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

Generated on Mon Feb 27 19:02:50 2012 for OPENARCHIVE by  doxygen 1.5.6