eprosima::fastdds::dds::DataReaderListener::on_data_available() with const qualifier #4419
Closed
manuelValch
started this conversation in
Support
Replies: 1 comment 7 replies
-
Hi @manuelValch, I'm wondering what's your use case; |
Beta Was this translation helpful? Give feedback.
7 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
trying to call
on_data_available()
method directly from my application (instead of calling it from fastdds thread and context).Though this method does not have a const qualifier and thus can not being called on a Listener obtained via
dataReader.get_listener()
(which return const).I can still bypass the issue (with some dirty tricks ctype casts).
Though I wonder if this should be translated as an issue or if there is a cleaner way to call DataReaderListener callbacks ?
Beta Was this translation helpful? Give feedback.
All reactions