【发布时间】:2016-07-15 18:00:59
【问题描述】:
我有 2 个现有的 c++ 项目,其中有发送方和接收方。它们通过 UDP 套接字连接连接并通过 CmakeFile.txt 构建
Root
|→ Sender
| |→ src
| |→ include
| |→ Cmakefile.txt
|→ Receiver
| |→ src
| |→ include
| |→ Cmakefile.txt
|→ Cmakefile.txt
现在我想用 DDS 上下文 idl 更改 UDP
Root
|→ Sender
| |→ src
| | |→ Publisher.cpp
| |→ include
| |→ Cmakefile.txt
|→ Receiver
| |→ src
| | |→ Subscriber.cpp
| |→ include
| |→ Cmakefile.txt
|→ Cmakefile.txt
Root
|→ Sender
| |→ src
| |→ include
| |→ Cmakefile.txt
|→ Receiver
| |→ src
| |→ include
| |→ Cmakefile.txt
|→ DDSCom
| |→ src
| | |→ Publisher.cpp
| | |→ Subscriber.cpp
| |→ include
| |→ Cmakefile.txt
|→ Cmakefile.txt
我的结构应该是什么?
【问题讨论】:
-
我不清楚你在问什么。 “我的结构是什么?”,你指的是什么结构?
-
我已经提到了我的项目结构以及通过 DDS 进行通信的可能方式。