00001 // -*- C++ -*- 00002 // 00003 // Object_Manager.inl,v 4.3 2005/11/27 12:11:35 ossama Exp 00004 00005 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE 00008 int 00009 ACE_Object_Manager::at_exit (ACE_Cleanup *object, 00010 void *param) 00011 { 00012 return ACE_Object_Manager::instance ()->at_exit_i ( 00013 object, 00014 (ACE_CLEANUP_FUNC) ACE_CLEANUP_DESTROYER_NAME, 00015 param); 00016 } 00017 00018 ACE_INLINE 00019 int 00020 ACE_Object_Manager::at_exit (void *object, 00021 ACE_CLEANUP_FUNC cleanup_hook, 00022 void *param) 00023 { 00024 return ACE_Object_Manager::instance ()->at_exit_i ( 00025 object, 00026 cleanup_hook, 00027 param); 00028 } 00029 00030 ACE_INLINE 00031 ACE_Sig_Set & 00032 ACE_Object_Manager::default_mask (void) 00033 { 00034 // A safe cast, but this static method shouldn't be used anyways. 00035 // Use ACE_Object_Manager::default_mask () instead. 00036 return 00037 *reinterpret_cast<ACE_Sig_Set *> (ACE_OS_Object_Manager::default_mask ()); 00038 } 00039 00040 ACE_END_VERSIONED_NAMESPACE_DECL