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

« back to all changes in this revision

Viewing changes to TAO/performance-tests/Throughput/Receiver_Factory.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
 
// Receiver_Factory.h,v 1.4 2003/07/21 23:51:34 dhinton Exp
3
 
//
4
 
 
5
 
#ifndef THROUGHPUT_RECEIVER_FACTORY_H
6
 
#define THROUGHPUT_RECEIVER_FACTORY_H
7
 
#include /**/ "ace/pre.h"
8
 
 
9
 
#include "TestS.h"
10
 
 
11
 
#if defined (_MSC_VER)
12
 
# if (_MSC_VER >= 1200)
13
 
#  pragma warning(push)
14
 
# endif /* _MSC_VER >= 1200 */
15
 
# pragma warning (disable:4250)
16
 
#endif /* _MSC_VER */
17
 
 
18
 
/// Implement the Test::Receiver_Factory interface
19
 
class Receiver_Factory
20
 
  : public virtual POA_Test::Receiver_Factory
21
 
  , public virtual PortableServer::RefCountServantBase
22
 
{
23
 
public:
24
 
  /// Constructor
25
 
  Receiver_Factory (CORBA::ORB_ptr orb);
26
 
 
27
 
  // = The skeleton methods
28
 
  virtual Test::Receiver_ptr create_receiver (ACE_ENV_SINGLE_ARG_DECL)
29
 
    ACE_THROW_SPEC ((CORBA::SystemException));
30
 
 
31
 
  virtual void shutdown (ACE_ENV_SINGLE_ARG_DECL)
32
 
    ACE_THROW_SPEC ((CORBA::SystemException));
33
 
 
34
 
private:
35
 
  /// Keep a reference to the ORB in order to shutdown the app
36
 
  CORBA::ORB_var orb_;
37
 
};
38
 
 
39
 
#if defined(_MSC_VER) && (_MSC_VER >= 1200)
40
 
# pragma warning(pop)
41
 
#endif /* _MSC_VER */
42
 
 
43
 
#include /**/ "ace/post.h"
44
 
#endif /* THROUGHPUT_RECEIVER_FACTORY_H */