blob: 945dbbbd89507bae304715850860e24b9028b904 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
|
/* -*- C++ -*- */
// $Id$
//
// ============================================================================
//
// = LIBRARY
// ORBSVCS Real-time Event Channel
//
// = FILENAME
// EC_Event_Channel
//
// = AUTHOR
// Carlos O'Ryan (coryan@cs.wustl.edu)
//
// = CREDITS
// 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://www.cs.wustl.edu/~schmidt/oopsla.ps.gz
// http://www.cs.wustl.edu/~schmidt/JSAC-98.ps.gz
//
// ============================================================================
#ifndef TAO_EC_QOS_INFO_H
#include "ace/pre.h"
#define TAO_EC_QOS_INFO_H
#include "orbsvcs/RtecSchedulerC.h"
#include "event_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
class TAO_RTEvent_Export TAO_EC_QOS_Info
{
// = TITLE
// A representation of QoS information for the event channel
// filters.
//
// = DESCRIPTION
// Filters compute QOS information for real-time dispatching, this
// class encapsulates that information.
// This first implementation is just a place-holder.
//
public:
TAO_EC_QOS_Info (void);
// constructor
TAO_EC_QOS_Info (const TAO_EC_QOS_Info &rhs);
// copy constructor, it does the obvious thing, but if it is not
// here the HP/aCC compiler breaks.
RtecScheduler::handle_t rt_info;
RtecScheduler::Preemption_Priority_t preemption_priority;
long timer_id_;
// Timer ids propagate their identity using this field, notice that
// they cannot use the event type because there could be multiple
// timeouts for the same consumer.
};
#if defined (__ACE_INLINE__)
#include "EC_QOS_Info.i"
#endif /* __ACE_INLINE__ */
#include "ace/post.h"
#endif /* TAO_EC_EVENT_CHANNEL_H */
|