File tree 3 files changed +22
-27
lines changed
3 files changed +22
-27
lines changed Original file line number Diff line number Diff line change
1
+ cmake_minimum_required (VERSION 3.12)
2
+ project (opendds_shape_main CXX)
3
+
4
+ find_package (OpenDDS REQUIRED)
5
+
6
+ add_executable (shape_main
7
+ ../shape_main.cxx
8
+ )
9
+
10
+ target_compile_definitions (shape_main
11
+ PRIVATE OPENDDS
12
+ )
13
+
14
+ opendds_target_sources(shape_main
15
+ ../shape.idl
16
+ OPENDDS_IDL_OPTIONS --no -default-nested
17
+ )
18
+
19
+ target_link_libraries (shape_main OpenDDS::Rtps_Udp)
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- #include " GeneratedCode/ShapeTypeTypeSupportImpl .h"
1
+ #include " shapeTypeSupportImpl .h"
2
2
3
3
#include " dds/DCPS/Marked_Default_Qos.h"
4
4
#include " dds/DCPS/Service_Participant.h"
11
11
12
12
#define OBTAIN_DOMAIN_PARTICIPANT_FACTORY TheParticipantFactory
13
13
#define LISTENER_STATUS_MASK_ALL OpenDDS::DCPS::ALL_STATUS_MASK
14
- #define REGISTER_TYPE org::omg::dds::demo:: ShapeTypeTypeSupport_var ts = \
15
- new org::omg::dds::demo:: ShapeTypeTypeSupportImpl; ts->register_type
14
+ #define REGISTER_TYPE ShapeTypeTypeSupport_var ts = \
15
+ new ShapeTypeTypeSupportImpl; ts->register_type
16
16
#define CONFIGURE_PARTICIPANT_FACTORY configure_rtps ();
17
17
#define STRING_IN .in()
18
18
#define STRING_INOUT .inout()
19
19
#define STRING_ALLOC (LHS, RHS ) LHS = CORBA::string_alloc(RHS)
20
20
21
- using org::omg::dds::demo::ShapeType;
22
- using org::omg::dds::demo::ShapeTypeSeq;
23
- using org::omg::dds::demo::ShapeTypeDataReader;
24
- using org::omg::dds::demo::ShapeTypeDataWriter;
25
- using org::omg::dds::demo::ShapeTypeTypeSupport;
26
-
27
21
const char * get_qos_policy_name (DDS::QosPolicyId_t policy_id)
28
22
{
29
23
switch (policy_id) {
You can’t perform that action at this time.
0 commit comments