|
ACE 8.0.5
|
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>
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) \ \
/*