~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/orbsvcs/orbsvcs/Event/EC_Scheduling_Strategy.h

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* -*- C++ -*- */
2
 
/**
3
 
 *  @file   EC_Scheduling_Strategy.h
4
 
 *
5
 
 *  EC_Scheduling_Strategy.h,v 1.15 2003/10/28 18:34:19 bala Exp
6
 
 *
7
 
 *  @author Carlos O'Ryan (coryan@cs.wustl.edu)
8
 
 *
9
 
 * Based on previous work by Tim Harrison (harrison@cs.wustl.edu) and
10
 
 * other members of the DOC group. More details can be found in:
11
 
 *
12
 
 * http://doc.ece.uci.edu/~coryan/EC/index.html
13
 
 */
14
 
 
15
 
#ifndef TAO_EC_SCHEDULING_STRATEGY_H
16
 
#define TAO_EC_SCHEDULING_STRATEGY_H
17
 
 
18
 
#include /**/ "ace/pre.h"
19
 
 
20
 
#include /**/ "event_export.h"
21
 
 
22
 
#include "orbsvcs/RtecBaseC.h"
23
 
#include "orbsvcs/RtecEventCommC.h"
24
 
 
25
 
#if !defined (ACE_LACKS_PRAGMA_ONCE)
26
 
# pragma once
27
 
#endif /* ACE_LACKS_PRAGMA_ONCE */
28
 
 
29
 
class TAO_EC_ProxyPushConsumer;
30
 
class TAO_EC_ProxyPushSupplier;
31
 
class TAO_EC_Supplier_Filter;
32
 
class TAO_EC_QOS_Info;
33
 
 
34
 
/**
35
 
 * @class TAO_EC_Scheduling_Strategy
36
 
 *
37
 
 * @brief Define the interface for the scheduling strategy
38
 
 *
39
 
 * The scheduling strategy controls the actions that the event
40
 
 * channel must take to update the dependency information in the
41
 
 * scheduler and to query the scheduler for the priority of each
42
 
 * event pushed by a supplier.
43
 
 * The base
44
 
 */
45
 
class TAO_RTEvent_Export TAO_EC_Scheduling_Strategy
46
 
{
47
 
public:
48
 
  /// Destructor
49
 
  virtual ~TAO_EC_Scheduling_Strategy (void);
50
 
 
51
 
  /// Add all the dependencies between @a supplier and @a consumer
52
 
  virtual void add_proxy_supplier_dependencies (
53
 
      TAO_EC_ProxyPushSupplier *supplier,
54
 
      TAO_EC_ProxyPushConsumer *consumer
55
 
      ACE_ENV_ARG_DECL) = 0;
56
 
 
57
 
  /// Schedule an event set and deliver them to the filter in the
58
 
  /// desired order and grouping.
59
 
  virtual void schedule_event (const RtecEventComm::EventSet &event,
60
 
                               TAO_EC_ProxyPushConsumer *consumer,
61
 
                               TAO_EC_Supplier_Filter *filter
62
 
                               ACE_ENV_ARG_DECL) = 0;
63
 
 
64
 
};
65
 
 
66
 
#if defined (__ACE_INLINE__)
67
 
#include "EC_Scheduling_Strategy.i"
68
 
#endif /* __ACE_INLINE__ */
69
 
 
70
 
#include /**/ "ace/post.h"
71
 
 
72
 
#endif /* TAO_EC_SCHEDULING_STRATEGY_H */