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

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/orbsvcs/FaultTolerance/FT_ServerService_Activate.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
 
/**
3
 
 * @file FT_ServerService_Activate.h
4
 
 *
5
 
 * FT_ServerService_Activate.h,v 1.2 2003/11/17 22:56:13 wilson_d Exp
6
 
 *
7
 
 * A concrete implementation of a service callback
8
 
 *
9
 
 * @author Bala Natarajan <bala@cs.wustl.edu>
10
 
 */
11
 
//=============================================================================
12
 
 
13
 
#ifndef TAO_FT_SERVERACTIVATE_H
14
 
#define TAO_FT_SERVERACTIVATE_H
15
 
#include /**/ "ace/pre.h"
16
 
 
17
 
#include "FT_ServerORB_export.h"
18
 
 
19
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
20
 
# pragma once
21
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
22
 
 
23
 
#include "tao/Services_Activate.h"
24
 
#include "ace/Service_Config.h"
25
 
 
26
 
class TAO_Service_Callbacks;
27
 
 
28
 
// Forward declarations
29
 
/**
30
 
 * @class TAO_FT_ServerService_Activate
31
 
 *
32
 
 * @brief A class to dynamically load the FT callback implementations in
33
 
 * to the ORB.
34
 
 *
35
 
 */
36
 
class TAO_FT_ServerORB_Export TAO_FT_ServerService_Activate : public ACE_Service_Object
37
 
{
38
 
 
39
 
public:
40
 
  /// Constructor
41
 
  TAO_FT_ServerService_Activate (void);
42
 
 
43
 
  /// The destructor
44
 
  virtual ~TAO_FT_ServerService_Activate (void);
45
 
 
46
 
  /// Used to force the initialization.
47
 
  static int Initializer (void);
48
 
 
49
 
};
50
 
 
51
 
ACE_STATIC_SVC_DECLARE (TAO_FT_ServerService_Activate)
52
 
ACE_FACTORY_DECLARE (TAO_FT_ServerORB, TAO_FT_ServerService_Activate)
53
 
 
54
 
#if defined(ACE_HAS_BROKEN_STATIC_CONSTRUCTORS)
55
 
 
56
 
typedef int (*TAO_Module_Initializer) (void);
57
 
 
58
 
static TAO_Module_Initializer
59
 
TAO_FT_Requires_ServerService_Activate = &TAO_FT_ServerService_Activate::Initializer;
60
 
 
61
 
#else
62
 
 
63
 
static int
64
 
TAO_FT_Requires_ServerService_Activate = TAO_FT_ServerService_Activate::Initializer ();
65
 
 
66
 
#endif /* ACE_HAS_BROKEN_STATIC_CONSTRUCTORS */
67
 
 
68
 
#include /**/ "ace/post.h"
69
 
#endif /*TAO_FT_ACTIVATE_H*/