Merge pull request #1844 from jrw972/monterey
[ACE_TAO.git] / TAO / tests / Exposed_Policies / Counter_i.h
blobc884f597b8376c6a361acaae5386399ae897c94b
2 //=============================================================================
3 /**
4 * @file Counter_i.h
6 * This class implements the Counter IDL interface.
8 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
9 */
10 //=============================================================================
13 #ifndef COUNTER_I_H_
14 #define COUNTER_I_H_
16 // -- App. Specific Include --
17 #include "CounterS.h"
18 #include "Policy_Tester.h"
21 class Counter_Servant : public POA_Counter
23 public:
25 // = Ctor-Dtor Declaration
27 Counter_Servant (Policy_Tester *policy_tester);
28 virtual ~Counter_Servant (void);
30 // = Counter Interface Methods Overloading.
32 virtual void increment (void);
34 virtual CORBA::Long get_count (void);
36 virtual void reset (void);
38 virtual void shutdown (void);
40 protected:
41 CORBA::Long count_;
42 Policy_Tester *policy_tester_;
45 #endif /*COUNTER_I_H_*/