Functions
test_subscriber.cpp File Reference
#include <gtest/gtest.h>
#include "rosrt/rosrt.h"
#include <ros/ros.h>
#include <std_msgs/UInt32.h>
#include <boost/thread.hpp>
Include dependency graph for test_subscriber.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
void publishThread (ros::Publisher &pub, bool &done)
void subscribeThread (Subscriber< std_msgs::UInt32 > &sub, bool &failed)
 TEST (Subscriber, singleSubscriber)
 TEST (Subscriber, multipleSubscribersSameTopic)
 TEST (Subscriber, multipleSubscribersMultipleTopics)
 TEST (Subscriber, multipleThreadsSameTopic)

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 261 of file test_subscriber.cpp.

void publishThread ( ros::Publisher pub,
bool &  done 
)

Definition at line 47 of file test_subscriber.cpp.

void subscribeThread ( Subscriber< std_msgs::UInt32 > &  sub,
bool &  failed 
)

Definition at line 191 of file test_subscriber.cpp.

TEST ( Subscriber  ,
singleSubscriber   
)

Definition at line 60 of file test_subscriber.cpp.

TEST ( Subscriber  ,
multipleSubscribersSameTopic   
)

Definition at line 90 of file test_subscriber.cpp.

TEST ( Subscriber  ,
multipleSubscribersMultipleTopics   
)

Definition at line 139 of file test_subscriber.cpp.

TEST ( Subscriber  ,
multipleThreadsSameTopic   
)

Definition at line 231 of file test_subscriber.cpp.



rosrt
Author(s): Josh Faust
autogenerated on Sat Jun 8 2019 20:43:39