File tree Expand file tree Collapse file tree
code/Examples/C++/DDSHelloWorld/src Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -28,6 +28,8 @@ char dummy;
2828
2929#include " HelloWorld.h"
3030
31+ #if FASTCDR_VERSION_MAJOR > 1
32+
3133#include < fastcdr/Cdr.h>
3234
3335
@@ -163,3 +165,4 @@ std::string& HelloWorld::message()
163165// Include auxiliary functions like for serializing/deserializing.
164166#include " HelloWorldCdrAux.ipp"
165167
168+ #endif // FASTCDR_VERSION_MAJOR > 1
Original file line number Diff line number Diff line change 1919 * This file was generated by the tool fastddsgen (version: 3.3.2).
2020 */
2121
22+ #include < fastcdr/config.h>
23+ #include " HelloWorldv1.h"
24+
25+ #if FASTCDR_VERSION_MAJOR > 1
26+
2227#ifndef _FAST_DDS_GENERATED_HELLOWORLD_H_
2328#define _FAST_DDS_GENERATED_HELLOWORLD_H_
2429
@@ -187,3 +192,4 @@ class HelloWorld
187192
188193
189194
195+ #endif // FASTCDR_VERSION_MAJOR > 1
Original file line number Diff line number Diff line change 1616 * @file HelloWorld.cpp
1717 * This source file contains the implementation of the described types in the IDL file.
1818 *
19- * This file was generated by the tool fastddsgen.
19+ * This file was generated by the tool fastddsgen (version: 3.3.2) .
2020 */
2121
2222#ifdef _WIN32
Original file line number Diff line number Diff line change 1616 * @file HelloWorld.h
1717 * This header file contains the declaration of the described types in the IDL file.
1818 *
19- * This file was generated by the tool fastddsgen.
19+ * This file was generated by the tool fastddsgen (version: 3.3.2) .
2020 */
2121
2222#include < fastcdr/config.h>
You can’t perform that action at this time.
0 commit comments