blob: 358822d83c80fd0ed9adebb13de509f4609d1ad8 (
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
47
48
49
|
// -*- C++ -*-
//=============================================================================
/**
* @file middle_i.h
*
* This class implements the Time IDL interface.
*
*
* @author Darrell Brunsch <brunsch@cs.wustl.edu>
*/
//=============================================================================
#ifndef MIDDLE_I_H
#define MIDDLE_I_H
#include "ThreeTierC.h"
#include "ThreeTierS.h"
/**
* @class Middle_i:
*
* @brief ThreeTier Object Implementation as middle
*
* The middle implementaiton of the ThreeTier interface simply
* forwards requests to
*/
class Middle_i: public POA_ThreeTier
{
public:
Middle_i (CORBA::ORB_ptr orb, ThreeTier_ptr target);
~Middle_i ();
bool parse_args (int argc, ACE_TCHAR* argv[] );
//////////////////////////////////////
/// Implement the ThreeTier interface
virtual void tick ();
virtual void tock ();
virtual ::CORBA::ULong tickCount ();
virtual ::CORBA::ULong tockCount ();
virtual void shutdown ();
private:
CORBA::ORB_var orb_;
ThreeTier_var target_;
};
#endif /* MIDDLE_I_H */
|