Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / orbsvcs / performance-tests / RTEvent / lib / SyncScope_Setup.h
blob818bd412fb7e197121b9a891a6f52fc4564a1119
1 /**
2 * @file SyncScope_Setup.h
4 * @author Carlos O'Ryan <coryan@uci.edu>
5 */
7 #ifndef TAO_PERF_RTEC_SYNCSCOPE_SETUP_H
8 #define TAO_PERF_RTEC_SYNCSCOPE_SETUP_H
10 #include "rtec_perf_export.h"
11 #include "tao/Messaging/Messaging.h"
13 #if !defined (ACE_LACKS_PRAGMA_ONCE)
14 # pragma once
15 #endif /* ACE_LACKS_PRAGMA_ONCE */
17 /**
18 * @class SyncScope_Setup
20 * @brief Simplify the initialization of performance tests.
22 class TAO_RTEC_Perf_Export SyncScope_Setup
24 public:
25 /// Constructor
26 SyncScope_Setup (CORBA::ORB_ptr orb);
28 SyncScope_Setup (CORBA::ORB_ptr orb,
29 Messaging::SyncScope value);
31 /// Destructor
32 /**
33 * It is a no-op, but it shuts up g++
35 ~SyncScope_Setup ();
37 private:
38 /// Implement the shared code between both constructors
39 void init (CORBA::ORB_ptr orb,
40 Messaging::SyncScope value);
43 #endif /* TAO_PERF_RTEC_SYNCSCOPE_SETUP_H */