blob: c1f296e3dc520620f69ddb01f262f512dfe0ff6f (
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
48
49
50
51
52
53
54
|
// -*- C++ -*-
/**
* @file EC_Gateway_Sched.h
*
* @author Carlos O'Ryan (coryan@cs.wustl.edu)
*
* Based on previous work by Tim Harrison (harrison@cs.wustl.edu) and
* other members of the DOC group. More details can be found in:
*
* http://doc.ece.uci.edu/~coryan/EC/index.html
*/
#ifndef TAO_EC_GATEWAY_SCHED_H
#define TAO_EC_GATEWAY_SCHED_H
#include /**/ "ace/pre.h"
#include "orbsvcs/Event/EC_Gateway_IIOP.h"
#include "orbsvcs/RtecSchedulerC.h"
#include "orbsvcs/Event/sched_event_export.h"
// ****************************************************************
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/**
* @class TAO_EC_Gateway_Sched
*
* @brief Extend the EC_Gateway_IIOP interface to support scheduling.
*/
class TAO_RTSchedEvent_Export TAO_EC_Gateway_Sched : public TAO_EC_Gateway_IIOP
{
public:
TAO_EC_Gateway_Sched ();
~TAO_EC_Gateway_Sched ();
/**
* To do its job this class requires to know the local and remote
* ECs it will connect to; furthermore it also requires to build
* RT_Infos for the local and remote schedulers.
* @todo part of the RT_Info is hardcoded, we need to make it
* parametric.
*/
void init (RtecEventChannelAdmin::EventChannel_ptr supplier_ec,
RtecEventChannelAdmin::EventChannel_ptr consumer_ec,
RtecScheduler::Scheduler_ptr supplier_sched,
RtecScheduler::Scheduler_ptr consumer_sched,
const char* consumer_name,
const char* supplier_name);
};
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* ACE_EC_GATEWAY_SCHED_H */
|