Processes the queued shared messages.
| 141 | //**************************************** |
| 142 | // Processes the queued shared messages. |
| 143 | void process_queue() |
| 144 | { |
| 145 | while (!queue.empty()) |
| 146 | { |
| 147 | // Get the shared message from the queue. |
| 148 | etl::shared_message shared_msg = queue.front(); |
| 149 | |
| 150 | Print("MessageRouter2 : Process queued shared message", shared_msg); |
| 151 | |
| 152 | // Send it to the base implementation for routing. |
| 153 | base_t::receive(shared_msg); |
| 154 | |
| 155 | queue.pop(); |
| 156 | } |
| 157 | } |
| 158 | |
| 159 | //**************************************** |
| 160 | void on_receive(const Message1& msg) |