diff options
Diffstat (limited to 'modules/CIAO/examples/Null_Component/Null_Component_exec.cpp')
-rw-r--r-- | modules/CIAO/examples/Null_Component/Null_Component_exec.cpp | 174 |
1 files changed, 174 insertions, 0 deletions
diff --git a/modules/CIAO/examples/Null_Component/Null_Component_exec.cpp b/modules/CIAO/examples/Null_Component/Null_Component_exec.cpp new file mode 100644 index 00000000000..bacadd528fa --- /dev/null +++ b/modules/CIAO/examples/Null_Component/Null_Component_exec.cpp @@ -0,0 +1,174 @@ +// $Id$ +// +// **** Code generated by the **** +// **** Component Integrated ACE ORB (CIAO) CIDL Compiler **** +// CIAO has been developed by: +// Center for Distributed Object Computing +// Washington University +// St. Louis, MO +// USA +// http://www.cs.wustl.edu/~schmidt/doc-center.html +// CIDL Compiler has been developed by: +// Institute for Software Integrated Systems +// Vanderbilt University +// Nashville, TN +// USA +// http://www.isis.vanderbilt.edu/ +// +// Information about CIAO is available at: +// http://www.dre.vanderbilt.edu/CIAO + +#include "Null_Component_exec.h" +#include "ciao/CIAO_common.h" + +namespace CIAO_Null_Component_Impl +{ + //================================================================== + // Facet Executor Implementation Class: Null_Interface_exec_i + //================================================================== + + Null_Interface_exec_i::Null_Interface_exec_i (void) + { + } + + Null_Interface_exec_i::~Null_Interface_exec_i (void) + { + } + + // Operations from ::Null_Interface + + void + Null_Interface_exec_i::null_operation () + { + // Your code here. + } + + //================================================================== + // Component Executor Implementation Class: Null_Component_exec_i + //================================================================== + + Null_Component_exec_i::Null_Component_exec_i (void) + { + } + + Null_Component_exec_i::~Null_Component_exec_i (void) + { + } + + // Supported or inherited operations. + + // Attribute operations. + + // Port operations. + + ::CCM_Null_Interface_ptr + Null_Component_exec_i::get_null_facet () + { + // Your code here. + return ::CCM_Null_Interface::_nil (); + } + + // Operations from Components::SessionComponent + + void + Null_Component_exec_i::set_session_context ( + ::Components::SessionContext_ptr ctx) + { + this->context_ = + ::CCM_Null_Component_Context::_narrow (ctx); + + if (CORBA::is_nil (this->context_.in ())) + { + throw ::CORBA::INTERNAL (); + } + } + + void + Null_Component_exec_i::configuration_complete () + { + // Your code here. + } + + void + Null_Component_exec_i::ccm_activate () + { + // Your code here. + } + + void + Null_Component_exec_i::ccm_passivate () + { + // Your code here. + } + + void + Null_Component_exec_i::ccm_remove () + { + // Your code here. + } + + extern "C" NULL_COMPONENT_EXEC_Export ::Components::EnterpriseComponent_ptr + create_Null_Component_Impl (void) + { + ::Components::EnterpriseComponent_ptr retval = + ::Components::EnterpriseComponent::_nil (); + + ACE_NEW_RETURN ( + retval, + Null_Component_exec_i, + ::Components::EnterpriseComponent::_nil ()); + + return retval; + } + + //================================================================== + // Home Executor Implementation Class: Null_ComponentHome_exec_i + //================================================================== + + Null_ComponentHome_exec_i::Null_ComponentHome_exec_i (void) + { + } + + Null_ComponentHome_exec_i::~Null_ComponentHome_exec_i (void) + { + } + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + ::Components::EnterpriseComponent_ptr + Null_ComponentHome_exec_i::create () + { + ::Components::EnterpriseComponent_ptr retval = + ::Components::EnterpriseComponent::_nil (); + + ACE_NEW_THROW_EX ( + retval, + Null_Component_exec_i, + ::CORBA::NO_MEMORY ()); + + return retval; + } + + extern "C" NULL_COMPONENT_EXEC_Export ::Components::HomeExecutorBase_ptr + create_Null_ComponentHome_Impl (void) + { + ::Components::HomeExecutorBase_ptr retval = + ::Components::HomeExecutorBase::_nil (); + + ACE_NEW_RETURN ( + retval, + Null_ComponentHome_exec_i, + ::Components::HomeExecutorBase::_nil ()); + + return retval; + } +} + |