ACE_Map_Entry< EXT_ID, INT_ID > Class Template Reference

An entry in the Map. More...

#include <Map_Manager.h>

Collaboration diagram for ACE_Map_Entry< EXT_ID, INT_ID >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ~ACE_Map_Entry (void)
void dump (void) const
 Dump the state of an object.

ACE_UINT32 next (void) const
 Get next entry.

void next (ACE_UINT32 n)
 Set next entry.

ACE_UINT32 prev (void) const
 Get prev entry.

void prev (ACE_UINT32 p)
 Set prev entry.


Public Attributes

EXT_ID ext_id_
 Key used to look up an entry.

INT_ID int_id_
 The contents of the entry itself.

 ACE_ALLOC_HOOK_DECLARE
 Declare the dynamic allocation hooks.

ACE_UINT32 next_
 Keeps track of the next entry.

ACE_UINT32 prev_
 Keeps track of the previous entry.


Detailed Description

template<class EXT_ID, class INT_ID>
class ACE_Map_Entry< EXT_ID, INT_ID >

An entry in the Map.

Definition at line 39 of file Map_Manager.h.


Constructor & Destructor Documentation

template<class EXT_ID, class INT_ID>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Map_Entry< EXT_ID, INT_ID >::~ACE_Map_Entry void   ) 
 

We need this destructor to keep some compilers from complaining. It's just a no-op, however.

Definition at line 12 of file Map_Manager.inl.

00013 {
00014   // No-op just to keep some compilers happy...
00015 }


Member Function Documentation

template<class EXT_ID, class INT_ID>
void ACE_Map_Entry< EXT_ID, INT_ID >::dump void   )  const
 

Dump the state of an object.

Definition at line 595 of file Map_Manager.cpp.

References ACE_BEGIN_DUMP, ACE_DEBUG, ACE_END_DUMP, ACE_LIB_TEXT, and LM_DEBUG.

00596 {
00597 #if defined (ACE_HAS_DUMP)
00598   ACE_DEBUG ((LM_DEBUG, ACE_BEGIN_DUMP, this));
00599   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("next_ = %d"), this->next_));
00600   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("prev_ = %d"), this->prev_));
00601 
00602 #if defined (ACE_HAS_LAZY_MAP_MANAGER)
00603   ACE_DEBUG ((LM_DEBUG,  ACE_LIB_TEXT ("free_ = %d"), this->free_));
00604 #endif /* ACE_HAS_LAZY_MAP_MANAGER */
00605 
00606   ACE_DEBUG ((LM_DEBUG, ACE_END_DUMP));
00607 #endif /* ACE_HAS_DUMP */
00608 }

template<class EXT_ID, class INT_ID>
ACE_INLINE void ACE_Map_Entry< EXT_ID, INT_ID >::next ACE_UINT32  n  ) 
 

Set next entry.

Definition at line 25 of file Map_Manager.inl.

00026 {
00027   this->next_ = n;
00028 }

template<class EXT_ID, class INT_ID>
ACE_INLINE ACE_UINT32 ACE_Map_Entry< EXT_ID, INT_ID >::next void   )  const
 

Get next entry.

Definition at line 19 of file Map_Manager.inl.

Referenced by ACE_Map_Manager< EXT_ID, INT_ID, ACE_LOCK >::shared_move(), and ACE_Map_Manager< EXT_ID, INT_ID, ACE_LOCK >::unbind_all().

00020 {
00021   return this->next_;
00022 }

template<class EXT_ID, class INT_ID>
ACE_INLINE void ACE_Map_Entry< EXT_ID, INT_ID >::prev ACE_UINT32  p  ) 
 

Set prev entry.

Definition at line 37 of file Map_Manager.inl.

00038 {
00039   this->prev_ = p;
00040 }

template<class EXT_ID, class INT_ID>
ACE_INLINE ACE_UINT32 ACE_Map_Entry< EXT_ID, INT_ID >::prev void   )  const
 

Get prev entry.

Definition at line 31 of file Map_Manager.inl.

Referenced by ACE_Map_Manager< EXT_ID, INT_ID, ACE_LOCK >::shared_move().

00032 {
00033   return this->prev_;
00034 }


Member Data Documentation

template<class EXT_ID, class INT_ID>
ACE_Map_Entry< EXT_ID, INT_ID >::ACE_ALLOC_HOOK_DECLARE
 

Declare the dynamic allocation hooks.

Definition at line 58 of file Map_Manager.h.

template<class EXT_ID, class INT_ID>
EXT_ID ACE_Map_Entry< EXT_ID, INT_ID >::ext_id_
 

Key used to look up an entry.

Definition at line 49 of file Map_Manager.h.

template<class EXT_ID, class INT_ID>
INT_ID ACE_Map_Entry< EXT_ID, INT_ID >::int_id_
 

The contents of the entry itself.

Definition at line 52 of file Map_Manager.h.

template<class EXT_ID, class INT_ID>
ACE_UINT32 ACE_Map_Entry< EXT_ID, INT_ID >::next_
 

Keeps track of the next entry.

Definition at line 76 of file Map_Manager.h.

template<class EXT_ID, class INT_ID>
ACE_UINT32 ACE_Map_Entry< EXT_ID, INT_ID >::prev_
 

Keeps track of the previous entry.

Definition at line 79 of file Map_Manager.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:24:24 2006 for ACE by doxygen 1.3.6