3
* @file EC_Scheduling_Strategy.h
5
* EC_Scheduling_Strategy.h,v 1.15 2003/10/28 18:34:19 bala Exp
7
* @author Carlos O'Ryan (coryan@cs.wustl.edu)
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:
12
* http://doc.ece.uci.edu/~coryan/EC/index.html
15
#ifndef TAO_EC_SCHEDULING_STRATEGY_H
16
#define TAO_EC_SCHEDULING_STRATEGY_H
18
#include /**/ "ace/pre.h"
20
#include /**/ "event_export.h"
22
#include "orbsvcs/RtecBaseC.h"
23
#include "orbsvcs/RtecEventCommC.h"
25
#if !defined (ACE_LACKS_PRAGMA_ONCE)
27
#endif /* ACE_LACKS_PRAGMA_ONCE */
29
class TAO_EC_ProxyPushConsumer;
30
class TAO_EC_ProxyPushSupplier;
31
class TAO_EC_Supplier_Filter;
32
class TAO_EC_QOS_Info;
35
* @class TAO_EC_Scheduling_Strategy
37
* @brief Define the interface for the scheduling strategy
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.
45
class TAO_RTEvent_Export TAO_EC_Scheduling_Strategy
49
virtual ~TAO_EC_Scheduling_Strategy (void);
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;
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;
66
#if defined (__ACE_INLINE__)
67
#include "EC_Scheduling_Strategy.i"
68
#endif /* __ACE_INLINE__ */
70
#include /**/ "ace/post.h"
72
#endif /* TAO_EC_SCHEDULING_STRATEGY_H */