Updated logging to include the class/method so that it is more obvious where these...
[ACE_TAO.git] / TAO / tao / System_Time_Policy_Strategy.h
blobb8b52470f0c590dc4a84982af6a101bb77fd22b7
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file System_Time_Policy_Strategy.h
7 * @author Martin Corino <mcorino@remedy.nl>
8 */
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)
19 # 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
33 /**
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
41 public:
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);
50 private:
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 */