EC_QOS_Info.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 
00003 /**
00004  *  @file   EC_QOS_Info.h
00005  *
00006  *  EC_QOS_Info.h,v 1.22 2006/03/15 07:52:22 jtc Exp
00007  *
00008  *  @author Carlos O'Ryan (coryan@cs.wustl.edu)
00009  *
00010  * Based on previous work by Tim Harrison (harrison@cs.wustl.edu) and
00011  * other members of the DOC group. More details can be found in:
00012  *
00013  * http://doc.ece.uci.edu/~coryan/EC/index.html
00014  */
00015 
00016 #ifndef TAO_EC_QOS_INFO_H
00017 #define TAO_EC_QOS_INFO_H
00018 
00019 #include /**/ "ace/pre.h"
00020 
00021 #include "orbsvcs/RtecBaseC.h"
00022 
00023 #include /**/ "orbsvcs/Event/event_serv_export.h"
00024 
00025 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00026 # pragma once
00027 #endif /* ACE_LACKS_PRAGMA_ONCE */
00028 
00029 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00030 
00031 /**
00032  * @class TAO_EC_QOS_Info
00033  *
00034  * @brief A representation of QoS information for the event channel
00035  * filters.
00036  *
00037  * Filters compute QOS information for real-time dispatching, this
00038  * class encapsulates that information.
00039  * This first implementation is just a place-holder.
00040  */
00041 class TAO_RTEvent_Serv_Export TAO_EC_QOS_Info
00042 {
00043 public:
00044   /// Constructor
00045   TAO_EC_QOS_Info (void);
00046 
00047   /// Copy constructor, it does the obvious thing, but if it is not
00048   /// here the HP/aCC compiler breaks.
00049   TAO_EC_QOS_Info (const TAO_EC_QOS_Info &rhs);
00050 
00051   RtecBase::handle_t rt_info;
00052   RtecBase::Preemption_Priority_t preemption_priority;
00053 
00054   /**
00055    * Timer ids propagate their identity using this field, notice that
00056    * they cannot use the event type because there could be multiple
00057    * timeouts for the same consumer.
00058    */
00059   long timer_id_;
00060 };
00061 
00062 TAO_END_VERSIONED_NAMESPACE_DECL
00063 
00064 #if defined (__ACE_INLINE__)
00065 #include "orbsvcs/Event/EC_QOS_Info.i"
00066 #endif /* __ACE_INLINE__ */
00067 
00068 #include /**/ "ace/post.h"
00069 
00070 #endif /* TAO_EC_EVENT_CHANNEL_H */

Generated on Thu Nov 9 13:11:09 2006 for TAO_RTEvent by doxygen 1.3.6