blob: f2a8c318fac78bc5df5738264dfbd03892364234 (
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
43
44
45
46
|
/**
* @file C++ Interface: AppSideReg
*
* @brief Declares interface for AppSideReg.
*
*/
#ifndef __APPSIDEREG_H_
#define __APPSIDEREG_H_
#include "ace/Task.h"
#include "monitorC.h"
#include "AppSideMonitor_Thread.h"
#include <string>
/**
* @class AppSideReg
*
* @brief Encapsulates AppSideReg
*/
class ACE_Barrier;
class TAO_LWFT_Export AppSideReg : public ACE_Task_Base
{
public:
AppSideReg(ACE_Barrier *ext_b, CORBA::ORB_ptr);
~AppSideReg();
virtual int svc (void);
void unregister_process (void);
private:
std::string HM_ior_;
std::auto_ptr <AppSideMonitor_Thread> monitor_;
HostMonitor_var hmvar_;
CORBA::ORB_var orb_;
ACE_Barrier *external_barrier_;
};
#endif /// __APPSIDEREG_H_
|