diff options
Diffstat (limited to 'ACE/ace/Framework_Component_T.cpp')
-rw-r--r-- | ACE/ace/Framework_Component_T.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ACE/ace/Framework_Component_T.cpp b/ACE/ace/Framework_Component_T.cpp new file mode 100644 index 00000000000..509d6609daf --- /dev/null +++ b/ACE/ace/Framework_Component_T.cpp @@ -0,0 +1,33 @@ +// $Id$ + +#ifndef ACE_FRAMEWORK_COMPONENT_T_CPP +#define ACE_FRAMEWORK_COMPONENT_T_CPP + +#include "ace/Framework_Component_T.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + +template <class Concrete> +ACE_Framework_Component_T<Concrete>::ACE_Framework_Component_T (Concrete *concrete) + : ACE_Framework_Component ((void *) concrete, concrete->dll_name (), concrete->name ()) +{ + ACE_TRACE ("ACE_Framework_Component_T<Concrete>::ctor"); +} + +template <class Concrete> +ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T (void) +{ + ACE_TRACE ("ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T"); + Concrete::close_singleton (); +} + +template <class Concrete> void +ACE_Framework_Component_T<Concrete>::close_singleton (void) +{ + ACE_TRACE ("ACE_Framework_Component_T<Concrete>::close_singleton"); + Concrete::close_singleton (); +} + +ACE_END_VERSIONED_NAMESPACE_DECL + +#endif /* ACE_FRAMEWORK_COMPONENT_T_CPP */ |