不同进程/系统中的Rhapsody模型之间如何通信?

发布于 2024-08-17 12:38:09 字数 340 浏览 4 评论 0原文

我们正在将 IBM(以前称为 Telelogic)Rhapsody 用于一个新项目,以进行复杂设备的模型驱动开发。该设备由通过各种网络接口连接的多个子系统组成。我们希望在 Rhapsody 中对整个系统进行建模,然后分别为各个子系统生成代码。

问题是这样的:Rhapsody 可以为单个进程建模和生成代码。我们喜欢首先使用单独的进程对子系统进行建模,然后直接为子系统生成代码。

对于进程间和系统间通信,有哪些替代方案可供我们使用,以便我们可以尽可能轻松地将其滑入 Rhapsody 模型中?

我们正在生成 C++,并希望使用套接字进行系统间通信,Rhapsody 目前使用消息队列在同一进程中的对象和线程之间进行通信。

We are using IBM (formerly Telelogic) Rhapsody for a new project to do model driven development of a complex device. The device consists of several subsystems that are connected by various network interfaces. We'd like to model the entire system in Rhapsody and then generate code separately for the various subsystems.

The problem is this: Rhapsody can model and generate code for a single process. We like to model subsystems using separate processes at first and then generate code for the subsystems directly.

What alternatives are available for inter -process and -system communication that we can slide into the Rhapsody model with as little pain as possible?

We are generating C++ and would like to use sockets for inter-system communication, Rhapsody currently communicates between objects and threads in the same process using message queues.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

情归归情 2024-08-24 12:38:09

您可以实现自己版本的 Rhapsody MessageQueue 类,并使用您的代码而不是默认代码重建 oxf 库。

You can implement your own version of the Rhapsody MessageQueue class and rebuild the oxf library using your code instead of the default code.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文