Public Member Functions
|ACE_Dumpable_Adapter (const Concrete *t)|
|virtual void||dump (void) const|
|Concrete *||operator-> () const|
|Delegate to methods in the Concrete class. |
|const Concrete *||this_|
|Pointer to |
This class inherits the interface of the abstract ACE_Dumpable 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_Dumpable provides the uniform virtual interface!
|ACE_Dumpable_Adapter< Concrete >::ACE_Dumpable_Adapter||(||const Concrete *||t||)||
|void ACE_Dumpable_Adapter< Concrete >::dump||(||void||)|| const
Concrete dump method (simply delegates to the <dump> method of <class concrete>="">).
|Concrete * ACE_Dumpable_Adapter< Concrete >::operator->||(||void||)|| const
Delegate to methods in the Concrete class.
this of <class concrete>="">.
Reimplemented from ACE_Dumpable.