Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Exposed_Policies / Counter_i.cpp
blob287dace0441b2e77e2a1d3234916b41a9dfcf77f
1 #include "Counter_i.h"
3 Counter_Servant::Counter_Servant (Policy_Tester *policy_tester)
4 : count_ (0),
5 policy_tester_ (policy_tester)
9 // Counter Interface Methods Implementation.
10 void
11 Counter_Servant::increment ()
13 ++this->count_;
16 CORBA::Long
17 Counter_Servant::get_count ()
19 return this->count_;
22 void
23 Counter_Servant::reset ()
25 this->count_ = 0;
28 void
29 Counter_Servant::shutdown ()
31 this->policy_tester_->shutdown ();