summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/performance-tests/RTEvent/lib/Shutdown.h
blob: b50a2195ee45a676e31c5cbe267f1bfb5a953ef9 (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
/**
 * @file Shutdown.h
 *
 * @author Carlos O'Ryan <coryan@uci.edu>
 */
#ifndef TAO_PERF_RTEC_SHUTDOWN_H
#define TAO_PERF_RTEC_SHUTDOWN_H

#include "ace/config-all.h"
#include "ace/CORBA_macros.h"

/**
 * @class Shutdown
 *
 * @brief Helper functor to call the shutdown() method of a class.
 */
template<class Client>
class Shutdown
{
public:
  void operator() (Client *client);
};

#if defined(__ACE_INLINE__)
#include "Shutdown.inl"
#endif /* __ACE_INLINE__ */

#include "Shutdown.cpp"

#endif /* TAO_PERF_RTEC_SHUTDOWN_H */