~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/performance-tests/RTEvent/lib/SyncScope_Setup.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/**
2
 
 * @file SyncScope_Setup.h
3
 
 *
4
 
 * SyncScope_Setup.h,v 1.3 2002/03/04 16:56:37 coryan Exp
5
 
 *
6
 
 * @author Carlos O'Ryan <coryan@uci.edu>
7
 
 */
8
 
 
9
 
#ifndef TAO_PERF_RTEC_SYNCSCOPE_SETUP_H
10
 
#define TAO_PERF_RTEC_SYNCSCOPE_SETUP_H
11
 
 
12
 
#include "rtec_perf_export.h"
13
 
#include "tao/Messaging/Messaging.h"
14
 
 
15
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
16
 
# pragma once
17
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
18
 
 
19
 
/**
20
 
 * @class SyncScope_Setup
21
 
 *
22
 
 * @brief Simplify the initialization of performance tests.
23
 
 *
24
 
 */
25
 
class TAO_RTEC_Perf_Export SyncScope_Setup
26
 
{
27
 
public:
28
 
  /// Constructor
29
 
  SyncScope_Setup (CORBA::ORB_ptr orb
30
 
                   ACE_ENV_ARG_DECL_WITH_DEFAULTS);
31
 
 
32
 
  SyncScope_Setup (CORBA::ORB_ptr orb,
33
 
                   Messaging::SyncScope value
34
 
                   ACE_ENV_ARG_DECL_WITH_DEFAULTS);
35
 
 
36
 
  /// Destructor
37
 
  /**
38
 
   * It is a no-op, but it shuts up g++
39
 
   */
40
 
  ~SyncScope_Setup (void);
41
 
 
42
 
private:
43
 
  /// Implement the shared code between both constructors
44
 
  void init (CORBA::ORB_ptr orb,
45
 
             Messaging::SyncScope value
46
 
             ACE_ENV_ARG_DECL);
47
 
};
48
 
 
49
 
#if defined(__ACE_INLINE__)
50
 
#include "SyncScope_Setup.inl"
51
 
#endif /* __ACE_INLINE__ */
52
 
 
53
 
#endif /* TAO_PERF_RTEC_SYNCSCOPE_SETUP_H */