Flush the message buffer by sending all messages that are queued
| 120 | |
| 121 | // Flush the message buffer by sending all messages that are queued |
| 122 | void MessageBuffer::flush() |
| 123 | { |
| 124 | // Send all messages in all queues |
| 125 | for(size_t id = 0; id < m_msgQueues.size(); ++id) |
| 126 | { |
| 127 | // force the queue to send any pending messages |
| 128 | checkQueueForSend(id, SM_IMMEDIATE); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | // Check if all the queues are empty |
| 133 | bool MessageBuffer::transmitBufferEmpty() const |
no test coverage detected