/** * @file SyncScope_Setup.h * * @author Carlos O'Ryan */ #ifndef TAO_PERF_RTEC_SYNCSCOPE_SETUP_H #define TAO_PERF_RTEC_SYNCSCOPE_SETUP_H #include "rtec_perf_export.h" #include "tao/Messaging/Messaging.h" #if !defined (ACE_LACKS_PRAGMA_ONCE) # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ /** * @class SyncScope_Setup * * @brief Simplify the initialization of performance tests. */ class TAO_RTEC_Perf_Export SyncScope_Setup { public: /// Constructor SyncScope_Setup (CORBA::ORB_ptr orb); SyncScope_Setup (CORBA::ORB_ptr orb, Messaging::SyncScope value); /// Destructor /** * It is a no-op, but it shuts up g++ */ ~SyncScope_Setup (void); private: /// Implement the shared code between both constructors void init (CORBA::ORB_ptr orb, Messaging::SyncScope value); }; #endif /* TAO_PERF_RTEC_SYNCSCOPE_SETUP_H */