Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

pool< C >::pool_entry Class Reference

pointer to a pool entry object we can't remove internl class into hpp file Microsoft specific More...

List of all members.

Public Member Functions

 pool_entry (TYPE *obj)
 constructor
 pool_entry (const pool_entry &x)
 copy constructor
pool_entryoperator= (const pool_entry &x)
 assign operator

Private Attributes

TYPE_obj
 keep pointer to the object
sb8_t _rest
 when last time in the rest

Friends

class pool< C >
 gives pool full access


Detailed Description

template<class C>
class pool< C >::pool_entry

pointer to a pool entry object we can't remove internl class into hpp file Microsoft specific

Definition at line 58 of file template.h.


Constructor & Destructor Documentation

template<class C>
pool< C >::pool_entry::pool_entry ( TYPE obj  )  [inline]

constructor

Parameters:
obj  pointer to object

Definition at line 65 of file template.h.

template<class C>
pool< C >::pool_entry::pool_entry ( const pool_entry x  )  [inline]

copy constructor

Definition at line 72 of file template.h.


Member Function Documentation

template<class C>
pool_entry& pool< C >::pool_entry::operator= ( const pool_entry x  )  [inline]

assign operator

Definition at line 78 of file template.h.

References pool< C >::pool_entry::_obj, and pool< C >::pool_entry::_rest.


Friends And Related Function Documentation

template<class C>
friend class pool< C > [friend]

gives pool full access

pool< C >

Definition at line 62 of file template.h.


Member Data Documentation

template<class C>
TYPE* pool< C >::pool_entry::_obj [private]

keep pointer to the object

Definition at line 89 of file template.h.

Referenced by pool< C >::clear(), pool< C >::loan_object(), and pool< C >::pool_entry::operator=().

template<class C>
sb8_t pool< C >::pool_entry::_rest [private]

when last time in the rest

Definition at line 90 of file template.h.

Referenced by pool< C >::pool_entry::operator=().


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


© Copyright Terimber 2003-.