summaryrefslogtreecommitdiff
path: root/TAO/tao/TAO_Singleton_Manager.inl
blob: 532e1844fafac7c16ed25193ac3789aea33bcccf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
// -*- C++ -*-
TAO_BEGIN_VERSIONED_NAMESPACE_DECL

ACE_INLINE
int
TAO_Singleton_Manager::at_exit (ACE_Cleanup *object,
                                void *param,
                                const char* name)
{
  return TAO_Singleton_Manager::instance ()->at_exit_i (
    object,
    (ACE_CLEANUP_FUNC) ACE_CLEANUP_DESTROYER_NAME,
    param,
    name);
}

ACE_INLINE
int
TAO_Singleton_Manager::at_exit (void *object,
                                ACE_CLEANUP_FUNC cleanup_hook,
                                void *param,
                                const char* name)
{
  return TAO_Singleton_Manager::instance ()->at_exit_i (
    object,
    cleanup_hook,
    param,
    name);
}

TAO_END_VERSIONED_NAMESPACE_DECL