|
ACE 7.1.4
|
This class inherits the interface of the abstract ACE_Dumpable class and is instantiated with the implementation of the concrete component class <class Concrete>. More...
#include <Dump_T.h>


Public Member Functions | |
| ACE_Dumpable_Adapter (const Concrete *t) | |
| ~ACE_Dumpable_Adapter () | |
| virtual void | dump () const |
| Concrete * | operator-> () const |
| Delegate to methods in the Concrete class. | |
Public Member Functions inherited from ACE_Dumpable | |
| ACE_Dumpable (const void *) | |
| Constructor. | |
Private Attributes | |
| const Concrete * | this_ |
Pointer to this of <class Concrete>. | |
Additional Inherited Members | |
Protected Member Functions inherited from ACE_Dumpable | |
| virtual | ~ACE_Dumpable () |
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 | ) |
|
virtual |
Concrete dump method (simply delegates to the dump() method of <class Concrete>).
Implements ACE_Dumpable.
| Concrete * ACE_Dumpable_Adapter< Concrete >::operator-> | ( | ) | const |
Delegate to methods in the Concrete class.
|
private |
Pointer to this of <class Concrete>.