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

Method append_message

lib_acl_cpp/src/ipc/ipc_client.cpp:194–206  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192}
193
194void ipc_client::append_message(int nMsg)
195{
196 std::list<int>::iterator it = messages_.begin();
197
198 // ����Ϣ�Ƿ��Ѿ��������Ѿ�ע�����Ϣ������
199 for (; it != messages_.end(); ++it) {
200 if (*it == nMsg) {
201 return;
202 }
203 }
204
205 messages_.push_back(nMsg);
206}
207
208void ipc_client::delete_message(int nMsg)
209{

Callers 6

on_openMethod · 0.80
on_acceptMethod · 0.80
on_acceptMethod · 0.80
on_acceptMethod · 0.80
on_acceptMethod · 0.80
on_acceptMethod · 0.80

Calls 3

beginMethod · 0.80
endMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected