Merge pull request #2222 from jwillemsen/jwi-dllexportwarning
[ACE_TAO.git] / TAO / tests / Time_Policy_Custom / Custom_Time_Policy_Strategy.h
blob5230f79d341664aba40e3bb9c9a414f043c6d907
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Custom_Time_Policy_Strategy.h
7 * @author Martin Corino <mcorino@remedy.nl>
8 */
9 //=============================================================================
11 #ifndef CUSTOM_TIME_POLICY_STRATEGY_H
12 #define CUSTOM_TIME_POLICY_STRATEGY_H
14 #include /**/ "ace/pre.h"
16 #include "tao/orbconf.h"
18 #if (TAO_HAS_TIME_POLICY == 1)
20 #include "tao/Time_Policy_Strategy.h"
22 #include "ace/Time_Policy_T.h"
23 #include "ace/Service_Config.h"
25 #include "TPTest_Export.h"
27 /**
28 * @class Custom_Time_Policy_Strategy
30 class TPTEST_Export Custom_Time_Policy_Strategy
31 : public TAO_Time_Policy_Strategy
33 public:
34 virtual ~Custom_Time_Policy_Strategy ();
36 virtual ACE_Timer_Queue * create_timer_queue ();
38 virtual void destroy_timer_queue (ACE_Timer_Queue *tmq);
40 virtual ACE_Dynamic_Time_Policy_Base * get_time_policy ();
43 ACE_STATIC_SVC_DECLARE_EXPORT (TPTEST, Custom_Time_Policy_Strategy)
44 ACE_FACTORY_DECLARE (TPTEST, Custom_Time_Policy_Strategy)
46 #endif /* TAO_HAS_TIME_POLICY */
48 #include /**/ "ace/post.h"
50 #endif /* CUSTOM_TIME_POLICY_STRATEGY_H */