MCPcopy Create free account
hub / github.com/acl-dev/acl / pop

Method pop

lib_acl_cpp/include/acl_cpp/stdlib/mbox.hpp:93–95  ·  view source on GitHub ↗

* 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

Source from the content-addressed store, hash-verified

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) {

Callers 1

runMethod · 0.45

Calls 2

mbox_readFunction · 0.50
push_backMethod · 0.45

Tested by

no test coverage detected