libicsneo/include/icsneo/communication/message/callback
Paul Hollinsky c32d027b2d MessageCallback: Tolerate being created with nullptr filter
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).
2022-02-21 22:55:49 -05:00
..
canmessagecallback.h Add missing C++ guards 2020-08-18 16:01:51 -04:00
main51messagecallback.h Add missing C++ guards 2020-08-18 16:01:51 -04:00
messagecallback.h MessageCallback: Tolerate being created with nullptr filter 2022-02-21 22:55:49 -05:00