PublishSubscribe-ZMQ 发布订阅C++实现

上传者: A_Pointer | 上传时间: 2024-07-08 18:10:53 | 文件大小: 6.73MB | 文件类型: RAR
本次实现主要解决: 1)简化ZeroMQ的开发过程; 2)尽可能简化发布订阅的API调用; 3)订阅者消息处理采用守护线程模式; 4)支撑跨主机的发布订阅(By ZeroMQ)。 CMakeLists.txt生成工程即可,移植非常方便。

文件下载

资源详情

[{"title":"( 40 个子文件 6.73MB ) PublishSubscribe-ZMQ 发布订阅C++实现","children":[{"title":"CMakeLists.txt <span style='color:#111;'> 1.38KB </span>","children":null,"spread":false},{"title":"src","children":[{"title":"TOPIC_DEFS.h <span style='color:#111;'> 757B </span>","children":null,"spread":false},{"title":"Subcore.hpp <span style='color:#111;'> 4.52KB </span>","children":null,"spread":false},{"title":"main.cpp <span style='color:#111;'> 1.57KB </span>","children":null,"spread":false},{"title":"Subscriber.hpp <span style='color:#111;'> 1.15KB </span>","children":null,"spread":false},{"title":"Publisher.hpp <span style='color:#111;'> 976B </span>","children":null,"spread":false}],"spread":true},{"title":"ZeroMQ","children":[{"title":"include","children":[{"title":"zmq_utils.h <span style='color:#111;'> 1021B </span>","children":null,"spread":false},{"title":"zmq.h <span style='color:#111;'> 29.15KB </span>","children":null,"spread":false}],"spread":true},{"title":"lib","children":[{"title":"unity.lib <span style='color:#111;'> 44.58KB </span>","children":null,"spread":false},{"title":"libzmq-v142-mt-gd-4_3_5.lib <span style='color:#111;'> 16.20KB </span>","children":null,"spread":false},{"title":"pkgconfig","children":[{"title":"libzmq.pc <span style='color:#111;'> 251B </span>","children":null,"spread":false}],"spread":true},{"title":"libzmq-v142-mt-s-4_3_5.lib <span style='color:#111;'> 4.16MB </span>","children":null,"spread":false},{"title":"libzmq-v142-mt-sgd-4_3_5.lib <span style='color:#111;'> 39.23MB </span>","children":null,"spread":false},{"title":"libzmq-v142-mt-4_3_5.lib <span style='color:#111;'> 15.95KB </span>","children":null,"spread":false}],"spread":true},{"title":"CMake","children":[{"title":"ZeroMQTargets-release.cmake <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"ZeroMQConfigVersion.cmake <span style='color:#111;'> 1.98KB </span>","children":null,"spread":false},{"title":"ZeroMQConfig.cmake <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"ZeroMQTargets.cmake <span style='color:#111;'> 4.24KB </span>","children":null,"spread":false},{"title":"ZeroMQTargets-debug.cmake <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false}],"spread":true},{"title":"bin","children":[{"title":"libzmq-v142-mt-4_3_5.dll <span style='color:#111;'> 415.00KB </span>","children":null,"spread":false},{"title":"proxy_thr.exe <span style='color:#111;'> 15.50KB </span>","children":null,"spread":false},{"title":"msvcp140_2.dll <span style='color:#111;'> 182.42KB </span>","children":null,"spread":false},{"title":"vcruntime140_1.dll <span style='color:#111;'> 36.38KB </span>","children":null,"spread":false},{"title":"local_thr.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"remote_lat.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"msvcp140_codecvt_ids.dll <span style='color:#111;'> 20.92KB </span>","children":null,"spread":false},{"title":"concrt140.dll <span style='color:#111;'> 310.41KB </span>","children":null,"spread":false},{"title":"local_lat.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"vcruntime140.dll <span style='color:#111;'> 95.92KB </span>","children":null,"spread":false},{"title":"msvcp140.dll <span style='color:#111;'> 553.42KB </span>","children":null,"spread":false},{"title":"libzmq-v142-mt-gd-4_3_5.pdb <span style='color:#111;'> 11.12MB </span>","children":null,"spread":false},{"title":"msvcp140_1.dll <span style='color:#111;'> 23.38KB </span>","children":null,"spread":false},{"title":"msvcp140_atomic_wait.dll <span style='color:#111;'> 55.92KB </span>","children":null,"spread":false},{"title":"inproc_thr.exe <span style='color:#111;'> 14.00KB </span>","children":null,"spread":false},{"title":"remote_thr.exe <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false},{"title":"libzmq-v142-mt-gd-4_3_5.dll <span style='color:#111;'> 1.46MB </span>","children":null,"spread":false},{"title":"inproc_lat.exe <span style='color:#111;'> 13.50KB </span>","children":null,"spread":false}],"spread":false},{"title":"share","children":[{"title":"zmq","children":[{"title":"AUTHORS.txt <span style='color:#111;'> 2.44KB </span>","children":null,"spread":false},{"title":"LICENSE.txt <span style='color:#111;'> 16.70KB </span>","children":null,"spread":false},{"title":"NEWS.txt <span style='color:#111;'> 82.33KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明