Skip to content

Commit 9da20bd

Browse files
Merge pull request #46 from alexcamposruiz/feature/new-cs-examples
Rewritten C# examples for 6.1.0
2 parents b8c28f0 + 4aa0b00 commit 9da20bd

40 files changed

Lines changed: 1872 additions & 753 deletions

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,7 @@ __pycache__/
6666
!**/csharp/**/*.csproj
6767
!**/csharp/**/*.sln
6868

69+
# .NET
70+
NuGet.Config
71+
# generated by rtiddsgen
72+
chocolate_factory.cs

1_before_start/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Getting Started with RTI Connext DDS
22

33
This repository accompanies the text in the
4-
[RTI Connext DDS Getting Started Guide](https://community.rti.com/static/documentation/connext-dds/6.0.1/doc/manuals/connext_dds/getting_started/index.html).
4+
[RTI Connext DDS Getting Started Guide](https://community.rti.com/static/documentation/connext-dds/6.1.0/doc/manuals/connext_dds_professional/getting_started_guide/index.html).
55

66
The first chapter of the Getting Started Guide reviews how to install RTI
77
Connext DDS, and how to set up a license if needed.

2_hello_world/csharp/.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# This file is generated by rtiddsgen
2+
hello_world*
3+

2_hello_world/csharp/HelloWorld.sln

Lines changed: 0 additions & 48 deletions
This file was deleted.

2_hello_world/csharp/HelloWorldPublisher/HelloWorldPublisher.cs

Lines changed: 0 additions & 76 deletions
This file was deleted.

2_hello_world/csharp/HelloWorldSubscriber/HelloWorldSubscriber.cs

Lines changed: 0 additions & 104 deletions
This file was deleted.

2_hello_world/csharp/README.md

Lines changed: 0 additions & 65 deletions
This file was deleted.
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
<?xml version="1.0"?>
2+
3+
<!--
4+
(c) Copyright, Real-Time Innovations, 2020. All rights reserved.
5+
RTI grants Licensee a license to use, modify, compile, and create derivative
6+
works of the software solely for use with RTI Connext DDS. Licensee may
7+
redistribute copies of the software provided that all such copies are
8+
subject to this license. The software is provided "as is", with no warranty
9+
of any type, including any warranty for fitness for any purpose. RTI is
10+
under no obligation to maintain or support the software. RTI shall not be
11+
liable for any incidental or consequential damages arising out of the use
12+
or inability to use the software.
13+
14+
This file is used only when it is in the current working directory or when
15+
the environment variable NDDS_QOS_PROFILES is defined and points to this
16+
file.
17+
18+
The profile in this file inherits from the builtin QoS profile
19+
BuiltinQosLib::Generic.StrictReliable. That profile, along with all of the
20+
other built-in QoS profiles can be found in the
21+
BuiltinProfiles.documentationONLY.xml file located in the
22+
$NDDSHOME/resource/xml/ directory.
23+
-->
24+
<dds xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
25+
xsi:noNamespaceSchemaLocation="https://community.rti.com/schema/current/rti_dds_qos_profiles.xsd">
26+
<!--
27+
QoS Library containing the QoS profile used in this example.
28+
A QoS library is a named set of QoS profiles.
29+
-->
30+
<qos_library name="hello_world_Library">
31+
32+
<!--
33+
QoS profile used to configure reliable communication between the
34+
DataWriter and DataReader created in the example code.
35+
36+
base_name:
37+
Communication is reliable because this profile inherits from
38+
the built-in profile "BuiltinQosLib::Generic.StrictReliable"
39+
40+
is_default_qos:
41+
These QoS profiles will be used as the default, as long as this
42+
file is in the working directory when running the example.
43+
-->
44+
<qos_profile name="hello_world_Profile"
45+
base_name="BuiltinQosLib::Generic.StrictReliable"
46+
is_default_qos="true">
47+
48+
<!-- QoS specified to override the QoS in the base profile.
49+
Configures the DataWriter in the example code. -->
50+
<datawriter_qos>
51+
<publication_name>
52+
<name>HelloWorldDataWriter</name>
53+
</publication_name>
54+
</datawriter_qos>
55+
56+
<!-- QoS specified to override the QoS in the base profile.
57+
Configures the DataReader in the example code. -->
58+
<datareader_qos>
59+
<subscription_name>
60+
<name>HelloWorldDataReader</name>
61+
</subscription_name>
62+
</datareader_qos>
63+
64+
<!-- QoS specified to override the QoS in the base profile.
65+
Configures the DomainParticipant in the example code. -->
66+
<participant_qos>
67+
<!--
68+
The participant name, if it is set, will be displayed in the
69+
RTI tools, making it easier for you to tell one
70+
application from another when you're debugging.
71+
-->
72+
<participant_name>
73+
<name>HelloWorldParticipant</name>
74+
</participant_name>
75+
76+
</participant_qos>
77+
</qos_profile>
78+
79+
</qos_library>
80+
</dds>

0 commit comments

Comments
 (0)