summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/ImplRepo/double_start/Test_i.h
blob: 4012e77da02f7ad0a6164f4c658946d122652dc2 (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
/* -*- C++ -*-  */

#ifndef TEST_I_H_
#define TEST_I_H_

#include "TestS.h"

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

class  Test_i : public virtual POA_Test
{
public:
  //Constructor
  Test_i (CORBA::ORB_ptr orb);

  //Destructor
  virtual ~Test_i ();

  virtual void arm (void);

  virtual void trigger (void);

  int exit_code () const;

private:
  CORBA::ORB_var orb_;
  bool armed_;
  int exit_code_;
};

#endif /* TEST_I_H_ */