Public Member Functions | Public Attributes | Private Attributes

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

vector of _size number reserved elements with reference to owner More...

#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.

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

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 119 of file stx_group.h.


Constructor & Destructor Documentation

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

Definition at line 121 of file stx_group.h.

        :
        m_owner_p(NULL)
    {
        this->reserve(_defGroupEl);  
    };


Member Function Documentation

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

Definition at line 163 of file stx_group.h.

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

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

                 { 
        m_owner_p->Clear(); this->clear(); 
    };

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 147 of file stx_group.h.

References stx_GroupOfEl< _T, _defGroupEl >::m_owner_p.

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

{ return m_owner_p;};

Here is the caller graph for this function:

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

Definition at line 157 of file stx_group.h.

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

Here is the call graph for this function:

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

Definition at line 151 of file stx_group.h.

References stx_GroupOfEl< _T, _defGroupEl >::m_owner_p.

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

                                           { 
        m_owner_p = a_owner_p; 
    };

Here is the caller graph for this function:


Member Data Documentation

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

Definition at line 145 of file stx_group.h.

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

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