summaryrefslogtreecommitdiff
path: root/TAO/tao/New_Leader_Generator.h
blob: 17d4dd6cae13a3ed780c96c76d8fc970a7faba6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
// -*- C++ -*-

//=============================================================================
/**
 *  @file    New_Leader_Generator.h
 *
 *  $Id$
 *
 *  @author Irfan Pyarali
 */
// ===================================================================

#ifndef TAO_NEW_LEADER_GENERATOR_H
#define TAO_NEW_LEADER_GENERATOR_H

#include /**/ "ace/pre.h"

#include "tao/TAO_Export.h"
#include "tao/orbconf.h"

#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */

/**
 * @class TAO_New_Leader_Generator
 *
 * @brief Class for creating dynamic threads.
 *
 * \nosubgrouping
 *
 **/
class TAO_Export TAO_New_Leader_Generator
{
public:

  /// Destructor.
  virtual ~TAO_New_Leader_Generator (void);

  /// Leader/Follower class uses this method to notify the system that
  /// we are out of leaders.
  virtual void no_leaders_available (void) = 0;
};

#include /**/ "ace/post.h"

#endif /* TAO_NEW_LEADER_GENERATOR_H */