Concrete Proxy collection based on ACE_RB_Tree. More...
#include <ESF_Proxy_RB_Tree.h>

Public Types | |
| typedef ACE_RB_Tree< PROXY *, int, ACE_Less_Than< PROXY * > , ACE_Null_Mutex > | Implementation |
| A typedef for the underlying implementaiton class. | |
| typedef TAO_ESF_Proxy_RB_Tree_Iterator < PROXY > | Iterator |
| A typedef for the underlying iterator. | |
Public Member Functions | |
| TAO_ESF_Proxy_RB_Tree (void) | |
| Constructor. | |
| TAO_ESF_Proxy_RB_Tree_Iterator < PROXY > | begin (void) |
| TAO_ESF_Proxy_RB_Tree_Iterator < PROXY > | end (void) |
| Return one past the last element in the collection. | |
| size_t | size (void) const |
| Return the number of elements in the collection. | |
| void | connected (PROXY *) |
| Insert a new element to the collection. | |
| void | reconnected (PROXY *) |
| Insert a new element that could be there already. | |
| void | disconnected (PROXY *) |
| Remove an element from the collection. | |
| void | shutdown (void) |
Private Attributes | |
| Implementation | impl_ |
| The underlying implementation object. | |
Concrete Proxy collection based on ACE_RB_Tree.
The Event Service Framework provides several alternatives for the underlying proxy collections. This version is based on Red-Black trees that offer good insertion, removal and lookup performance, but the iteration is slightly degraded.
Definition at line 61 of file ESF_Proxy_RB_Tree.h.
| typedef ACE_RB_Tree<PROXY*,int,ACE_Less_Than<PROXY*>,ACE_Null_Mutex> TAO_ESF_Proxy_RB_Tree< PROXY >::Implementation |
A typedef for the underlying implementaiton class.
Definition at line 65 of file ESF_Proxy_RB_Tree.h.
| typedef TAO_ESF_Proxy_RB_Tree_Iterator<PROXY> TAO_ESF_Proxy_RB_Tree< PROXY >::Iterator |
A typedef for the underlying iterator.
Definition at line 68 of file ESF_Proxy_RB_Tree.h.
| TAO_ESF_Proxy_RB_Tree< PROXY >::TAO_ESF_Proxy_RB_Tree | ( | void | ) |
| TAO_ESF_Proxy_RB_Tree_Iterator< PROXY > TAO_ESF_Proxy_RB_Tree< PROXY >::begin | ( | void | ) |
| void TAO_ESF_Proxy_RB_Tree< PROXY >::connected | ( | PROXY * | proxy | ) |
Insert a new element to the collection.
Definition at line 20 of file ESF_Proxy_RB_Tree.cpp.
| void TAO_ESF_Proxy_RB_Tree< PROXY >::disconnected | ( | PROXY * | proxy | ) |
Remove an element from the collection.
Definition at line 62 of file ESF_Proxy_RB_Tree.cpp.
| TAO_ESF_Proxy_RB_Tree_Iterator< PROXY > TAO_ESF_Proxy_RB_Tree< PROXY >::end | ( | void | ) |
Return one past the last element in the collection.
Definition at line 58 of file ESF_Proxy_RB_Tree.inl.
| void TAO_ESF_Proxy_RB_Tree< PROXY >::reconnected | ( | PROXY * | proxy | ) |
Insert a new element that could be there already.
Definition at line 40 of file ESF_Proxy_RB_Tree.cpp.
| void TAO_ESF_Proxy_RB_Tree< PROXY >::shutdown | ( | void | ) |
| size_t TAO_ESF_Proxy_RB_Tree< PROXY >::size | ( | void | ) | const |
Return the number of elements in the collection.
Definition at line 64 of file ESF_Proxy_RB_Tree.inl.
{
return this->impl_.current_size ();
}
Implementation TAO_ESF_Proxy_RB_Tree< PROXY >::impl_ [private] |
The underlying implementation object.
Definition at line 97 of file ESF_Proxy_RB_Tree.h.
1.7.0