stx_GroupOfEl< _T, _defGroupEl > Class Template Reference
[Common, basic classes, functions and types]

#include <stx_group.h>

Inheritance diagram for stx_GroupOfEl< _T, _defGroupEl >:

Inheritance graph
[legend]
Collaboration diagram for stx_GroupOfEl< _T, _defGroupEl >:

Collaboration graph
[legend]

List of all members.


Detailed Description

template<class _T, int _defGroupEl>
class stx_GroupOfEl< _T, _defGroupEl >

vector of _size number reserved elements with reference to owner

Definition at line 105 of file stx_group.h.


Public Member Functions

 stx_GroupOfEl ()
cmn_LockOwnGetOwner ()
void SetOwner (cmn_LockOwn *a_owner_p)
void InsertEl (const _T a_el)
void Clear ()

Public Attributes

 log_CLASSID_m

Private Attributes

cmn_LockOwnm_owner_p

Constructor & Destructor Documentation

template<class _T, int _defGroupEl>
stx_GroupOfEl< _T, _defGroupEl >::stx_GroupOfEl (  )  [inline]

Definition at line 107 of file stx_group.h.

00108         :
00109         m_owner_p(NULL)
00110     {
00111         this->reserve(_defGroupEl);  
00112     };


Member Function Documentation

template<class _T, int _defGroupEl>
cmn_LockOwn* stx_GroupOfEl< _T, _defGroupEl >::GetOwner (  )  [inline]

Definition at line 133 of file stx_group.h.

References stx_GroupOfEl< _T, _defGroupEl >::m_owner_p.

00133 { return m_owner_p;};

template<class _T, int _defGroupEl>
void stx_GroupOfEl< _T, _defGroupEl >::SetOwner ( cmn_LockOwn a_owner_p  )  [inline]

Definition at line 137 of file stx_group.h.

References stx_GroupOfEl< _T, _defGroupEl >::m_owner_p.

00137                                            { 
00138         m_owner_p = a_owner_p; 
00139     };

template<class _T, int _defGroupEl>
void stx_GroupOfEl< _T, _defGroupEl >::InsertEl ( const _T  a_el  )  [inline]

Definition at line 143 of file stx_group.h.

References cmn_LockOwn::IncNumOfLocks(), stx_GroupOfEl< _T, _defGroupEl >::m_owner_p, and push_back().

00143                                  { 
00144         push_back(a_el); m_owner_p->IncNumOfLocks(); 
00145     };

Here is the call graph for this function:

template<class _T, int _defGroupEl>
void stx_GroupOfEl< _T, _defGroupEl >::Clear ( void   )  [inline]

Definition at line 149 of file stx_group.h.

References cmn_LockOwn::Clear(), and stx_GroupOfEl< _T, _defGroupEl >::m_owner_p.

Referenced by fio_TransGroupLock< _T, _defTransEl >::UnLockByOwn().

00149                  { 
00150         m_owner_p->Clear(); this->clear(); 
00151     };

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

template<class _T, int _defGroupEl>
cmn_LockOwn* stx_GroupOfEl< _T, _defGroupEl >::m_owner_p [private]

template<class _T, int _defGroupEl>
stx_GroupOfEl< _T, _defGroupEl >::log_CLASSID_m

Definition at line 131 of file stx_group.h.


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

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