Changes to attempt to silence bcc64x
[ACE_TAO.git] / ACE / ace / Framework_Component_T.cpp
blob1c503d5dd4e095de1f0d656436e6670f405fa848
1 #ifndef ACE_FRAMEWORK_COMPONENT_T_CPP
2 #define ACE_FRAMEWORK_COMPONENT_T_CPP
4 #include "ace/Framework_Component_T.h"
6 #if defined (ACE_HAS_ALLOC_HOOKS)
7 # include "ace/Malloc_Base.h"
8 #endif /* ACE_HAS_ALLOC_HOOKS */
10 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
12 template <class Concrete>
13 ACE_Framework_Component_T<Concrete>::ACE_Framework_Component_T (Concrete *concrete)
14 : ACE_Framework_Component ((void *) concrete, concrete->dll_name (), concrete->name ())
16 ACE_TRACE ("ACE_Framework_Component_T<Concrete>::ctor");
19 template <class Concrete>
20 ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T ()
22 ACE_TRACE ("ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T");
23 Concrete::close_singleton ();
26 ACE_ALLOC_HOOK_DEFINE_Tt(ACE_Framework_Component_T)
28 template <class Concrete> void
29 ACE_Framework_Component_T<Concrete>::close_singleton ()
31 ACE_TRACE ("ACE_Framework_Component_T<Concrete>::close_singleton");
32 Concrete::close_singleton ();
35 ACE_END_VERSIONED_NAMESPACE_DECL
37 #endif /* ACE_FRAMEWORK_COMPONENT_T_CPP */