Public Member Functions | Private Attributes

cdb_WriteFileMarks Class Reference
[SCSI Library]

Write filemarks command. More...

#include <cdb.h>

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

List of all members.

Public Member Functions

 cdb_WriteFileMarks (UInt32_t a_count=1)
virtual ~cdb_WriteFileMarks ()
virtual const UInt8_tGetCmdPointer () const
virtual UInt32_t GetCmdSize () const
virtual Direction_e GetTransferDirection () const

Private Attributes

 log_CLASSID_m
cdb_WriteFileMarks_t m_writeFileMarksCmd

Detailed Description

Write filemarks command.

Definition at line 351 of file cdb.h.


Constructor & Destructor Documentation

cdb_WriteFileMarks::cdb_WriteFileMarks ( UInt32_t  a_count = 1  ) 

Definition at line 32 of file cdb_writefilemarks.cpp.

References cdb_WriteFileMarks_t::count, hton24(), m_writeFileMarksCmd, and cdb_WriteFileMarks_t::opcode.

                                                       {
    memset (&m_writeFileMarksCmd, 0, sizeof(m_writeFileMarksCmd));
    m_writeFileMarksCmd.opcode = op_WRITE_FILEMARKS;

    m_writeFileMarksCmd.count = hton24(a_count);
}

Here is the call graph for this function:

cdb_WriteFileMarks::~cdb_WriteFileMarks (  )  [virtual]

Definition at line 39 of file cdb_writefilemarks.cpp.

                                       {
}


Member Function Documentation

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

Reimplemented from scsi_CDB.

Definition at line 42 of file cdb_writefilemarks.cpp.

References m_writeFileMarksCmd.

                                                       {
    return (const UInt8_t*)&(m_writeFileMarksCmd);
}

UInt32_t cdb_WriteFileMarks::GetCmdSize (  )  const [virtual]

Reimplemented from scsi_CDB.

Definition at line 46 of file cdb_writefilemarks.cpp.

References m_writeFileMarksCmd.

                                              {
    return sizeof(m_writeFileMarksCmd);
}

Direction_e cdb_WriteFileMarks::GetTransferDirection (  )  const [virtual]

Implements scsi_CDB.

Definition at line 50 of file cdb_writefilemarks.cpp.

                                                           {
    return TRANSFER_NONE;
}


Member Data Documentation

Reimplemented from scsi_CDB.

Definition at line 361 of file cdb.h.

Definition at line 363 of file cdb.h.

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


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