Public Member Functions | Public Attributes | Protected Attributes

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.

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

Detailed Description

Definition at line 45 of file hsm_FHlist.h.


Constructor & Destructor Documentation

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

Definition at line 47 of file hsm_FHlist.h.

{};


Member Function Documentation

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

Definition at line 60 of file hsm_FHlist.cpp.

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

                                                     {
    log_FUNC_m(Append);
    cmn_MutexLock l(m_FHlist_x);
    a_fh_p->IncrRef();    
    return insert(end(), a_fh_p);
}

Here is the call graph for this function:

void hsm_FHlist::Remove ( const hsm_FH_p_li a_pos  ) 

Definition at line 77 of file hsm_FHlist.cpp.

References log_FUNC_m, and m_FHlist_x.

                                               {
    log_FUNC_m(Remove);
    cmn_MutexLock l(m_FHlist_x);
    (*a_pos)->DecrRef();    
    erase(a_pos);
}

void hsm_FHlist::SpliceToEnd ( hsm_FH_p_li a_pos  ) 

Definition at line 69 of file hsm_FHlist.cpp.

References log_FUNC_m, and m_FHlist_x.

                                              {
    log_FUNC_m(SpliceToEnd);
    cmn_MutexLock l(m_FHlist_x);
    splice(end(), *this, a_pos);
}

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

Definition at line 59 of file hsm_FHlist.h.

Referenced by hsm_FHADPRecall::RecallFilesFromList().

                                                             {
                splice(end(), *this, a_pos);
            };

Here is the caller graph for this function:


Member Data Documentation

Definition at line 53 of file hsm_FHlist.h.


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