TAO_ESF 4.0.1
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Attributes | List of all members
TAO_ESF_Proxy_List< PROXY > Class Template Reference

A concrete proxy collection. More...

#include <ESF_Proxy_List.h>

Collaboration diagram for TAO_ESF_Proxy_List< PROXY >:
Collaboration graph
[legend]

Public Types

typedef ACE_Unbounded_Set< PROXY * > Implementation
 A typedef for the underlying implementaiton class.
 
typedef ACE_Unbounded_Set_Iterator< PROXY * > Iterator
 A typedef for the underlying iterator.
 

Public Member Functions

 TAO_ESF_Proxy_List ()
 Constructor.
 
ACE_Unbounded_Set_Iterator< PROXY * > begin ()
 
ACE_Unbounded_Set_Iterator< PROXY * > end ()
 Return one past the last element in the collection.
 
size_t size () 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 ()
 

Private Attributes

ACE_Unbounded_Set< PROXY * > impl_
 The underlying implementation object.
 

Detailed Description

template<class PROXY>
class TAO_ESF_Proxy_List< PROXY >

A concrete proxy collection.

Based on the ACE_Unbounded_Set<> collection, used a double linked list internally.

Member Typedef Documentation

◆ Implementation

template<class PROXY >
typedef ACE_Unbounded_Set<PROXY*> TAO_ESF_Proxy_List< PROXY >::Implementation

A typedef for the underlying implementaiton class.

◆ Iterator

template<class PROXY >
typedef ACE_Unbounded_Set_Iterator<PROXY*> TAO_ESF_Proxy_List< PROXY >::Iterator

A typedef for the underlying iterator.

Constructor & Destructor Documentation

◆ TAO_ESF_Proxy_List()

template<class PROXY >
TAO_ESF_Proxy_List< PROXY >::TAO_ESF_Proxy_List ( )

Constructor.

Member Function Documentation

◆ begin()

template<class PROXY >
ACE_Unbounded_Set_Iterator< PROXY * > TAO_ESF_Proxy_List< PROXY >::begin ( )

Return the first element in the collection, or end() if there are none

◆ connected()

template<class PROXY >
void TAO_ESF_Proxy_List< PROXY >::connected ( PROXY * proxy)

Insert a new element to the collection.

◆ disconnected()

template<class PROXY >
void TAO_ESF_Proxy_List< PROXY >::disconnected ( PROXY * proxy)

Remove an element from the collection.

◆ end()

template<class PROXY >
ACE_Unbounded_Set_Iterator< PROXY * > TAO_ESF_Proxy_List< PROXY >::end ( )

Return one past the last element in the collection.

◆ reconnected()

template<class PROXY >
void TAO_ESF_Proxy_List< PROXY >::reconnected ( PROXY * proxy)

Insert a new element that could be there already.

◆ shutdown()

template<class PROXY >
void TAO_ESF_Proxy_List< PROXY >::shutdown ( )

Shutdown the collection, i.e. remove all elements and release resources

◆ size()

template<class PROXY >
size_t TAO_ESF_Proxy_List< PROXY >::size ( ) const

Return the number of elements in the collection.

Member Data Documentation

◆ impl_

template<class PROXY >
ACE_Unbounded_Set<PROXY*> TAO_ESF_Proxy_List< PROXY >::impl_
private

The underlying implementation object.


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