blob: d3ada78bcad693a877f4a63f377f52d4c9e8f472 (
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
|
// $Id$
#ifndef DLLORB_H
#define DLLORB_H
#include "ace/Task.h"
#include "tao/ORB.h"
#include "tao/PortableServer/PortableServer.h"
#include "bug2926_export.h"
ACE_BEGIN_VERSIONED_NAMESPACE_DECL
class ACE_Thread_Barrier;
ACE_END_VERSIONED_NAMESPACE_DECL
class bug2926_Export DllORB: public ACE_Task_Base
{
public:
DllORB ();
virtual ~DllORB ();
inline CORBA::ORB_ptr orb () const
{
return CORBA::ORB::_duplicate (mv_orb_.in ());
}
virtual int init (int argc, ACE_TCHAR *argv[]);
virtual int fini ();
protected:
virtual int svc ();
private:
unsigned int failPrePostInit_;
ACE_Thread_Barrier* mp_barrier_;
CORBA::ORB_var mv_orb_;
PortableServer::POA_var mv_rootPOA_;
PortableServer::POAManager_var mv_poaManager_;
};
ACE_FACTORY_DECLARE (bug2926, DllORB)
#endif /* DLLORB_H */
|