ACE_RMCast 8.0.5
Loading...
Searching...
No Matches
ACE_RMCast::Acknowledge::Queue Struct Reference
Inheritance diagram for ACE_RMCast::Acknowledge::Queue:
Collaboration diagram for ACE_RMCast::Acknowledge::Queue:

Public Types

typedef ACE_Hash_Map_Manager< u64, Descr, ACE_Null_MutexBase
Public Types inherited from ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >
typedef EXT_ID KEY
typedef INT_ID VALUE
typedef ACE_LOCK lock_type
typedef ACE_Hash_Map_Entry< EXT_ID, INT_ID > ENTRY
typedef ACE_Hash_Map_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > ITERATOR
typedef ACE_Hash_Map_Const_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > CONST_ITERATOR
typedef ACE_Hash_Map_Reverse_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > REVERSE_ITERATOR
typedef ACE_Hash_Map_Const_Reverse_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > CONST_REVERSE_ITERATOR
typedef ACE_Hash_Map_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > iterator
typedef ACE_Hash_Map_Const_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > const_iterator
typedef ACE_Hash_Map_Reverse_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > reverse_iterator
typedef ACE_Hash_Map_Const_Reverse_Iterator_Ex< EXT_ID, INT_ID, HASH_KEY, COMPARE_KEYS, ACE_LOCK > const_reverse_iterator
typedef EXT_ID key_type
typedef INT_ID data_type
typedef ACE_Hash_Map_Entry< EXT_ID, INT_ID > value_type
typedef value_typereference
typedef value_type const & const_reference
typedef value_typepointer
typedef value_type const * const_pointer
typedef ptrdiff_t difference_type
typedef size_t size_type

Public Member Functions

 Queue ()
 Queue (u64 sn)
 Queue (Queue const &q)
int bind (u64 sn, Descr const &d)
int rebind (u64 sn, Descr const &d)
int unbind (u64 sn)
u64 sn () const
void sn (u64 sn)
u64 max_sn () const
Public Member Functions inherited from ACE_Hash_Map_Manager< u64, Descr, ACE_Null_Mutex >
 ACE_Hash_Map_Manager (ACE_Allocator *table_alloc=0, ACE_Allocator *entry_alloc=0)
 ACE_Hash_Map_Manager (size_t size, ACE_Allocator *table_alloc=0, ACE_Allocator *entry_alloc=0)
int equal (const EXT_ID &id1, const EXT_ID &id2)
u_long hash (const EXT_ID &ext_id)
Public Member Functions inherited from ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >
 ACE_Hash_Map_Manager_Ex (ACE_Allocator *table_alloc=0, ACE_Allocator *entry_alloc=0)
int open (size_t size=ACE_DEFAULT_MAP_SIZE, ACE_Allocator *table_alloc=0, ACE_Allocator *entry_alloc=0)
int close ()
int unbind_all ()
 ~ACE_Hash_Map_Manager_Ex ()
int bind (const EXT_ID &item, const INT_ID &int_id)
int trybind (const EXT_ID &ext_id, INT_ID &int_id)
int rebind (const EXT_ID &ext_id, const INT_ID &int_id)
int find (const EXT_ID &ext_id, INT_ID &int_id) const
int unbind (const EXT_ID &ext_id)
size_t current_size () const
size_t total_size () const
ACE_LOCK & mutex ()
void dump () const
iterator begin ()
iterator end ()
reverse_iterator rbegin ()
reverse_iterator rend ()

Private Attributes

u64 sn_
u64 max_sn_

Additional Inherited Members

Public Attributes inherited from ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >
 ACE_ALLOC_HOOK_DECLARE
Protected Member Functions inherited from ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >
int equal (const EXT_ID &id1, const EXT_ID &id2)
u_long hash (const EXT_ID &ext_id)
int bind_i (const EXT_ID &ext_id, const INT_ID &int_id)
int trybind_i (const EXT_ID &ext_id, INT_ID &int_id)
int rebind_i (const EXT_ID &ext_id, const INT_ID &int_id)
int find_i (const EXT_ID &ext_id, INT_ID &int_id)
int unbind_i (const EXT_ID &ext_id, INT_ID &int_id)
int create_buckets (size_t size)
int close_i ()
int unbind_all_i ()
int shared_find (const EXT_ID &ext_id, ACE_Hash_Map_Entry< EXT_ID, INT_ID > *&entry, size_t &loc)
ACE_Hash_Map_Entry< EXT_ID, INT_ID > * table ()
Protected Attributes inherited from ACE_Hash_Map_Manager_Ex< EXT_ID, INT_ID, ACE_Hash< EXT_ID >, ACE_Equal_To< EXT_ID >, ACE_LOCK >
ACE_Allocatortable_allocator_
ACE_Allocatorentry_allocator_
ACE_LOCK lock_
HASH_KEY hash_key_
COMPARE_KEYS compare_keys_

Member Typedef Documentation

◆ Base

Constructor & Destructor Documentation

◆ Queue() [1/3]

ACE_RMCast::Acknowledge::Queue::Queue ( )
inline

◆ Queue() [2/3]

ACE_RMCast::Acknowledge::Queue::Queue ( u64 sn)
inline

◆ Queue() [3/3]

ACE_RMCast::Acknowledge::Queue::Queue ( Queue const & q)
inline

Member Function Documentation

◆ bind()

int ACE_RMCast::Acknowledge::Queue::bind ( u64 sn,
Descr const & d )
inline

◆ max_sn()

u64 ACE_RMCast::Acknowledge::Queue::max_sn ( ) const
inline

◆ rebind()

int ACE_RMCast::Acknowledge::Queue::rebind ( u64 sn,
Descr const & d )
inline

◆ sn() [1/2]

u64 ACE_RMCast::Acknowledge::Queue::sn ( ) const
inline

◆ sn() [2/2]

void ACE_RMCast::Acknowledge::Queue::sn ( u64 sn)
inline

◆ unbind()

int ACE_RMCast::Acknowledge::Queue::unbind ( u64 sn)
inline

Member Data Documentation

◆ max_sn_

u64 ACE_RMCast::Acknowledge::Queue::max_sn_
private

◆ sn_

u64 ACE_RMCast::Acknowledge::Queue::sn_
private

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