00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file LF_Strategy_Null.h 00006 * 00007 * $Id: LF_Strategy_Null.h 71473 2006-03-10 07:19:20Z jtc $ 00008 * 00009 * @author Carlos O'Ryan <coryan@uci.edu> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_LF_STRATEGY_NULL_H 00014 #define TAO_LF_STRATEGY_NULL_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "tao/Strategies/strategies_export.h" 00018 #include "tao/LF_Strategy.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00025 00026 /** 00027 * @class TAO_LF_Strategy_Null 00028 * 00029 * @brief A concrete TAO_LF_Strategy for ORB configurations that do 00030 * not use the Leader/Followers event loop. 00031 */ 00032 class TAO_Strategies_Export TAO_LF_Strategy_Null : public TAO_LF_Strategy 00033 { 00034 public: 00035 /// Constructor 00036 TAO_LF_Strategy_Null (void); 00037 00038 //@{ 00039 /** @name Virtual Methods 00040 * 00041 * Please check the documentation in TAO_LF_Strategy 00042 */ 00043 virtual ~TAO_LF_Strategy_Null (void); 00044 00045 virtual void set_upcall_thread (TAO_Leader_Follower &); 00046 virtual int set_event_loop_thread (ACE_Time_Value *max_wait_time, 00047 TAO_Leader_Follower &); 00048 virtual void reset_event_loop_thread (int call_reset, 00049 TAO_Leader_Follower &); 00050 //@} 00051 }; 00052 00053 TAO_END_VERSIONED_NAMESPACE_DECL 00054 00055 #if defined (__ACE_INLINE__) 00056 # include "tao/Strategies/LF_Strategy_Null.inl" 00057 #endif /* __ACE_INLINE__ */ 00058 00059 #include /**/ "ace/post.h" 00060 #endif /* TAO_LF_STRATEGY_NULL_H */