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.


Detailed Description

Definition at line 42 of file fsc_RedunCopyDataVolStorage.h.


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

Constructor & Destructor Documentation

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

Definition at line 37 of file fsc_RedunCopyDataVolStorage.cpp.

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

00041     :
00042     fsc_DataCollectorStorageCacheEl(a_keyNum, a_mediumKey, a_medVolNum),
00043     m_dataSize(0)
00044 {
00045     cmn_Path location(fsc_GetRedunCopyDir(a_mediumKey) 
00046                         + fsc_GetRedunCopyMedVolFile(a_mediumKey, a_medVolNum));
00047         
00048     SetFullPath(location);
00049 }
//============================================================================//

Here is the call graph for this function:

fsc_RedunCopyDataVolStorage::~fsc_RedunCopyDataVolStorage ( void   )  [inline]

Definition at line 51 of file fsc_RedunCopyDataVolStorage.h.

00051                                       {
00052         //empty
00053     };


Member Function Documentation

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

Store location information of a file.

Definition at line 56 of file fsc_RedunCopyDataVolStorage.h.

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

Referenced by fsc_CollectorRedunCopy::PostCopiesProc().

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

Here is the call graph for this function:

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 43 of file fsc_RedunCopyDataVolStorage.h.


Member Data Documentation


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

Generated on Mon Feb 27 19:24:24 2012 for OPENARCHIVE by  doxygen 1.5.6