EC_Gateway_Sched.h

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 /**
00003  *  @file   EC_Gateway_Sched.h
00004  *
00005  *  EC_Gateway_Sched.h,v 1.12 2006/03/14 06:14:25 jtc Exp
00006  *
00007  *  @author Carlos O'Ryan (coryan@cs.wustl.edu)
00008  *
00009  * Based on previous work by Tim Harrison (harrison@cs.wustl.edu) and
00010  * other members of the DOC group. More details can be found in:
00011  *
00012  * http://doc.ece.uci.edu/~coryan/EC/index.html
00013  *
00014  *
00015  */
00016 
00017 #ifndef TAO_EC_GATEWAY_SCHED_H
00018 #define TAO_EC_GATEWAY_SCHED_H
00019 #include /**/ "ace/pre.h"
00020 
00021 #include "orbsvcs/Event/EC_Gateway_IIOP.h"
00022 #include "orbsvcs/RtecSchedulerC.h"
00023 #include "orbsvcs/Event/sched_event_export.h"
00024 
00025 // ****************************************************************
00026 
00027 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00028 
00029 /**
00030  * @class TAO_EC_Gateway_Sched
00031  *
00032  * @brief Extend the EC_Gateway_IIOP interface to support scheduling.
00033  */
00034 class TAO_RTSchedEvent_Export TAO_EC_Gateway_Sched : public TAO_EC_Gateway_IIOP
00035 {
00036 public:
00037   TAO_EC_Gateway_Sched (void);
00038   ~TAO_EC_Gateway_Sched (void);
00039 
00040   /**
00041    * To do its job this class requires to know the local and remote
00042    * ECs it will connect to; furthermore it also requires to build
00043    * RT_Infos for the local and remote schedulers.
00044    * @todo part of the RT_Info is hardcoded, we need to make it
00045    * parametric.
00046    */
00047   void init (RtecEventChannelAdmin::EventChannel_ptr supplier_ec,
00048              RtecEventChannelAdmin::EventChannel_ptr consumer_ec,
00049              RtecScheduler::Scheduler_ptr supplier_sched,
00050              RtecScheduler::Scheduler_ptr consumer_sched,
00051              const char* consumer_name,
00052              const char* supplier_name
00053              ACE_ENV_ARG_DECL);
00054 };
00055 
00056 TAO_END_VERSIONED_NAMESPACE_DECL
00057 
00058 #include /**/ "ace/post.h"
00059 #endif /* ACE_EC_GATEWAY_SCHED_H */

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