summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RTCORBA.h
blob: c23226addc646488c520e4028d646ed5ef495291 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
// $Id$

//=============================================================================
/**
 *  @file RTCORBA.h
 *
 *  $Id$
 *
 *   Takes care of the RT ORB loading on static build.
 *
 *
 *  @author  Angelo Corsaro <corsaro@cs.wustl.edu>
 *  @author  Frank Hunleth <fhunleth@cs.wustl.edu>
 */
//=============================================================================

#ifndef TAO_RTCORBA_H_
#define TAO_RTCORBA_H_
#include "ace/pre.h"

#include "rtcorba_export.h"
#include "tao/corbafwd.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

class TAO_RTCORBA_Export TAO_RTCORBA_Initializer
{
public:
  // Constructor.
  TAO_RTCORBA_Initializer (void);

  static int init (void);
  // Used to force the initialization of the ORB code.
};

#define TAO_RTCORBA_SAFE_INCLUDE
#include "RTCORBAC.h"
#undef TAO_RTCORBA_SAFE_INCLUDE

static TAO_RTCORBA_Initializer TAO_RTCORBA_initializer;

#include "ace/post.h"
#endif /* TAO_RTCORBA_H_ */