ACE 8.0.5
Loading...
Searching...
No Matches
ACE_Framework_Component_T Class Reference

This class inherits the interface of the abstract ACE_Framework_Component class and is instantiated with the implementation of the concrete component class class Concrete. More...

#include <Framework_Component_T.h>

Detailed Description

This class inherits the interface of the abstract ACE_Framework_Component 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_Framework_Component provides the uniform virtual interface! (implementation based on ACE_Dumpable_Adapter in <ace/Dump_T.h>. */ template <class Concrete> class ACE_Framework_Component_T : public ACE_Framework_Component { public: / Constructor. ACE_Framework_Component_T (Concrete *concrete);

/ Destructor. ~ACE_Framework_Component_T ();

/ Close the contained singleton. void close_singleton ();

ACE_ALLOC_HOOK_DECLARE; };

/ This macro should be called in the instance() method / of the Concrete class that will be managed. Along / with the appropriate template instantiation. #define ACE_REGISTER_FRAMEWORK_COMPONENT(CLASS, INSTANCE) \ \

/*


The documentation for this class was generated from the following file: