Public Member Functions | Public Attributes

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

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

#include <stx_group.h>

Inheritance diagram for stx_Groups< _G, _T >:
Inheritance graph
[legend]

List of all members.

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

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


Constructor & Destructor Documentation

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

Definition at line 178 of file stx_group.h.

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


Member Function Documentation

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

Definition at line 185 of file stx_group.h.

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

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

Definition at line 187 of file stx_group.h.

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

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

Here is the caller graph for this function:

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

Definition at line 183 of file stx_group.h.

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

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

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


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