Public Member Functions | Public Attributes | Private Attributes | Friends

fsc_RedunCopyDataVolStorage Class Reference
[G_new_group]

#include <fsc_RedunCopyDataVolStorage.h>

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

List of all members.

Public Member Functions

 fsc_RedunCopyDataVolStorage (UInt64_t a_keyNum, ivd_MediaKey_t a_mediumKey, ivd_MedVolNum_t a_medVolNum)
 ~fsc_RedunCopyDataVolStorage (void)
void WriteToBuffer (const ivd_FileLocationData_t &a_record)
 Store location information of a file.

Public Attributes

 log_CLASSID_m

Private Attributes

ivd_FileSize_t m_dataSize

Friends

class fsc_RedunCopyDataVolStorageWriter

Detailed Description

Definition at line 56 of file fsc_RedunCopyDataVolStorage.h.


Constructor & Destructor Documentation

fsc_RedunCopyDataVolStorage::fsc_RedunCopyDataVolStorage ( UInt64_t  a_keyNum,
ivd_MediaKey_t  a_mediumKey,
ivd_MedVolNum_t  a_medVolNum 
)

Definition at line 51 of file fsc_RedunCopyDataVolStorage.cpp.

References fsc_GetRedunCopyDir(), fsc_GetRedunCopyMedVolFile(), and cmn_File::SetFullPath().

    :
    fsc_DataCollectorStorageCacheEl(a_keyNum, a_mediumKey, a_medVolNum),
    m_dataSize(0)
{
    cmn_Path location(fsc_GetRedunCopyDir(a_mediumKey) 
                        + fsc_GetRedunCopyMedVolFile(a_mediumKey, a_medVolNum));
        
    SetFullPath(location);
}

Here is the call graph for this function:

fsc_RedunCopyDataVolStorage::~fsc_RedunCopyDataVolStorage ( void   )  [inline]

Definition at line 65 of file fsc_RedunCopyDataVolStorage.h.

                                      {
        //empty
    };


Member Function Documentation

void fsc_RedunCopyDataVolStorage::WriteToBuffer ( const ivd_FileLocationData_t a_record  )  [inline]

Store location information of a file.

Definition at line 70 of file fsc_RedunCopyDataVolStorage.h.

References df_StreamOverheadSize_c, m_dataSize, and ivd_FileLocationData_t::splitSize.

Referenced by fsc_CollectorRedunCopy::PostCopiesProc().

                                                               {
        m_dataSize += a_record.splitSize + df_StreamOverheadSize_c;
        fsc_DataCollectorStorage::WriteToBuffer(reinterpret_cast<const UInt8_t*>(&a_record));
    };

Here is the caller graph for this function:


Friends And Related Function Documentation

friend class fsc_RedunCopyDataVolStorageWriter [friend]

Reimplemented from fsc_DataCollectorStorage.

Definition at line 57 of file fsc_RedunCopyDataVolStorage.h.


Member Data Documentation


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