We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6bca0b commit 3b864c2Copy full SHA for 3b864c2
rosbag2_cpp/include/rosbag2_cpp/cache/circular_message_cache.hpp
@@ -58,8 +58,8 @@ class ROSBAG2_CPP_PUBLIC CircularMessageCache
58
59
/// Puts msg into circular buffer, replacing the oldest msg when buffer is full
60
/// \return True if message was successfully pushed, otherwise false.
61
- /// NOTE: This will always return true, since the circular buffer by design drops old messages
62
- /// when the buffer is full.
+ /// NOTE: Unless message is null or too large for the buffer, this will always return true
+ /// since the circular buffer by design drops old messages when the buffer is full.
63
bool push(std::shared_ptr<const rosbag2_storage::SerializedBagMessage> msg) override;
64
65
/// Get current buffer to consume.
0 commit comments