#include <Dump_T.h>
Public Member Functions | |
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!
ACE_Dumpable_Adapter< Concrete >::ACE_Dumpable_Adapter | ( | const Concrete * | t | ) | [inline] |
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Dumpable_Adapter< Concrete >::~ACE_Dumpable_Adapter | ( | void | ) | [inline] |
void ACE_Dumpable_Adapter< Concrete >::dump | ( | void | ) | const [inline, virtual] |
Concrete dump method (simply delegates to the <dump> method of <class concrete>="">).
Implements ACE_Dumpable.
Concrete * ACE_Dumpable_Adapter< Concrete >::operator-> | ( | void | ) | const [inline] |
Delegate to methods in the Concrete class.
const Concrete* ACE_Dumpable_Adapter< Concrete >::this_ [private] |