ACE  6.3.3
Public Member Functions | List of all members
ACE_Framework_Component_T< Concrete > Class Template Reference

This class inherits the interface of the abstract ACE_Framework_Component class and is instantiated with the implementation of the concrete component class class Concrete. More...

#include <Framework_Component_T.h>

Inheritance diagram for ACE_Framework_Component_T< Concrete >:
Inheritance graph
[legend]
Collaboration diagram for ACE_Framework_Component_T< Concrete >:
Collaboration graph
[legend]

Public Member Functions

 ACE_Framework_Component_T (Concrete *concrete)
 Constructor. More...
 
 ~ACE_Framework_Component_T (void)
 Destructor. More...
 
void close_singleton (void)
 Close the contained singleton. More...
 
- Public Member Functions inherited from ACE_Framework_Component
 ACE_Framework_Component (void *_this, const ACE_TCHAR *dll_name=0, const ACE_TCHAR *name=0)
 Constructor. More...
 

Additional Inherited Members

- Protected Member Functions inherited from ACE_Framework_Component
virtual ~ACE_Framework_Component (void)
 Destructor. More...
 

Detailed Description

template<class Concrete>
class ACE_Framework_Component_T< Concrete >

This class inherits the interface of the abstract ACE_Framework_Component class and is instantiated with the implementation of the concrete component class class Concrete.

This design is similar to the Adapter and Decorator patterns from the ``Gang of Four'' book. Note that class Concrete need not inherit from a common class since ACE_Framework_Component provides the uniform virtual interface! (implementation based on ACE_Dumpable_Adapter in <ace/Dump_T.h>.

Constructor & Destructor Documentation

template<class Concrete >
ACE_Framework_Component_T< Concrete >::ACE_Framework_Component_T ( Concrete *  concrete)

Constructor.

template<class Concrete >
ACE_Framework_Component_T< Concrete >::~ACE_Framework_Component_T ( void  )

Destructor.

Member Function Documentation

template<class Concrete >
void ACE_Framework_Component_T< Concrete >::close_singleton ( void  )
virtual

Close the contained singleton.

Implements ACE_Framework_Component.


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