ACE 8.0.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | 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.
 
 ~ACE_Framework_Component_T ()
 Destructor.
 
void close_singleton ()
 Close the contained singleton.
 
- 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.
 

Public Attributes

 ACE_ALLOC_HOOK_DECLARE
 

Additional Inherited Members

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

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

◆ ACE_Framework_Component_T()

Constructor.

◆ ~ACE_Framework_Component_T()

Destructor.

Member Function Documentation

◆ close_singleton()

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

Close the contained singleton.

Implements ACE_Framework_Component.

Member Data Documentation

◆ ACE_ALLOC_HOOK_DECLARE

template<class Concrete >
ACE_Framework_Component_T< Concrete >::ACE_ALLOC_HOOK_DECLARE

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