#include "Header.h"
#include <fastcdr/Cdr.h>
#include <fastcdr/exceptions/BadParamException.h>
#include <utility>
宏定义 | |
#define | builtin_interfaces_msg_Time_max_cdr_typesize 8ULL; |
#define | builtin_interfaces_msg_Time_max_key_cdr_typesize 0ULL; |
#define | std_msgs_msg_Header_max_cdr_typesize 268ULL; |
#define | std_msgs_msg_Header_max_key_cdr_typesize 0ULL; |
This source file contains the definition of the described types in the IDL file. 此源文件(Header.cpp)包含了在接口定义语言(IDL)文件中所描述类型的具体定义实现。 意味着它将 IDL 中抽象定义的类型在 C++ 语言环境下进行了具体的功能实现,使其能够在 C++ 程序中被实例化和使用,通常用于跨语言通信等场景下对消息结构的定义。
This file was generated by the tool gen. 表明这个文件是通过名为“gen”的工具自动生成的,一般自动生成的代码遵循特定的代码生成规则和模板, 目的是保证与对应的 IDL 定义以及整个项目的代码规范相契合,减少手动编写代码可能出现的错误,提高开发效率。
在文件 Header.cpp 中定义.
#define builtin_interfaces_msg_Time_max_cdr_typesize 8ULL; |
在文件 Header.cpp 第 62 行定义.
#define builtin_interfaces_msg_Time_max_key_cdr_typesize 0ULL; |
在文件 Header.cpp 第 68 行定义.
#define std_msgs_msg_Header_max_cdr_typesize 268ULL; |
在文件 Header.cpp 第 65 行定义.
#define std_msgs_msg_Header_max_key_cdr_typesize 0ULL; |
在文件 Header.cpp 第 71 行定义.