3 //=============================================================================
5 * @file New_Leader_Generator.h
7 * @author Irfan Pyarali
9 // ===================================================================
11 #ifndef TAO_NEW_LEADER_GENERATOR_H
12 #define TAO_NEW_LEADER_GENERATOR_H
14 #include /**/ "ace/pre.h"
16 #include /**/ "tao/TAO_Export.h"
17 #include "tao/orbconf.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 * @class TAO_New_Leader_Generator
28 * @brief Class for creating dynamic threads.
33 class TAO_Export TAO_New_Leader_Generator
37 virtual ~TAO_New_Leader_Generator ();
39 /// Leader/Follower class uses this method to notify the system that
40 /// we are out of leaders.
41 virtual bool no_leaders_available () = 0;
44 TAO_END_VERSIONED_NAMESPACE_DECL
46 #include /**/ "ace/post.h"
48 #endif /* TAO_NEW_LEADER_GENERATOR_H */