blob: 7065e9bea6d7a50a0ff417b0e78b1763de6fcf3d (
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
|
// $Id$
#ifndef METRICS_UPCALL_MONITOR_T_CPP
#define METRICS_UPCALL_MONITOR_T_CPP
#include "Metrics_UpcallMonitor_T.h"
#if !defined (__ACE_INLINE__)
#include "Metrics_UpcallMonitor_T.i"
#endif /* __ACE_INLINE__ */
// Virtual destructor: destroy actual consumer if we own it.
template <class ACE_LOCK, class ALLOCATOR>
TAO_Metrics_UpcallMonitorAdapter<ACE_LOCK, ALLOCATOR>::
~TAO_Metrics_UpcallMonitorAdapter ()
{
if (adapter_owns_consumer_)
{
delete (& consumer_);
}
}
#endif /* METRICS_UPCALL_MONITOR_T_CPP */
|