diff options
Diffstat (limited to 'modules/CIAO/connectors/dds4ccm/tests/QosProfile/Component/QosProfile_Test_Component_exec.cpp')
-rw-r--r-- | modules/CIAO/connectors/dds4ccm/tests/QosProfile/Component/QosProfile_Test_Component_exec.cpp | 67 |
1 files changed, 67 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/dds4ccm/tests/QosProfile/Component/QosProfile_Test_Component_exec.cpp b/modules/CIAO/connectors/dds4ccm/tests/QosProfile/Component/QosProfile_Test_Component_exec.cpp new file mode 100644 index 00000000000..98fa5806980 --- /dev/null +++ b/modules/CIAO/connectors/dds4ccm/tests/QosProfile/Component/QosProfile_Test_Component_exec.cpp @@ -0,0 +1,67 @@ +// -*- C++ -*- +// +// $Id$ + +#include "QosProfile_Test_Component_exec.h" + +namespace CIAO_QosProfile_Test_QosProfileComponent_Impl +{ + //============================================================ + // Component_exec_i + //============================================================ + Component_exec_i::Component_exec_i (void) + { + } + + Component_exec_i::~Component_exec_i (void) + { + } + + // Operations from Components::SessionComponent. + void + Component_exec_i::set_session_context ( + ::Components::SessionContext_ptr ctx) + { + this->context_ = + ::QosProfile_Test::CCM_QosProfileComponent_Context::_narrow (ctx); + if ( ::CORBA::is_nil (this->context_.in ())) + { + throw ::CORBA::INTERNAL (); + } + } + + void + Component_exec_i::configuration_complete (void) + { + } + + void + Component_exec_i::ccm_activate (void) + { + this->writer_ = this->context_->get_connection_info_write_data(); + } + + void + Component_exec_i::ccm_passivate (void) + { + } + + void + Component_exec_i::ccm_remove (void) + { + } + + extern "C" COMPONENT_EXEC_Export ::Components::EnterpriseComponent_ptr + create_QosProfile_Test_Component_Impl (void) + { + ::Components::EnterpriseComponent_ptr retval = + ::Components::EnterpriseComponent::_nil (); + + ACE_NEW_NORETURN ( + retval, + Component_exec_i); + + return retval; + } +} + |