blob: 4b5cbba13e7bfd018aad150fc44a360037678813 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef NAMINGTASK_H
#define NAMINGTASK_H
#include "tao/corba.h"
#include "ace/Task.h"
class NamingTask : public ACE_Task<ACE_MT_SYNCH>
{
public:
NamingTask (int argc, ACE_TCHAR** argv);
virtual int svc();
void waitInit ();
void end();
private:
int argc_;
ACE_TCHAR **argv_;
CORBA::ORB_var orb_;
bool initialized_;
};
#endif
|