MCPcopy Create free account
hub / github.com/acl-dev/acl / trigger

Method trigger

lib_acl_cpp/src/ipc/ipc_client.cpp:248–261  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248void ipc_client::trigger(int nMsg, void* data, int dlen)
249{
250 std::list<int>::iterator it = messages_.begin();
251
252 // ����Ϣ�Ƿ��Ѿ��������Ѿ�ע�����Ϣ������
253 for (; it != messages_.end(); ++it) {
254 if (*it == nMsg) {
255 on_message(nMsg, data, dlen);
256 return;
257 }
258 }
259
260 logger_warn("unknown msg: %d", nMsg);
261}
262
263bool ipc_client::read_callback(char* data, int len)
264{

Callers 7

runMethod · 0.45
timer_callbackFunction · 0.45
yFunction · 0.45
highcharts.jsFile · 0.45

Calls 2

beginMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected