diff options
author | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-18 22:23:37 +0000 |
---|---|---|
committer | Abdullah Sowayan <sowayan@users.noreply.github.com> | 2007-03-18 22:23:37 +0000 |
commit | 06a34455bd98b1379cc69bbc5b2cf085e0fc0d9b (patch) | |
tree | 8815ce3b3a85c3c4285429295f338e00ea4497f4 /CIAO/examples/Null_Component/Null_Component_exec.cpp | |
parent | d66fcc9b4aaec8e88eeb83fc578fdf8a3cc963de (diff) | |
download | ATCD-Static_RT_DAnCE.tar.gz |
Diffstat (limited to 'CIAO/examples/Null_Component/Null_Component_exec.cpp')
-rw-r--r-- | CIAO/examples/Null_Component/Null_Component_exec.cpp | 167 |
1 files changed, 167 insertions, 0 deletions
diff --git a/CIAO/examples/Null_Component/Null_Component_exec.cpp b/CIAO/examples/Null_Component/Null_Component_exec.cpp new file mode 100644 index 00000000000..77a5577e8d5 --- /dev/null +++ b/CIAO/examples/Null_Component/Null_Component_exec.cpp @@ -0,0 +1,167 @@ +// $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 CIDL_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_ = + Null_Component_Context::_narrow ( + ctx); + + if (this->context_ == 0) + { + throw ::CORBA::INTERNAL (); + } + } + + void + Null_Component_exec_i::ciao_preactivate () + { + // Your code here. + } + + void + Null_Component_exec_i::ciao_postactivate () + { + // 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. + } + + //================================================================== + // Home Executor Implementation Class: Null_Component_Home_exec_i + //================================================================== + + Null_Component_Home_exec_i::Null_Component_Home_exec_i (void) + { + } + + Null_Component_Home_exec_i::~Null_Component_Home_exec_i (void) + { + } + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + ::Components::EnterpriseComponent_ptr + Null_Component_Home_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_Component_Home_Impl (void) + { + ::Components::HomeExecutorBase_ptr retval = + ::Components::HomeExecutorBase::_nil (); + + ACE_NEW_RETURN ( + retval, + Null_Component_Home_exec_i, + ::Components::HomeExecutorBase::_nil ()); + + return retval; + } +} + |