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>
Public Member Functions | |
ACE_Framework_Component_T (Concrete *concrete) | |
Constructor. | |
~ACE_Framework_Component_T (void) | |
Destructor. | |
void | close_singleton (void) |
Close the contained singleton. |
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>.
Definition at line 38 of file Framework_Component_T.h.
ACE_Framework_Component_T< Concrete >::ACE_Framework_Component_T | ( | Concrete * | concrete | ) |
Constructor.
Definition at line 11 of file Framework_Component_T.cpp.
: ACE_Framework_Component ((void *) concrete, concrete->dll_name (), concrete->name ()) { ACE_TRACE ("ACE_Framework_Component_T<Concrete>::ctor"); }
ACE_Framework_Component_T< Concrete >::~ACE_Framework_Component_T | ( | void | ) |
Destructor.
Definition at line 18 of file Framework_Component_T.cpp.
{ ACE_TRACE ("ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T"); Concrete::close_singleton (); }
void ACE_Framework_Component_T< Concrete >::close_singleton | ( | void | ) | [virtual] |
Close the contained singleton.
Implements ACE_Framework_Component.
Definition at line 25 of file Framework_Component_T.cpp.
{ ACE_TRACE ("ACE_Framework_Component_T<Concrete>::close_singleton"); Concrete::close_singleton (); }