diff options
Diffstat (limited to 'Kokyu/Default_Dispatcher_Impl.h')
-rw-r--r-- | Kokyu/Default_Dispatcher_Impl.h | 74 |
1 files changed, 0 insertions, 74 deletions
diff --git a/Kokyu/Default_Dispatcher_Impl.h b/Kokyu/Default_Dispatcher_Impl.h deleted file mode 100644 index dab89df9119..00000000000 --- a/Kokyu/Default_Dispatcher_Impl.h +++ /dev/null @@ -1,74 +0,0 @@ -/* -*- C++ -*- */ -/** - * @file Default_Dispatcher_Impl.h - * - * $Id$ - * - * @author Venkita Subramonian (venkita@cs.wustl.edu) - * - * Based on previous work by Tim Harrison (harrison@cs.wustl.edu), - * Chris Gill, Carlos O'Ryan and other members of the DOC group. - */ - -#ifndef DEFAULT_DISPATCHER_IMPL_H -#define DEFAULT_DISPATCHER_IMPL_H -#include "ace/pre.h" -#include "ace/OS.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "ace/Task.h" -#include "ace/Message_Block.h" -#include "ace/Auto_Ptr.h" - -#include "kokyu_export.h" -#include "Kokyu.h" -#include "Dispatcher_Impl.h" -#include "Dispatcher_Task.h" - -namespace Kokyu -{ - class Default_Dispatcher_Impl : public Dispatcher_Impl - { - public: - virtual ~Default_Dispatcher_Impl (); - int activate (); - - private: - int init_i (const ConfigInfoSet&); - int dispatch_i (const Dispatch_Command*, - const QoSDescriptor&); - int shutdown_i (); - Dispatcher_Task* find_task_with_preemption_prio (Priority_t); - - private: - typedef auto_ptr<Dispatcher_Task> Dispatcher_Task_Auto_Ptr; - ACE_Auto_Array_Ptr<Dispatcher_Task_Auto_Ptr> tasks_; - int ntasks_; - ConfigInfoSet curr_config_info_; - }; - - // **************************************************************** - - class Shutdown_Task_Command : public Dispatch_Command - { - public: - /// Constructor - Shutdown_Task_Command (ACE_Allocator *mb_allocator = 0); - - /// Command callback - int execute (); - }; - - // **************************************************************** - -} //end of namespace - -#if defined (__ACE_INLINE__) -#include "Default_Dispatcher_Impl.i" -#endif /* __ACE_INLINE__ */ - -#include "ace/post.h" -#endif /* DEFAULT_DISPATCHER_IMPL_H */ |