NAME
ACE_Active_Map_Manager_Key - Key used in the Active Object Map.
SYNOPSIS
#include <ace/Active_Map_Manager.h>
class ACE_Active_Map_Manager_Key
{
public:
ACE_Active_Map_Manager_Key (void);
ACE_Active_Map_Manager_Key (
ACE_UINT32 slot_index,
ACE_UINT32 slot_generation
);
ACE_UINT32 slot_index (void) const;
void slot_index (ACE_UINT32 i);
ACE_UINT32 slot_generation (void) const;
void slot_generation (ACE_UINT32 g);
static size_t size (void);
void decode (const void *data);
void encode (void *data) const;
int operator== (const ACE_Active_Map_Manager_Key &rhs) const;
int operator!= (const ACE_Active_Map_Manager_Key &rhs) const;
void increment_slot_generation_count (void);
private:
key_data key_data_;
};
DESCRIPTION
This key keeps information of the index and the generation count of the slot it represents. Since the index information is part of the key, lookups are super fast and predictable,
This really should be protected but because of template
friends, they are not.
void increment_slot_generation_count (void);
Increment the slot_generation number.
AUTHOR
Irfan Pyarali
LIBRARY
ace