diff options
Diffstat (limited to 'modules/CIAO/RACE/Planners/SimpleBinPacker/SimpleBinPacker_exec.cpp')
-rw-r--r-- | modules/CIAO/RACE/Planners/SimpleBinPacker/SimpleBinPacker_exec.cpp | 230 |
1 files changed, 230 insertions, 0 deletions
diff --git a/modules/CIAO/RACE/Planners/SimpleBinPacker/SimpleBinPacker_exec.cpp b/modules/CIAO/RACE/Planners/SimpleBinPacker/SimpleBinPacker_exec.cpp new file mode 100644 index 00000000000..ad3370c4366 --- /dev/null +++ b/modules/CIAO/RACE/Planners/SimpleBinPacker/SimpleBinPacker_exec.cpp @@ -0,0 +1,230 @@ +// $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 "SimpleBinPacker_exec.h" +#include "ciao/CIAO_common.h" + +namespace CIAO +{ + namespace RACE + { + namespace CIDL_SimpleBinPacker_Impl + { + //================================================================== + // Facet Executor Implementation Class: Planner_I_exec_i + //================================================================== + + Planner_I_exec_i::Planner_I_exec_i (void) + { + } + + Planner_I_exec_i::~Planner_I_exec_i (void) + { + } + + // Operations from ::CIAO::RACE::Planner_I + + ::CORBA::Boolean + Planner_I_exec_i::process_plan ( + ::Deployment::DeploymentPlan & /* plan */) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return false; + } + + //================================================================== + // Component Executor Implementation Class: SimpleBinPacker_exec_i + //================================================================== + + SimpleBinPacker_exec_i::SimpleBinPacker_exec_i (void) + { + } + + SimpleBinPacker_exec_i::~SimpleBinPacker_exec_i (void) + { + } + + // Supported or inherited operations. + + // Attribute operations. + + char * + SimpleBinPacker_exec_i::name () + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return 0; + } + + void + SimpleBinPacker_exec_i::name ( + const char * /* name */) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + } + + char * + SimpleBinPacker_exec_i::type () + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return 0; + } + + void + SimpleBinPacker_exec_i::type ( + const char * /* type */) + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + } + + // Port operations. + + ::CIAO::RACE::CCM_Planner_I_ptr + SimpleBinPacker_exec_i::get_planner_i () + ACE_THROW_SPEC ((CORBA::SystemException)) + { + // Your code here. + return ::CIAO::RACE::CCM_Planner_I::_nil (); + } + + // Operations from Components::SessionComponent + + void + SimpleBinPacker_exec_i::set_session_context ( + ::Components::SessionContext_ptr ctx) + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + this->context_ = + SimpleBinPacker_Context::_narrow ( + ctx); + + if (this->context_ == 0) + { + throw CORBA::INTERNAL (); + } + } + + void + SimpleBinPacker_exec_i::ciao_preactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + SimpleBinPacker_exec_i::ciao_postactivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + SimpleBinPacker_exec_i::ccm_activate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + SimpleBinPacker_exec_i::ccm_passivate () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + void + SimpleBinPacker_exec_i::ccm_remove () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + // Your code here. + } + + //================================================================== + // Home Executor Implementation Class: SimpleBinPacker_Home_exec_i + //================================================================== + + SimpleBinPacker_Home_exec_i::SimpleBinPacker_Home_exec_i (void) + { + } + + SimpleBinPacker_Home_exec_i::~SimpleBinPacker_Home_exec_i (void) + { + } + + // Supported or inherited operations. + + // Home operations. + + // Factory and finder operations. + + // Attribute operations. + + // Implicit operations. + + ::Components::EnterpriseComponent_ptr + SimpleBinPacker_Home_exec_i::create () + ACE_THROW_SPEC (( + ::CORBA::SystemException, + ::Components::CCMException)) + { + ::Components::EnterpriseComponent_ptr retval = + ::Components::EnterpriseComponent::_nil (); + + ACE_NEW_THROW_EX ( + retval, + SimpleBinPacker_exec_i, + CORBA::NO_MEMORY ()); + + return retval; + } + + extern "C" SIMPLEBINPACKER_EXEC_Export ::Components::HomeExecutorBase_ptr + createSimpleBinPacker_Home_Impl (void) + { + ::Components::HomeExecutorBase_ptr retval = + ::Components::HomeExecutorBase::_nil (); + + ACE_NEW_RETURN ( + retval, + SimpleBinPacker_Home_exec_i, + ::Components::HomeExecutorBase::_nil ()); + + return retval; + } + } + } +} + |