Public Member Functions | Private Member Functions | Private Attributes

blk_DiskBufferReader Class Reference
[IVD Data format.]

#include <df.h>

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

List of all members.

Public Member Functions

 blk_DiskBufferReader (df_BlockManager &a_mgr, const string &a_diskBufferFS, const string &a_jobID)
virtual ~blk_DiskBufferReader ()

Private Member Functions

virtual UInt32_t Read (UInt8_t *a_data, const UInt32_t a_size)

Private Attributes

 log_CLASSID_m
cmn_File m_diskBuffer

Detailed Description

Definition at line 529 of file df.h.


Constructor & Destructor Documentation

blk_DiskBufferReader::blk_DiskBufferReader ( df_BlockManager a_mgr,
const string &  a_diskBufferFS,
const string &  a_jobID 
)

Definition at line 46 of file blk_diskbufferreader.cpp.

References fom_OPEN_EXISTING, fom_READ, log_FUNC_A_m, m_diskBuffer, and cmn_File::OpenF().

    : blk_BufferReader(a_mgr),
      m_diskBuffer(g_cmn.dirs.diskbuf + a_diskBufferFS + a_fName) {

    log_FUNC_A_m(blk_DiskBufferReader, "fName=" << a_fName);

    m_diskBuffer.OpenF(fom_READ | fom_OPEN_EXISTING);
}

Here is the call graph for this function:

blk_DiskBufferReader::~blk_DiskBufferReader (  )  [virtual]

Definition at line 58 of file blk_diskbufferreader.cpp.

References log_FUNC_m.


Member Function Documentation

UInt32_t blk_DiskBufferReader::Read ( UInt8_t a_data,
const UInt32_t  a_size 
) [private, virtual]

Implements blk_BufferReader.

Definition at line 62 of file blk_diskbufferreader.cpp.

References log_FUNC_m, m_diskBuffer, and cmn_File::ReadF().

                                                                          {
    log_FUNC_m(Read);

    return m_diskBuffer.ReadF(a_data, a_size);
}

Here is the call graph for this function:


Member Data Documentation

Reimplemented from blk_BufferReader.

Definition at line 541 of file df.h.

Definition at line 543 of file df.h.

Referenced by blk_DiskBufferReader(), and Read().


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