* Copyright (C) 2020-2023 EfficiOS, inc.
*/
-#ifndef TESTS_LIB_UTILS_H
-#define TESTS_LIB_UTILS_H
+#ifndef TESTS_LIB_UTILS_RUN_IN_HPP
+#define TESTS_LIB_UTILS_RUN_IN_HPP
#include <babeltrace2/babeltrace.h>
* 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);
};
/*
*/
void runIn(RunIn& runIn);
-#endif /* TESTS_LIB_UTILS_H */
+#endif /* TESTS_LIB_UTILS_RUN_IN_HPP */