Public Member Functions | Public Attributes | Private Attributes | Friends

fsc_ReorgScanDataVolStorage Class Reference

cache element. More...

#include <fsc_ReorgScanDataVolStorage.h>

Inheritance diagram for fsc_ReorgScanDataVolStorage:
Inheritance graph
Collaboration diagram for fsc_ReorgScanDataVolStorage:
Collaboration graph

List of all members.

Public Member Functions

 fsc_ReorgScanDataVolStorage (UInt64_t a_keyNum, const string &a_partName, ivd_MediaKey_t a_mediumKey, ivd_MedVolNum_t a_medVolNum, bool a_create)
 ~fsc_ReorgScanDataVolStorage (void)
void Write (const ivd_FileLocationData_t *a_record_p)
 Store location information of a file.

Public Attributes


Private Attributes

const string m_partName
ivd_FileSize_t m_dataSize
 Size of total data stored on volume.


class ut_fsc_ReorgScanDataVolStorage
class fsc_ReorgScanReorgVolStorage
class fsc_ReorgScanContentVolStorage

Detailed Description

cache element.

Why cache element: Because to quick find proper object between many. See

Definition at line 59 of file fsc_ReorgScanDataVolStorage.h.

Constructor & Destructor Documentation

fsc_ReorgScanDataVolStorage::fsc_ReorgScanDataVolStorage ( UInt64_t  a_keyNum,
const string &  a_partName,
ivd_MediaKey_t  a_mediumKey,
ivd_MedVolNum_t  a_medVolNum,
bool  a_create 
) [inline]

Definition at line 64 of file fsc_ReorgScanDataVolStorage.h.

        fsc_DataCollectorStorage(a_mediumKey, a_medVolNum),

fsc_ReorgScanDataVolStorage::~fsc_ReorgScanDataVolStorage ( void   )  [inline]

Definition at line 78 of file fsc_ReorgScanDataVolStorage.h.


Member Function Documentation

void fsc_ReorgScanDataVolStorage::Write ( const ivd_FileLocationData_t a_record_p  ) 

Store location information of a file.

Definition at line 115 of file fsc_ReorgScanDataVolStorage.cpp.

References assert, df_StreamOverheadSize_c, log_FUNC_m, m_dataSize, NULL, ivd_FileLocationData_t::splitSize, and fsc_DataCollectorStorage::WriteToBuffer().

Referenced by fsc_RawReorgScanDataCollector::ProcRecMedPosMgr().

    assert(a_record_p != NULL);
    WriteToBuffer(reinterpret_cast<const UInt8_t*>(a_record_p));
    m_dataSize += a_record_p->splitSize + df_StreamOverheadSize_c;

Here is the call graph for this function:

Here is the caller graph for this function:

Friends And Related Function Documentation

friend class fsc_ReorgScanContentVolStorage [friend]

Reimplemented from fsc_DataCollectorStorage.

Definition at line 62 of file fsc_ReorgScanDataVolStorage.h.

friend class fsc_ReorgScanReorgVolStorage [friend]

Reimplemented from fsc_DataCollectorStorage.

Definition at line 61 of file fsc_ReorgScanDataVolStorage.h.

friend class ut_fsc_ReorgScanDataVolStorage [friend]

Definition at line 60 of file fsc_ReorgScanDataVolStorage.h.

Member Data Documentation

Reimplemented from fsc_DataCollectorStorage.

Reimplemented in fsc_ReorgScanReorgVolStorage, and fsc_ReorgScanContentVolStorage.

Definition at line 83 of file fsc_ReorgScanDataVolStorage.h.

Size of total data stored on volume.

Base on FSC migration size + header size

Definition at line 91 of file fsc_ReorgScanDataVolStorage.h.

Referenced by Write(), fsc_ReorgScanContentVolStorage::~fsc_ReorgScanContentVolStorage(), and fsc_ReorgScanReorgVolStorage::~fsc_ReorgScanReorgVolStorage().

Definition at line 85 of file fsc_ReorgScanDataVolStorage.h.

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