2 //=============================================================================
6 * This class implements the Counter IDL interface.
8 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
10 //=============================================================================
16 // -- App. Specific Include --
18 #include "Policy_Tester.h"
21 class Counter_Servant
: public POA_Counter
24 // = Ctor-Dtor Declaration
25 Counter_Servant (Policy_Tester
*policy_tester
);
26 virtual ~Counter_Servant () = default;
28 // = Counter Interface Methods Overloading.
30 virtual void increment ();
32 virtual CORBA::Long
get_count ();
34 virtual void reset ();
36 virtual void shutdown ();
40 Policy_Tester
*policy_tester_
;
43 #endif /*COUNTER_I_H_*/