summaryrefslogtreecommitdiff
path: root/TAO/tests/Object_Loader/Test_i.h
blob: 58548678371ecb21f83ca04cbf72df4e44747b43 (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

//=============================================================================
/**
 *  @file   Test_i.h
 *
 *  @author Carlos O'Ryan
 */
//=============================================================================


#ifndef TAO_OBJECT_LOADER_TEST_I_H
#define TAO_OBJECT_LOADER_TEST_I_H

#include "TestS.h"
#include "OLT_Export.h"

/**
 * @class Test_i
 *
 * @brief Implement the Test interface
 */
class OLT_Export Test_i : public POA_Test
{
public:
  /// ctor
  Test_i (PortableServer::POA_ptr poa);

  CORBA::Long instance_count ();

  void destroy ();

  PortableServer::POA_ptr _default_POA ();

private:
  /// The default POA used for this object
  PortableServer::POA_var poa_;

  static CORBA::Long instance_count_;
};

#endif /* TAO_OBJECT_LOADER_TEST_I_H */