Changes to attempt to silence bcc64x
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / EC_Destroyer.h
blobfd43d0b6760e4408f2e529f5860f862f064cc711
1 /**
2 * @file EC_Destroyer.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
7 #ifndef TAO_PERF_RTEC_EC_DESTROYER_H
8 #define TAO_PERF_RTEC_EC_DESTROYER_H
10 #include "rtec_perf_export.h"
11 #include "orbsvcs/RtecEventChannelAdminC.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
14 # pragma once
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 /**
18 * @class EC_Destroyer
20 * @brief Implement a helper class to destroy a Real-time Event
21 * Channel.
23 class TAO_RTEC_Perf_Export EC_Destroyer
25 public:
26 /// Constructor
27 EC_Destroyer (RtecEventChannelAdmin::EventChannel_ptr ec);
29 /// Destructor
30 /**
31 * @todo This method could benefit from the error logging described
32 * in Servant_var.cpp
34 ~EC_Destroyer ();
36 private:
37 /// The event channel
38 RtecEventChannelAdmin::EventChannel_var ec_;
41 #endif /* TAO_PERF_RTEC_EC_DESTROYER_H */