Classes | Functions | Variables
subscribe_unsubscribe.cpp File Reference
#include <string>
#include <gtest/gtest.h>
#include <time.h>
#include <stdlib.h>
#include "ros/ros.h"
#include <test_roscpp/TestArray.h>
#include <boost/thread.hpp>
Include dependency graph for subscribe_unsubscribe.cpp:

Go to the source code of this file.

Classes

class  Subscriptions

Functions

int main (int argc, char **argv)
void spinThread (bool volatile *cont)
 TEST_F (Subscriptions, subUnsub)
 TEST_F (Subscriptions, unsubInCallback)
 TEST_F (Subscriptions, unsubInCallbackAndOtherThread)
void unsubscribeAfterBarrierWait (boost::barrier *barrier, ros::Subscriber &sub)

Variables

int g_argc
char ** g_argv

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 148 of file subscribe_unsubscribe.cpp.

void spinThread ( bool volatile *  cont)

Definition at line 111 of file subscribe_unsubscribe.cpp.

TEST_F ( Subscriptions  ,
subUnsub   
)

Definition at line 78 of file subscribe_unsubscribe.cpp.

TEST_F ( Subscriptions  ,
unsubInCallback   
)

Definition at line 100 of file subscribe_unsubscribe.cpp.

TEST_F ( Subscriptions  ,
unsubInCallbackAndOtherThread   
)

Definition at line 127 of file subscribe_unsubscribe.cpp.

void unsubscribeAfterBarrierWait ( boost::barrier *  barrier,
ros::Subscriber sub 
)

Definition at line 120 of file subscribe_unsubscribe.cpp.


Variable Documentation

int g_argc

Definition at line 48 of file subscribe_unsubscribe.cpp.

char** g_argv

Definition at line 49 of file subscribe_unsubscribe.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Tue Mar 7 2017 03:45:24