summaryrefslogtreecommitdiff
path: root/modules/CIAO/connectors/dds4ccm/examples/Shapes/Connector/Shapes_Connector_exec.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/CIAO/connectors/dds4ccm/examples/Shapes/Connector/Shapes_Connector_exec.cpp')
-rw-r--r--modules/CIAO/connectors/dds4ccm/examples/Shapes/Connector/Shapes_Connector_exec.cpp30
1 files changed, 30 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/dds4ccm/examples/Shapes/Connector/Shapes_Connector_exec.cpp b/modules/CIAO/connectors/dds4ccm/examples/Shapes/Connector/Shapes_Connector_exec.cpp
new file mode 100644
index 00000000000..fa17a3cdde4
--- /dev/null
+++ b/modules/CIAO/connectors/dds4ccm/examples/Shapes/Connector/Shapes_Connector_exec.cpp
@@ -0,0 +1,30 @@
+// -*- C++ -*-
+// $Id$
+
+#include "Shapes_Connector_exec.h"
+
+namespace CIAO_Shapes_Shapes_Connector_Impl
+{
+ Shapes_Connector_exec_i::Shapes_Connector_exec_i (const char * topic_name)
+ : Connector_T<ShapeType_DDS_Traits, ShapeType_Connector_Traits> (topic_name)
+ {
+ }
+
+ Shapes_Connector_exec_i::~Shapes_Connector_exec_i (void)
+ {
+ }
+
+ extern "C" SHAPES_CONNECTOR_EXEC_Export ::Components::EnterpriseComponent_ptr
+ create_Shapes_Shapes_Connector_Impl (void)
+ {
+ ::Components::EnterpriseComponent_ptr retval =
+ ::Components::EnterpriseComponent::_nil ();
+
+ ACE_NEW_NORETURN (
+ retval,
+ Shapes_Connector_exec_i ("Default_Topic_Name")); //should be set by dep. plan.
+
+ return retval;
+ }
+}
+