ACE_RMCast_Singleton_Factory Class Reference

#include <RMCast_Singleton_Factory.h>

Inheritance diagram for ACE_RMCast_Singleton_Factory:

Inheritance graph
[legend]
Collaboration diagram for ACE_RMCast_Singleton_Factory:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ACE_RMCast_Singleton_Factory (ACE_RMCast_Module *singleton)
 Constructor.
virtual ~ACE_RMCast_Singleton_Factory (void)
 Destructor.
virtual ACE_RMCast_Modulecreate (void)
 Create a new proxy.
virtual void destroy (ACE_RMCast_Module *)
 Destroy a proxy.

Private Attributes

ACE_RMCast_Modulesingleton_
 The singleton object.

Detailed Description

Many applications (and even some internal components), will use a single ACE_RMCast_Module to process all the events, for example, a receiver may decide to use the same ACE_RMCast_Module to process all incoming events, instead of using one per remote sender.


Constructor & Destructor Documentation

ACE_INLINE ACE_RMCast_Singleton_Factory::ACE_RMCast_Singleton_Factory ACE_RMCast_Module singleton  ) 
 

Constructor.

Parameters:
singleton This object is returned by any call to create().

ACE_RMCast_Singleton_Factory::~ACE_RMCast_Singleton_Factory void   )  [virtual]
 

Destructor.


Member Function Documentation

ACE_RMCast_Module * ACE_RMCast_Singleton_Factory::create void   )  [virtual]
 

Create a new proxy.

Implements ACE_RMCast_Module_Factory.

void ACE_RMCast_Singleton_Factory::destroy ACE_RMCast_Module  )  [virtual]
 

Destroy a proxy.

Some factories may allocate modules from a pool, or return the same module for all proxies. Consequently, only the factory knows how to destroy them.

Implements ACE_RMCast_Module_Factory.


Member Data Documentation

ACE_RMCast_Module* ACE_RMCast_Singleton_Factory::singleton_ [private]
 

The singleton object.


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 15:54:25 2005 for ACE_RMCast by  doxygen 1.4.5