diff options
Diffstat (limited to 'TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.h')
-rw-r--r-- | TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.h b/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.h new file mode 100644 index 00000000000..4e26067d2a4 --- /dev/null +++ b/TAO/orbsvcs/performance-tests/RTEvent/lib/ORB_Shutdown.h @@ -0,0 +1,31 @@ +/** + * @file ORB_Shutdown.h + * + * $Id$ + * + * @author Carlos O'Ryan <coryan@uci.edu> + */ +#ifndef TAO_PERF_RTEC_ORB_SHUTDOWN_H +#define TAO_PERF_RTEC_ORB_SHUTDOWN_H +#include /**/ "ace/pre.h" + +#include "rtec_perf_export.h" +#include "tao/ORB.h" + +/** + * @class ORB_Shutdown + * + * @brief Helper functor to call the shutdown() operation in the ORB. + */ +class ORB_Shutdown +{ +public: + void operator() (CORBA::ORB_ptr orb); +}; + +#if defined(__ACE_INLINE__) +#include "ORB_Shutdown.inl" +#endif /* __ACE_INLINE__ */ + +#include /**/ "ace/post.h" +#endif /* TAO_PERF_RTEC_ORB_SHUTDOWN_H */ |