MCPcopy Create free account
hub / github.com/Tencent/TAD_Sim / publish

Method publish

simcore/framework/src/api/python/txsim_module.py:89–90  ·  view source on GitHub ↗
(self, topic)

Source from the content-addressed store, hash-verified

87 _InitHelper.FUNC_SUBSCRIBE(self.cbs[2])(self.data, _pystr2cstr(topic))
88 # 发布tcp通信方式的topic
89 def publish(self, topic):
90 _InitHelper.FUNC_PUBLISH(self.cbs[3])(self.data, _pystr2cstr(topic))
91 # 订阅共享内存通信方式的topic
92 def subscribe_shmem(self, topic):
93 _InitHelper.FUNC_SUBSCRIBE_SHMEM(self.cbs[4])(

Callers 2

on_initMethod · 0.80
StepMethod · 0.80

Calls 1

_pystr2cstrFunction · 0.85

Tested by

no test coverage detected