hsm_FHlist Class Reference
[Classes for managing object list]

#include <hsm_FHlist.h>

Inheritance diagram for hsm_FHlist:

Inheritance graph
[legend]
Collaboration diagram for hsm_FHlist:

Collaboration graph
[legend]

List of all members.


Detailed Description

Definition at line 31 of file hsm_FHlist.h.


Public Member Functions

virtual ~hsm_FHlist ()
virtual hsm_FH_p_li Append (hsm_FileHeader *a_fh_p)
void SpliceToEnd (hsm_FH_p_li &a_pos)
void SpliceToEndNoLock (hsm_FH_p_li &a_pos)
void Remove (const hsm_FH_p_li &a_pos)

Public Attributes

 log_CLASSID_m

Protected Attributes

cmn_Mutex m_FHlist_x

Constructor & Destructor Documentation

virtual hsm_FHlist::~hsm_FHlist (  )  [inline, virtual]

Definition at line 33 of file hsm_FHlist.h.

00033 {};


Member Function Documentation

hsm_FH_p_li hsm_FHlist::Append ( hsm_FileHeader a_fh_p  )  [virtual]

Reimplemented in hsm_FHADPRecall, and hsm_FHmigc.

Definition at line 46 of file hsm_FHlist.cpp.

References hsm_FileHeader::IncrRef(), log_FUNC_m, and m_FHlist_x.

00046                                                      {
00047     log_FUNC_m(Append);
00048     cmn_MutexLock l(m_FHlist_x);
00049     a_fh_p->IncrRef();    
00050     return insert(end(), a_fh_p);
00051 }

Here is the call graph for this function:

void hsm_FHlist::SpliceToEnd ( hsm_FH_p_li a_pos  ) 

Definition at line 55 of file hsm_FHlist.cpp.

References log_FUNC_m, and m_FHlist_x.

00055                                               {
00056     log_FUNC_m(SpliceToEnd);
00057     cmn_MutexLock l(m_FHlist_x);
00058     splice(end(), *this, a_pos);
00059 }

void hsm_FHlist::SpliceToEndNoLock ( hsm_FH_p_li a_pos  )  [inline]

Definition at line 45 of file hsm_FHlist.h.

Referenced by hsm_FHADPRecall::RecallFilesFromList().

00045                                                              {
00046                 splice(end(), *this, a_pos);
00047             };

Here is the caller graph for this function:

void hsm_FHlist::Remove ( const hsm_FH_p_li a_pos  ) 

Definition at line 63 of file hsm_FHlist.cpp.

References log_FUNC_m, and m_FHlist_x.

00063                                                {
00064     log_FUNC_m(Remove);
00065     cmn_MutexLock l(m_FHlist_x);
00066     (*a_pos)->DecrRef();    
00067     erase(a_pos);
00068 }


Member Data Documentation

Reimplemented in hsm_FHADPRecall, and hsm_FHmigc.

Definition at line 39 of file hsm_FHlist.h.


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

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