stx_Groups< _G, _T > Class Template Reference
[Common, basic classes, functions and types]

#include <stx_group.h>

Inheritance diagram for stx_Groups< _G, _T >:

Inheritance graph
[legend]

List of all members.


Detailed Description

template<class _G, class _T>
class stx_Groups< _G, _T >

Each owner reserve a groupID as handler to access to stx_Groups.

Definition at line 159 of file stx_group.h.


Public Member Functions

 stx_Groups (int a_numb)
void InsertEl (int a_groupID, const _T a_el)
void Clear (int a_groupID)
_G & GetGroup (int a_groupID)

Public Attributes

 log_CLASSID_m

Constructor & Destructor Documentation

template<class _G, class _T>
stx_Groups< _G, _T >::stx_Groups ( int  a_numb  )  [inline]

Definition at line 164 of file stx_group.h.

00164                            {
00165         // create vector with a_numb of groups, using defaul constructor of _EL
00166         this->resize(a_numb);        
00167     };


Member Function Documentation

template<class _G, class _T>
void stx_Groups< _G, _T >::InsertEl ( int  a_groupID,
const _T  a_el 
) [inline]

Definition at line 169 of file stx_group.h.

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

00169 { this->operator[](a_groupID).InsertEl(a_el); };

Here is the caller graph for this function:

template<class _G, class _T>
void stx_Groups< _G, _T >::Clear ( int  a_groupID  )  [inline]

Definition at line 171 of file stx_group.h.

00171 { this->operator[](a_groupID).Clear(); };

template<class _G, class _T>
_G& stx_Groups< _G, _T >::GetGroup ( int  a_groupID  )  [inline]

Definition at line 173 of file stx_group.h.

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

00173 { return this->operator[](a_groupID); };

Here is the caller graph for this function:


Member Data Documentation

template<class _G, class _T>
stx_Groups< _G, _T >::log_CLASSID_m

Definition at line 162 of file stx_group.h.


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

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