#include <Framework_Component_T.h>
Inheritance diagram for ACE_Framework_Component_T< Concrete >:
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 design is similar to the Adapter and Decorator patterns from the ``Gang of Four'' book. Note that 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.
|
Constructor.
Definition at line 11 of file Framework_Component_T.cpp. References ACE_TRACE.
00012 : ACE_Framework_Component ((void *) concrete, concrete->dll_name (), concrete->name ()) 00013 { 00014 ACE_TRACE ("ACE_Framework_Component_T<Concrete>::ctor"); 00015 } |
|
Destructor.
Definition at line 18 of file Framework_Component_T.cpp. References ACE_TRACE.
00019 { 00020 ACE_TRACE ("ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T"); 00021 Concrete::close_singleton (); 00022 } |
|
Close the contained singleton.
Implements ACE_Framework_Component. Definition at line 25 of file Framework_Component_T.cpp. References ACE_TRACE.
00026 { 00027 ACE_TRACE ("ACE_Framework_Component_T<Concrete>::close_singleton"); 00028 Concrete::close_singleton (); 00029 } |