#include <Dump_T.h>
Inheritance diagram for ACE_Dumpable_Adapter< Concrete >:
Public Methods | |
ACE_Dumpable_Adapter (const Concrete *t) | |
~ACE_Dumpable_Adapter (void) | |
virtual void | dump (void) const |
Concrete * | operator-> () const |
Delegate to methods in the Concrete class. | |
Private Attributes | |
const Concrete * | this_ |
Pointer to <this> of <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!
|
|
|
|
|
Concrete dump method (simply delegates to the <dump> method of <class Concrete>). Implements ACE_Dumpable. |
|
Delegate to methods in the Concrete class.
|
|
Pointer to <this> of <class Concrete>.
Reimplemented from ACE_Dumpable. |