-
Notifications
You must be signed in to change notification settings - Fork 182
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[core] event handling cleanup #1921
Conversation
…vent` and `ePublisherEvent` enums. Removed `clock` field from `SPubEventCallbackData` and `SSubEventCallbackData` structs. Added `FireDroppedEvent` function to `CSubscriberImpl` and updated dropped message handling.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
clang-tidy made some suggestions
default: | ||
std::cout << "event : " << "unknown" << std::endl; | ||
std::cout << "event : " << "unknown" << std::endl; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl]
std::cout << "event : " << "unknown" << std::endl; | |
std::cout << "event : " << "unknown" << '\n'; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
…CAL_OS_WINDOWS (compare process_name/unit_name failed core_test.cpp line 127)
Strictly speaking, the header files from ecal core (like ecal_os.h) are no longer available, when using So back to this test: I am not sure if this tests links both |
Description
corrupted
andupdate_connection
events fromeSubscriberEvent
andePublisherEvent
enums.clock
field fromSPubEventCallbackData
andSSubEventCallbackData
structs.FireDroppedEvent
function toCSubscriberImpl
.