#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>
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, unsubInCallbackAndOtherThread) | |
TEST_F (Subscriptions, unsubInCallback) | |
TEST_F (Subscriptions, subUnsub) | |
void | unsubscribeAfterBarrierWait (boost::barrier *barrier, ros::Subscriber &sub) |
Variables | |
int | g_argc |
char ** | g_argv |
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 | , | |
unsubInCallbackAndOtherThread | ||||
) |
Definition at line 127 of file subscribe_unsubscribe.cpp.
TEST_F | ( | Subscriptions | , | |
unsubInCallback | ||||
) |
Definition at line 100 of file subscribe_unsubscribe.cpp.
TEST_F | ( | Subscriptions | , | |
subUnsub | ||||
) |
Definition at line 78 of file subscribe_unsubscribe.cpp.
void unsubscribeAfterBarrierWait | ( | boost::barrier * | barrier, | |
ros::Subscriber & | sub | |||
) |
Definition at line 120 of file subscribe_unsubscribe.cpp.
int g_argc |
Definition at line 48 of file subscribe_unsubscribe.cpp.
char** g_argv |
Definition at line 49 of file subscribe_unsubscribe.cpp.