summaryrefslogtreecommitdiff
path: root/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp
diff options
context:
space:
mode:
authorWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:41:53 +0000
committerWilliam R. Otte <wotte@dre.vanderbilt.edu>2010-06-18 14:41:53 +0000
commitff85f8bbe257861e5bc13bb953f7968e4bf38957 (patch)
tree04253be1a3ca669a6b5149e93cadd40c3862fe89 /tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp
parent1576f18f4563b78b9c534866f894217dbda4a116 (diff)
downloadATCD-remove_componentserver.tar.gz
Fri Jun 18 14:40:25 UTC 2010 William R. Otte <wotte@dre.vanderbilt.edu>remove_componentserver
* DAnCE/LocalityManager/Daemon/Locality_Manager.mpc: * DAnCE/LocalityManager/Handler/LocalityHandler.mpc: * DAnCE/LocalityManager/Scheduler/Scheduler.mpc: * MPC/config/ciao_deployment_handlers.mpb: * ciao/ComponentServer/CIAO_Base.mpc: * ciao/ComponentServer/Client_init.h: * ciao/ComponentServer/Server_init.h: * ciao/Containers/Session/Session_Container.cpp: * ciao/Containers/Session/Session_Container.mpc: * ciao/Deployment/Handlers/CIAO_Deployment_Handlers.mpc: * tests/CIF/Common/CIF_Common.mpc: * tests/CIF/Receptacle/Receptacle.mpc: * MPC/config/ciao_componentserver_stub.mpb: * MPC/config/ciao_componentserver_svnt.mpb: * MPC/config/ciao_cs_client.mpb: * ciao/ComponentServer/CIAO_CS_Client.idl: * ciao/ComponentServer/CIAO_ComponentInstallation_Impl.h: * ciao/ComponentServer/CIAO_ComponentInstallation_Impl.cpp: * ciao/ComponentServer/CIAO_ComponentServer.cpp: * ciao/ComponentServer/CIAO_ComponentServer.idl: * ciao/ComponentServer/CIAO_ComponentServer.mpc: * ciao/ComponentServer/CIAO_ComponentServer_Impl.h: * ciao/ComponentServer/CIAO_ComponentServer_Impl.cpp: * ciao/ComponentServer/CIAO_ComponentServer_Task.h: * ciao/ComponentServer/CIAO_ComponentServer_Task.cpp: * ciao/ComponentServer/CIAO_Container_Impl.h: * ciao/ComponentServer/CIAO_Container_Impl.cpp: * ciao/ComponentServer/CIAO_RTComponentServer.cpp: * ciao/ComponentServer/CIAO_RTComponentServer_Task.h: * ciao/ComponentServer/CIAO_RTComponentServer_Task.cpp: * ciao/ComponentServer/CIAO_ServerActivator_Impl.h: * ciao/ComponentServer/CIAO_ServerActivator_Impl.cpp: * tests/CIAO_ComponentServer: * tests/CIAO_ComponentServer/Activator: * tests/CIAO_ComponentServer/Activator/Activator.mpc: * tests/CIAO_ComponentServer/Activator/client.cpp: * tests/CIAO_ComponentServer/Activator/run_test.pl: * tests/CIAO_ComponentServer/Basic: * tests/CIAO_ComponentServer/Basic/Basic.mpc: * tests/CIAO_ComponentServer/Basic/client.cpp: * tests/CIAO_ComponentServer/Basic/run_test.pl: * tests/CIAO_ComponentServer/Local_Facet: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet.idl: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet.mpc: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.h: * tests/CIAO_ComponentServer/Local_Facet/Local_Facet_exec.cpp: * tests/CIAO_ComponentServer/Local_Facet/client.cpp: * tests/CIAO_ComponentServer/Local_Facet/run_test.pl: * tests/CIAO_ComponentServer/SimpleComponent: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent.idl: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent.mpc: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.h: * tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp: * tests/CIAO_ComponentServer/SimpleComponent/client.cpp: * tests/CIAO_ComponentServer/SimpleComponent/run_test.pl: Initial work to remove CIAO ComponentServer
Diffstat (limited to 'tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp')
-rw-r--r--tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp131
1 files changed, 0 insertions, 131 deletions
diff --git a/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp b/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp
deleted file mode 100644
index 60d0a6eebf7..00000000000
--- a/tests/CIAO_ComponentServer/SimpleComponent/SimpleComponent_exec.cpp
+++ /dev/null
@@ -1,131 +0,0 @@
-// $Id$
-
-#include "SimpleComponent_exec.h"
-#include "ciao/Logger/Log_Macros.h"
-
-namespace CIAO_Foo_SimpleComponent_Impl
-{
- //==================================================================
- // Component Executor Implementation Class: SimpleComponent_exec_i
- //==================================================================
-
- SimpleComponent_exec_i::SimpleComponent_exec_i (const char *type)
- : type_ (CORBA::string_dup (type))
- {
- }
-
- SimpleComponent_exec_i::~SimpleComponent_exec_i (void)
- {
- }
-
- // Supported or inherited operations.
-
- void
- SimpleComponent_exec_i::trigger ()
- {
- ACE_DEBUG ((LM_EMERGENCY, "Hello, world!!!!!!!!\n"));
- }
-
- // Attribute operations.
-
- char *
- SimpleComponent_exec_i::creationtype_ ()
- {
- return CORBA::string_dup (this->type_.in ());
- }
-
- // Port operations.
-
- // Operations from Components::SessionComponent
-
- void
- SimpleComponent_exec_i::set_session_context (
- ::Components::SessionContext_ptr ctx)
- {
- this->context_ =
- ::Foo::CCM_SimpleComponent_Context::_narrow (ctx);
-
- if (CORBA::is_nil (this->context_.in ()))
- {
- throw ::CORBA::INTERNAL ();
- }
- }
-
- void
- SimpleComponent_exec_i::configuration_complete ()
- {
- // Your code here.
- }
-
- void
- SimpleComponent_exec_i::ccm_activate ()
- {
- // Your code here.
- }
-
- void
- SimpleComponent_exec_i::ccm_passivate ()
- {
- // Your code here.
- }
-
- void
- SimpleComponent_exec_i::ccm_remove ()
- {
- // Your code here.
- }
-
- //==================================================================
- // Home Executor Implementation Class: SimpleHome_exec_i
- //==================================================================
-
- SimpleHome_exec_i::SimpleHome_exec_i (void)
- {
- CIAO_TRACE ("SimpleHome_exec_i::SimpleHome_exec_i");
- ACE_DEBUG ((LM_NOTICE, CLINFO "SimpleHome_exec_i::SimpleHome_exec_i - "
- "Home constructed\n"));
- }
-
- SimpleHome_exec_i::~SimpleHome_exec_i (void)
- {
- }
-
- // Supported or inherited operations.
-
- // Home operations.
-
- // Factory and finder operations.
-
- // Attribute operations.
-
- // Implicit operations.
-
- ::Components::EnterpriseComponent_ptr
- SimpleHome_exec_i::create ()
- {
- ::Components::EnterpriseComponent_ptr retval =
- ::Components::EnterpriseComponent::_nil ();
-
- ACE_NEW_THROW_EX (
- retval,
- SimpleComponent_exec_i ("HomeCreated"),
- ::CORBA::NO_MEMORY ());
-
- return retval;
- }
-
- extern "C" SIMPLECOMPONENT_EXEC_Export ::Components::HomeExecutorBase_ptr
- create_Foo_SimpleHome_Impl (void)
- {
- ::Components::HomeExecutorBase_ptr retval =
- ::Components::HomeExecutorBase::_nil ();
-
- ACE_NEW_RETURN (
- retval,
- SimpleHome_exec_i,
- ::Components::HomeExecutorBase::_nil ());
-
- return retval;
- }
-}
-