1 #ifndef _RAPID_TESTING_ROSOUT_TEST_HELPER_H_
2 #define _RAPID_TESTING_ROSOUT_TEST_HELPER_H_
7 #include "rosgraph_msgs/Log.h"
29 const ros::Duration& timeout)
const;
35 std::vector<rosgraph_msgs::Log>
messages()
const;
53 void Callback(
const rosgraph_msgs::Log& msg);
54 bool WasLevelPublished(int8_t level)
const;
57 ros::Subscriber rosout_sub_;
58 std::vector<rosgraph_msgs::Log> messages_;
62 #endif // _RAPID_TESTING_ROSOUT_TEST_HELPER_H_
std::vector< rosgraph_msgs::Log > messages() const
bool WasInfoPublished() const
bool WaitForMessageCount(size_t num_messages, const ros::Duration &timeout) const
bool WasDebugPublished() const
bool WasFatalPublished() const
bool WasWarningPublished() const
bool WasErrorPublished() const