Framework_Component_T.cpp

Go to the documentation of this file.
00001 // $Id: Framework_Component_T.cpp 80826 2008-03-04 14:51:23Z wotte $
00002 
00003 #ifndef ACE_FRAMEWORK_COMPONENT_T_CPP
00004 #define ACE_FRAMEWORK_COMPONENT_T_CPP
00005 
00006 #include "ace/Framework_Component_T.h"
00007 
00008 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00009 
00010 template <class Concrete>
00011 ACE_Framework_Component_T<Concrete>::ACE_Framework_Component_T (Concrete *concrete)
00012   : ACE_Framework_Component ((void *) concrete, concrete->dll_name (), concrete->name ())
00013 {
00014   ACE_TRACE ("ACE_Framework_Component_T<Concrete>::ctor");
00015 }
00016 
00017 template <class Concrete>
00018 ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T (void)
00019 {
00020   ACE_TRACE ("ACE_Framework_Component_T<Concrete>::~ACE_Framework_Component_T");
00021   Concrete::close_singleton ();
00022 }
00023 
00024 template <class Concrete> void
00025 ACE_Framework_Component_T<Concrete>::close_singleton (void)
00026 {
00027   ACE_TRACE ("ACE_Framework_Component_T<Concrete>::close_singleton");
00028   Concrete::close_singleton ();
00029 }
00030 
00031 ACE_END_VERSIONED_NAMESPACE_DECL
00032 
00033 #endif /* ACE_FRAMEWORK_COMPONENT_T_CPP */

Generated on Tue Feb 2 17:18:39 2010 for ACE by  doxygen 1.4.7