#include <Dump_T.h>
Inheritance diagram for ACE_Dumpable_Adapter< Concrete >:


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 of . | |
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_Dumpable provides the uniform virtual interface!
Definition at line 39 of file Dump_T.h.
|
||||||||||
|
Definition at line 25 of file Dump_T.cpp. References ACE_TRACE.
00026 : ACE_Dumpable ((const void *) t), this_ (t) 00027 { 00028 ACE_TRACE ("ACE_Dumpable_Adapter<Concrete>::ACE_Dumpable_Adapter"); 00029 } |
|
||||||||||
|
Definition at line 19 of file Dump_T.cpp. References ACE_TRACE.
00020 {
00021 ACE_TRACE ("ACE_Dumpable_Adapter<Concrete>::~ACE_Dumpable_Adapter");
00022 }
|
|
||||||||||
|
Concrete dump method (simply delegates to the method of ). Implements ACE_Dumpable. Definition at line 38 of file Dump_T.cpp. References ACE_TRACE.
|
|
|||||||||
|
Delegate to methods in the Concrete class.
Definition at line 32 of file Dump_T.cpp.
00033 {
00034 return (Concrete *) this->this_;
00035 }
|
|
|||||
|
Pointer to of .
Reimplemented from ACE_Dumpable. |
1.3.6