diff options
Diffstat (limited to 'modules/CIAO/connectors/dds4ccm/tests/TwoTopicsDifferentNs/Connector/Connector.idl')
-rw-r--r-- | modules/CIAO/connectors/dds4ccm/tests/TwoTopicsDifferentNs/Connector/Connector.idl | 66 |
1 files changed, 66 insertions, 0 deletions
diff --git a/modules/CIAO/connectors/dds4ccm/tests/TwoTopicsDifferentNs/Connector/Connector.idl b/modules/CIAO/connectors/dds4ccm/tests/TwoTopicsDifferentNs/Connector/Connector.idl new file mode 100644 index 00000000000..e873178dd86 --- /dev/null +++ b/modules/CIAO/connectors/dds4ccm/tests/TwoTopicsDifferentNs/Connector/Connector.idl @@ -0,0 +1,66 @@ +// $Id$ + +/** + * @file Connector.idl + * @author Marcel Smit <msmit@remedy.nl> + */ + +#ifndef CONNECTOR_IDL_ +#define CONNECTOR_IDL_ + +#include <Components.idl> +#include "Hello/HelloGoodbye.idl" +#include "Goodbye/HelloGoodbye.idl" + +#include "connectors/dds4ccm/idl/ccm_dds.idl" + +#pragma ciao lem "Connector/ConnectorE.idl" +#pragma ndds typesupport "Hello/HelloGoodbyeSupport.h" +#pragma ndds typesupport "Goodbye/HelloGoodbyeSupport.h" + +module Hello +{ + // Hello connector + module ::CCM_DDS::Typed < HelloGoodbye, HelloGoodbyeSeq> HelloConn; + connector Hello_Connector : HelloConn::DDS_Event + { + }; +}; + +module Goodbye +{ + // Goodbye connector + module ::CCM_DDS::Typed < HelloGoodbye, HelloGoodbyeSeq> GoodbyeConn; + connector Goodbye_Connector : GoodbyeConn::DDS_Event + { + }; +}; + +module HelloGoodbye +{ + // Hello connector + module ::CCM_DDS::Typed < ::Hello::HelloGoodbye, ::Hello::HelloGoodbyeSeq> HelloConn; + connector Hello_Connector : HelloConn::DDS_Event + { + }; + + // Goodbye connector + module ::CCM_DDS::Typed < ::Goodbye::HelloGoodbye, ::Goodbye::HelloGoodbyeSeq> GoodbyeConn; + connector Goodbye_Connector : GoodbyeConn::DDS_Event + { + }; +}; + +// Hello connector +module ::CCM_DDS::Typed < ::Hello::HelloGoodbye, ::Hello::HelloGoodbyeSeq> HelloConn; +connector Hello_Connector : HelloConn::DDS_Event +{ +}; + +// Goodbye connector +module ::CCM_DDS::Typed < ::Goodbye::HelloGoodbye, ::Goodbye::HelloGoodbyeSeq> GoodbyeConn; +connector Goodbye_Connector : GoodbyeConn::DDS_Event +{ +}; + +#endif /* CONNECTOR_IDL_ */ |