diff options
Diffstat (limited to 'TAO/CIAO/tools/RTComponentServer/ComponentServer_Task.h')
-rw-r--r-- | TAO/CIAO/tools/RTComponentServer/ComponentServer_Task.h | 82 |
1 files changed, 0 insertions, 82 deletions
diff --git a/TAO/CIAO/tools/RTComponentServer/ComponentServer_Task.h b/TAO/CIAO/tools/RTComponentServer/ComponentServer_Task.h deleted file mode 100644 index bc4561cbaf2..00000000000 --- a/TAO/CIAO/tools/RTComponentServer/ComponentServer_Task.h +++ /dev/null @@ -1,82 +0,0 @@ -// -*- C++ -*- - -//============================================================================= -/** - * @file ComponentServer_Task.h - * - * $Id$ - * - * An ACE_Task subclass that manages the RT-ORB thread for CIAO's RT - * ComponentServer. - * - * @author Nanbor Wang <nanbor@cs.wustl.edu> - */ -//============================================================================= - - -#ifndef CIAO_COMPONENTSERVER_TASK_H -#define CIAO_COMPONENTSERVER_TASK_H -#include /**/ "ace/pre.h" - -#include "tao/ORB_Core.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include "tao/ORB.h" -#include "ace/Task.h" -#include "ace/SString.h" - -namespace CIAO -{ - /** - * @class ComponentServer_task - * - * @brief An ACE_Task subclass that manages the RT-ORB therad - */ - class ComponentServer_Task - : public virtual ACE_Task_Base - { - public: - // We can add a rt-task configuration facility here. - typedef struct _options - { - // default ctor. - _options () : use_callback_ (1) {} - - // The name of the file to write stringified IOR to. - ACE_CString ior_output_filename_; - - // Stringified IOR of a CIAO's callback object. - ACE_CString callback_ior_; - - // CIAO ComponentServer uses the callback object to pass it's - // own object reference back to ServerActivator. - int use_callback_; - - // RTCAD extension filename. - ACE_CString rtcad_filename_; - } Options; - - ComponentServer_Task (ACE_Thread_Manager &thread_manager, - CORBA::ORB_ptr orb, - Options &opts); - - int svc (void); - - protected: - CORBA::ORB_var orb_; - - // ComponentServer config options. - Options options_; - }; - -} - -#if defined (__ACE_INLINE__) -# include "ComponentServer_Task.inl" -#endif /* __ACE_INLINE__ */ - -#include /**/ "ace/post.h" -#endif /* CIAO_COMPONENTSERVER_TASK_H */ |