X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=tests%2Flib%2Futils%2Frun-in.hpp;fp=tests%2Flib%2Futils%2Frun-in.hpp;h=54e8ec20c3204401990e36f8e57ffa87b89b6a3b;hp=f887d7a1c59b717011d4a7be5954347bda596fbf;hb=a72c7ff699753ebaf571b69389354c40967731e7;hpb=1a5aac02b3747a5b87f27a18468f3d15f545356d diff --git a/tests/lib/utils/run-in.hpp b/tests/lib/utils/run-in.hpp index f887d7a1..54e8ec20 100644 --- a/tests/lib/utils/run-in.hpp +++ b/tests/lib/utils/run-in.hpp @@ -38,6 +38,12 @@ public: * Called when initializing the message iterator `self`. */ virtual void onMsgIterInit(bt2::SelfMessageIterator self); + + /* + * Called within the "next" method of `self` to return the messages + * `msgs`. + */ + virtual void onMsgIterNext(bt2::SelfMessageIterator self, bt2::ConstMessageArray& msgs); }; /*