| 22 | } |
| 23 | |
| 24 | void initialise_mpr_streams() |
| 25 | { |
| 26 | for (int i = 0; i < NUM_MESSAGE_CHANNELS; ++i) |
| 27 | { |
| 28 | mpr_stream_buf* pmsb = |
| 29 | new mpr_stream_buf(static_cast<msg_channel_type>(i)); |
| 30 | ostream* pos = new ostream(pmsb); |
| 31 | (*pos) << nounitbuf; |
| 32 | stream_ptrs.push_back(pos); |
| 33 | stream_buffers.push_back(pmsb); |
| 34 | } |
| 35 | stream << nounitbuf; |
| 36 | } |
| 37 | |
| 38 | void deinitialise_mpr_streams() |
| 39 | { |
no test coverage detected