Public Member Functions | Private Attributes

cdb_InitElementStatus Class Reference
[SCSI Library]

Initialize element status (media changer). More...

#include <cdb.h>

Inheritance diagram for cdb_InitElementStatus:
Inheritance graph
[legend]
Collaboration diagram for cdb_InitElementStatus:
Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Private Attributes

 log_CLASSID_m
cdb_InitElemStatus_t m_initElemStatusCmd

Detailed Description

Initialize element status (media changer).

Definition at line 596 of file cdb.h.


Constructor & Destructor Documentation

cdb_InitElementStatus::cdb_InitElementStatus (  ) 

Definition at line 48 of file cdb_initelementstatus.cpp.

References m_initElemStatusCmd, and cdb_InitElemStatus_t::opcode.

                                             {

    memset(&m_initElemStatusCmd, 0, sizeof(m_initElemStatusCmd));
    m_initElemStatusCmd.opcode = op_INIT_ELEMENT_STATUS;
}

cdb_InitElementStatus::~cdb_InitElementStatus (  )  [virtual]

Definition at line 54 of file cdb_initelementstatus.cpp.

                                              {
}


Member Function Documentation

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

Reimplemented from scsi_CDB.

Definition at line 57 of file cdb_initelementstatus.cpp.

References m_initElemStatusCmd.

                                                          {
    return reinterpret_cast<UInt8_t*>(
        const_cast<cdb_InitElemStatus_t*>(&m_initElemStatusCmd) );
}

UInt32_t cdb_InitElementStatus::GetCmdSize (  )  const [virtual]

Reimplemented from scsi_CDB.

Definition at line 62 of file cdb_initelementstatus.cpp.

References m_initElemStatusCmd.

                                                 {
    return sizeof(m_initElemStatusCmd);
}

Direction_e cdb_InitElementStatus::GetTransferDirection (  )  const [virtual]

Implements scsi_CDB.

Definition at line 66 of file cdb_initelementstatus.cpp.

                                                              {
    return TRANSFER_NONE;
}


Member Data Documentation

Reimplemented from scsi_CDB.

Definition at line 607 of file cdb.h.

Definition at line 609 of file cdb.h.

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


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