Skip to content

Commit af0d993

Browse files
Refs #23567: Regenerate types with Fast DDS Gen 3.3.x (#1212)
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
1 parent 467b8ab commit af0d993

4 files changed

Lines changed: 11 additions & 2 deletions

File tree

code/Examples/C++/DDSHelloWorld/src/HelloWorld.cxx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff 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

code/Examples/C++/DDSHelloWorld/src/HelloWorld.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,11 @@
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

code/Examples/C++/DDSHelloWorld/src/HelloWorldv1.cxx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
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

code/Examples/C++/DDSHelloWorld/src/HelloWorldv1.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
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>

0 commit comments

Comments
 (0)