summaryrefslogtreecommitdiff
path: root/TAO/tests/Bug_2677_Regression/DllORB.h
blob: 0a18875b1ff7c583c1f166331a519864b9919cdd (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
#ifndef DLLORB_H
#define DLLORB_H

#include "ace/Service_Object.h"
#include "tao/ORB.h"
#include "tao/PortableServer/PortableServer.h"
#include "bug_2677_regression_export.h"

class bug_2677_regression_Export DllORB: public ACE_Service_Object
{
public:
  DllORB (void);
  virtual ~DllORB (void);

  CORBA::ORB_ptr orb (void) const;

  virtual int init (int argc, ACE_TCHAR *argv[]);

  virtual int fini ();

private:
  unsigned int                   failPrePostInit_;
  CORBA::ORB_var                 mv_orb_;
  PortableServer::POA_var        mv_rootPOA_;
  PortableServer::POAManager_var mv_poaManager_;
};

ACE_FACTORY_DECLARE (bug_2677_regression, DllORB)

#endif /* DLLORB_H */