Communication does this in waitForMessageSync if a filter is not passed in. This fixes a crash in icsneoWaitForRxMessagesWithTimeOut for the legacy API. For good measure, creation with an empty std::function will immediately throw an std::bad_function_call back at the caller, rather than letting that happen on the callback thread. I'm also making the members const here so they are provably always non-null (and not empty, for the function). |
||
|---|---|---|
| .. | ||
| message | ||
| packet | ||
| command.h | ||
| communication.h | ||
| decoder.h | ||
| driver.h | ||
| encoder.h | ||
| ethernetpacketizer.h | ||
| io.h | ||
| multichannelcommunication.h | ||
| network.h | ||
| packet.h | ||
| packetizer.h | ||