summaryrefslogtreecommitdiff
path: root/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:37:55 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:37:55 +0000
commit1576f18f4563b78b9c534866f894217dbda4a116 (patch)
tree5b7e217f962e3e5cbc40eba208669e698af54495 /tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h
parente736a66bb06b1cdfd851d0dc39b1ccd6737f118b (diff)
downloadATCD-1576f18f4563b78b9c534866f894217dbda4a116.tar.gz
branch for removing component server
Diffstat (limited to 'tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h')
-rw-r--r--tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h90
1 files changed, 90 insertions, 0 deletions
diff --git a/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h b/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h
new file mode 100644
index 00000000000..04afe9ffc2c
--- /dev/null
+++ b/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h
@@ -0,0 +1,90 @@
+// $Id$
+
+#ifndef CIAO_SIMPLECOMPONENT_EXEC_H
+#define CIAO_SIMPLECOMPONENT_EXEC_H
+
+#include /**/ "ace/pre.h"
+
+#include "SimpleComponentEC.h"
+
+#if !defined (ACE_LACKS_PRAGMA_ONCE)
+# pragma once
+#endif /* ACE_LACKS_PRAGMA_ONCE */
+
+#include "SimpleComponent_exec_export.h"
+#include "tao/LocalObject.h"
+
+namespace CIAO_Foo_SimpleComponent_Impl
+{
+ class SIMPLECOMPONENT_EXEC_Export SimpleComponent_exec_i
+ : public virtual SimpleComponent_Exec,
+ public virtual ::CORBA::LocalObject
+ {
+ public:
+ SimpleComponent_exec_i (const char *CreateType);
+ virtual ~SimpleComponent_exec_i (void);
+
+ // Supported or inherited operations.
+
+ virtual void
+ trigger ();
+
+ // Attribute operations.
+
+ virtual char *
+ creationtype_ ()
+ ;
+
+ // Port operations.
+
+ // Operations from Components::SessionComponent
+
+ virtual void
+ set_session_context (
+ ::Components::SessionContext_ptr ctx);
+
+ virtual void configuration_complete ();
+
+ virtual void ccm_activate ();
+
+ virtual void ccm_passivate ();
+
+ virtual void ccm_remove ();
+
+ private:
+ ::Foo::CCM_SimpleComponent_Context_var context_;
+
+ CORBA::String_var type_;
+
+ };
+
+ class SIMPLECOMPONENT_EXEC_Export SimpleHome_exec_i
+ : public virtual SimpleHome_Exec,
+ public virtual ::CORBA::LocalObject
+ {
+ public:
+ SimpleHome_exec_i (void);
+ virtual ~SimpleHome_exec_i (void);
+
+ // Supported or inherited operations.
+
+ // Home operations.
+
+ // Factory and finder operations.
+
+ // Attribute operations.
+
+ // Implicit operations.
+
+ virtual ::Components::EnterpriseComponent_ptr
+ create ();
+ };
+
+ extern "C" SIMPLECOMPONENT_EXEC_Export ::Components::HomeExecutorBase_ptr
+ create_Foo_SimpleHome_Impl (void);
+}
+
+#include /**/ "ace/post.h"
+
+#endif /* CIAO_SIMPLECOMPONENT_EXEC_H */
+