2 * @file RTEC_Initializer.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
7 #ifndef TAO_PERF_RTEC_RTEC_INITIALIZER_H
8 #define TAO_PERF_RTEC_RTEC_INITIALIZER_H
10 #include "rtec_perf_export.h"
12 #include "tao/RTCORBA/RTCORBA.h"
13 #include "tao/PortableServer/PortableServer.h"
15 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 #endif /* ACE_LACKS_PRAGMA_ONCE */
19 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
20 class TAO_EC_Event_Channel
;
21 TAO_END_VERSIONED_NAMESPACE_DECL
26 * @class RTEC_Initializer
28 * @brief Implement a helper method to initialize and instance of
29 * TAO's Real-time Event Service
31 class TAO_RTEC_Perf_Export RTEC_Initializer
34 /// Return a new event channel
35 static TAO_EC_Event_Channel
*create (PortableServer::POA_ptr consumer_poa
,
36 PortableServer::POA_ptr supplier_poa
,
37 RTCORBA_Setup
*rtcorba_setup
);
40 #endif /* TAO_PERF_RTEC_RTEC_INITIALIZER_H */