// Generated by the C++ Middleware Writer version 1.10 #include #include #include #include uint16_t const msg_id_a1 = 1201; uint16_t const msg_id_max = 1202; extern uint32_t msg_length_max; struct msgs { void Send(SendCompressedBuffer* buf, const list& abt1) { unsigned int headCount = 0; buf->Receive(&msg_id_a1, sizeof(msg_id_a1)); Counter cntr(msg_length_max); cntr.Add(sizeof(int)); cntr.MultiplyAndAdd(abt1.size(), sizeof(int32_t)); buf->Receive(&cntr.value_, sizeof(cntr.value_)); headCount = abt1.size(); buf->Receive(&headCount, sizeof(headCount)); list::const_iterator mediator2 = abt1.begin(); list::const_iterator omega2 = abt1.end(); for (; mediator2 != omega2; ++mediator2) { buf->Receive(&(*mediator2), sizeof(int32_t)); } buf->Flush(); } template void Receive(B* buf, list& abt1) { unsigned int headCount[1]; buf->Give(headCount[0]); while (headCount[0] > 0) { --headCount[0]; int32_t rep3; buf->Give(rep3); abt1.push_back(rep3); } } };