3 //=============================================================================
5 * @file System_Time_Policy_Strategy.h
7 * @author Martin Corino <mcorino@remedy.nl>
9 //=============================================================================
11 #ifndef SYSTEM_TIME_POLICY_STRATEGY_H
12 #define SYSTEM_TIME_POLICY_STRATEGY_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/orbconf.h"
24 #if (TAO_HAS_TIME_POLICY == 1)
26 #include "tao/Time_Policy_Strategy.h"
28 #include "ace/Time_Policy_T.h"
29 #include "ace/Service_Config.h"
31 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
34 * @class TAO_System_Time_Policy_Strategy
36 * @brief Time policy strategy providing Highres time.
38 class TAO_Export TAO_System_Time_Policy_Strategy
39 : public TAO_Time_Policy_Strategy
42 virtual ~TAO_System_Time_Policy_Strategy ();
44 virtual ACE_Timer_Queue
* create_timer_queue (void);
46 virtual void destroy_timer_queue (ACE_Timer_Queue
*tmq
);
48 virtual ACE_Dynamic_Time_Policy_Base
* get_time_policy (void);
51 static ACE_Time_Policy_T
<ACE_System_Time_Policy
> time_policy_
;
54 ACE_STATIC_SVC_DECLARE_EXPORT (TAO
, TAO_System_Time_Policy_Strategy
)
55 ACE_FACTORY_DECLARE (TAO
, TAO_System_Time_Policy_Strategy
)
57 TAO_END_VERSIONED_NAMESPACE_DECL
59 #endif /* TAO_HAS_TIME_POLICY */
61 #include /**/ "ace/post.h"
63 #endif /* SYSTEM_TIME_POLICY_STRATEGY_H */