* Receive message object * @param ms {int} When >= 0, set read wait timeout (milliseconds), otherwise * wait forever until message object is read or error occurs * @param success {bool*} Can be used to help determine whether read operation * was successful * @return {T*} Non-NULL indicates a message object was read. When NULL, need * to check through * success parameter return valu
| 91 | * @override |
| 92 | */ |
| 93 | T* pop(int ms = -1, bool* success = NULL) { |
| 94 | return (T*) mbox_read(mbox_, ms, success); |
| 95 | } |
| 96 | |
| 97 | // @override |
| 98 | size_t pop(std::vector<T*>& out, size_t max, int ms) { |