Revert "Use a variable on the stack to not have a temporary in the call"
[ACE_TAO.git] / TAO / tao / New_Leader_Generator.h
blobe77d57587aae6c2c091c9b322e3743c263c2005c
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file New_Leader_Generator.h
7 * @author Irfan Pyarali
8 */
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)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 /**
26 * @class TAO_New_Leader_Generator
28 * @brief Class for creating dynamic threads.
30 * \nosubgrouping
32 **/
33 class TAO_Export TAO_New_Leader_Generator
35 public:
36 /// Destructor.
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 */