diff options
Diffstat (limited to 'CIAO/tests/DAnCE/PartialShutdown/Component3/Component3_exec.h')
-rw-r--r-- | CIAO/tests/DAnCE/PartialShutdown/Component3/Component3_exec.h | 208 |
1 files changed, 0 insertions, 208 deletions
diff --git a/CIAO/tests/DAnCE/PartialShutdown/Component3/Component3_exec.h b/CIAO/tests/DAnCE/PartialShutdown/Component3/Component3_exec.h deleted file mode 100644 index 57b4ec5d706..00000000000 --- a/CIAO/tests/DAnCE/PartialShutdown/Component3/Component3_exec.h +++ /dev/null @@ -1,208 +0,0 @@ -// -*- C++ -*- -/** - * Code generated by the The ACE ORB (TAO) IDL Compiler v2.0.0 - * TAO and the TAO IDL Compiler have been developed by: - * Center for Distributed Object Computing - * Washington University - * St. Louis, MO - * USA - * http://www.cs.wustl.edu/~schmidt/doc-center.html - * and - * Distributed Object Computing Laboratory - * University of California at Irvine - * Irvine, CA - * USA - * and - * Institute for Software Integrated Systems - * Vanderbilt University - * Nashville, TN - * USA - * http://www.isis.vanderbilt.edu/ - * - * Information about TAO is available at: - * http://www.dre.vanderbilt.edu/~schmidt/TAO.html - **/ -#ifndef CIAO_COMPONENT3_EXEC_UTY3AH_H_ -#define CIAO_COMPONENT3_EXEC_UTY3AH_H_ - -#include /**/ "ace/pre.h" - -#include "Component3EC.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include /**/ "Component3_exec_export.h" -#include "tao/LocalObject.h" - -#include <vector> - -namespace CIAO_PartialShutdown_Component3_Impl -{ - class Component3_exec_i; - - /** - * WriteTicker - */ - - class WriteTicker : - public ACE_Event_Handler - { - public: - WriteTicker (Component3_exec_i &callback); - int handle_timeout (const ACE_Time_Value &, const void *); - private: - /// Maintains a handle that actually process the event - Component3_exec_i &callback_; - }; - - /** - * ReadTicker - */ - - class ReadTicker : - public ACE_Event_Handler - { - public: - ReadTicker (Component3_exec_i &callback); - int handle_timeout (const ACE_Time_Value &, const void *); - private: - /// Maintains a handle that actually process the event - Component3_exec_i &callback_; - }; - - - /** - * Provider Executor Implementation Class: comp_3_writer_exec_i - */ - - class comp_3_writer_exec_i - : public virtual ::PartialShutdown::CCM_Writer, - public virtual ::CORBA::LocalObject - { - public: - comp_3_writer_exec_i ( - ::PartialShutdown::CCM_Component3_Context_ptr ctx, - Component3_exec_i & callback); - virtual ~comp_3_writer_exec_i (void); - - //@{ - /** Operations and attributes from PartialShutdown::Writer. */ - - virtual - void write_line (const char * line); - //@} - - private: - ::PartialShutdown::CCM_Component3_Context_var ciao_context_; - Component3_exec_i & callback_; - }; - - /** - * Provider Executor Implementation Class: comp_3_reader_exec_i - */ - - class comp_3_reader_exec_i - : public virtual ::PartialShutdown::CCM_Reader, - public virtual ::CORBA::LocalObject - { - public: - comp_3_reader_exec_i ( - ::PartialShutdown::CCM_Component3_Context_ptr ctx, - Component3_exec_i & callback); - virtual ~comp_3_reader_exec_i (void); - - //@{ - /** Operations and attributes from PartialShutdown::Reader. */ - - virtual - ::CORBA::StringSeq * read_lines (void); - //@} - - private: - ::PartialShutdown::CCM_Component3_Context_var ciao_context_; - Component3_exec_i & callback_; - }; - - /** - * Component Executor Implementation Class: Component3_exec_i - */ - - class Component3_exec_i - : public virtual Component3_Exec, - public virtual ::CORBA::LocalObject - { - public: - Component3_exec_i (void); - virtual ~Component3_exec_i (void); - - //@{ - /** Supported operations and attributes. */ - - //@} - - //@{ - /** Component attributes and port operations. */ - - virtual ::PartialShutdown::CCM_Writer_ptr - get_comp_3_writer (void); - - virtual ::PartialShutdown::CCM_Reader_ptr - get_comp_3_reader (void); - //@} - - //@{ - /** Operations from Components::SessionComponent. */ - virtual void set_session_context (::Components::SessionContext_ptr ctx); - virtual void configuration_complete (void); - virtual void ccm_activate (void); - virtual void ccm_passivate (void); - virtual void ccm_remove (void); - //@} - - //@{ - /** User defined public operations. */ - void read_all (void); - void write_all (void); - - void write_line (const char * line); - ::CORBA::StringSeq * read_lines (void); - - //@} - - private: - ::PartialShutdown::CCM_Component3_Context_var ciao_context_; - - //@{ - /** Component attributes. */ - ::PartialShutdown::CCM_Writer_var ciao_comp_3_writer_; - ::PartialShutdown::CCM_Reader_var ciao_comp_3_reader_; - //@} - - //@{ - /** User defined members. */ - WriteTicker * write_ticker_; - ReadTicker * read_ticker_; - TAO_SYNCH_MUTEX mutex_; - typedef std::vector <const char *> Strings; - Strings strings_; - - //@} - - //@{ - /** User defined private operations. */ - - //@} - - /// Get the ACE_Reactor - ACE_Reactor* reactor (void); - }; - - extern "C" COMPONENT3_EXEC_Export ::Components::EnterpriseComponent_ptr - create_PartialShutdown_Component3_Impl (void); -} - -#include /**/ "ace/post.h" - -#endif /* ifndef */ |