diff options
Diffstat (limited to 'CIAO/tests/Collocation/Receiver/Receiver_exec.h')
-rw-r--r-- | CIAO/tests/Collocation/Receiver/Receiver_exec.h | 103 |
1 files changed, 0 insertions, 103 deletions
diff --git a/CIAO/tests/Collocation/Receiver/Receiver_exec.h b/CIAO/tests/Collocation/Receiver/Receiver_exec.h deleted file mode 100644 index c7e8126776f..00000000000 --- a/CIAO/tests/Collocation/Receiver/Receiver_exec.h +++ /dev/null @@ -1,103 +0,0 @@ -// -*- C++ -*- -#ifndef CIAO_RECEIVER_EXEC_0HSO8P_H_ -#define CIAO_RECEIVER_EXEC_0HSO8P_H_ - -#include /**/ "ace/pre.h" - -#include "ReceiverEC.h" - -#if !defined (ACE_LACKS_PRAGMA_ONCE) -# pragma once -#endif /* ACE_LACKS_PRAGMA_ONCE */ - -#include /**/ "Receiver_exec_export.h" -#include "tao/LocalObject.h" -#include "tao/ORB_Core.h" -#include "ace/Reactor.h" - -namespace CIAO_Receiver_Impl -{ - // Forward declaration - class Receiver_exec_i; - - /** - * HelloGenerator - */ - class HelloGenerator : - public ACE_Event_Handler - { - public: - HelloGenerator (Receiver_exec_i &callback); - - //Callback from the reactor. - virtual int handle_timeout (const ACE_Time_Value &tv, - const void *arg); - private: - Receiver_exec_i &generator_; - }; - - /** - * Component Executor Implementation Class: Receiver_exec_i - */ - - class Receiver_exec_i - : public virtual Receiver_Exec, - public virtual ::CORBA::LocalObject - { - public: - Receiver_exec_i (void); - virtual ~Receiver_exec_i (void); - - /** @name Supported operations and attributes. */ - //@{ - //@} - - /** @name Component attributes and port operations. */ - //@{ - //@} - - /** @name 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); - //@} - - /** @name User defined public operations. */ - //@{ - void tick (void); - - char* - strategy (void); - - void - strategy (const char* strategy); - //@} - - private: - ::CCM_Receiver_Context_var ciao_context_; - - /** @name Component attributes. */ - - /** @name User defined members. */ - //@{ - //@} - - /** @name User defined private operations. */ - //@{ - HelloGenerator * hello_generator_; - ACE_Time_Value interval_; - ::CORBA::String_var strategy_; - ACE_Reactor* reactor (void); - //@} - }; - - extern "C" RECEIVER_EXEC_Export ::Components::EnterpriseComponent_ptr - create_Receiver_Impl (void); -} - -#include /**/ "ace/post.h" - -#endif /* ifndef */ |