Defines | Functions | Variables
subscribe_self.cpp File Reference
#include <string>
#include <gtest/gtest.h>
#include <stdlib.h>
#include "ros/ros.h"
#include <test_roscpp/TestArray.h>
Include dependency graph for subscribe_self.cpp:

Go to the source code of this file.

Defines

#define USAGE   "USAGE: sub_pub <count> <time>"

Functions

int main (int argc, char **argv)
void messageCallback (const test_roscpp::TestArrayConstPtr &msg)
void subscriberCallback (const ros::SingleSubscriberPublisher &, const ros::Publisher &pub)
 TEST (SelfSubscribe, advSub)

Variables

ros::Duration g_dt
bool g_failure = false
int g_msg_count
int32_t g_msg_i = -1
uint32_t g_options = 0
bool g_success = false

Define Documentation

#define USAGE   "USAGE: sub_pub <count> <time>"

Definition at line 134 of file subscribe_self.cpp.


Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 137 of file subscribe_self.cpp.

void messageCallback ( const test_roscpp::TestArrayConstPtr &  msg)

Definition at line 63 of file subscribe_self.cpp.

Definition at line 52 of file subscribe_self.cpp.

TEST ( SelfSubscribe  ,
advSub   
)

Definition at line 82 of file subscribe_self.cpp.


Variable Documentation

Definition at line 46 of file subscribe_self.cpp.

bool g_failure = false

Definition at line 49 of file subscribe_self.cpp.

Definition at line 45 of file subscribe_self.cpp.

int32_t g_msg_i = -1

Definition at line 50 of file subscribe_self.cpp.

uint32_t g_options = 0

Definition at line 47 of file subscribe_self.cpp.

bool g_success = false

Definition at line 48 of file subscribe_self.cpp.



test_roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Ken Conley kwc@willowgarage.com
autogenerated on Sat Dec 28 2013 17:36:21