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

Go to the source code of this file.

Classes

class  ServiceClass
class  SubscribeHelper

Functions

void connectedCallback (const ros::SingleSubscriberPublisher &pub)
int main (int argc, char **argv)
void pump (ros::CallbackQueue *queue)
bool serviceCallback (TestStringString::Request &req, TestStringString::Response &res)
void subscriberCallback (const test_roscpp::TestArray::ConstPtr &msg)
 TEST (RoscppHandles, nodeHandleConstructionDestruction)
 TEST (RoscppHandles, nodeHandleParentWithRemappings)
 TEST (RoscppHandles, subscriberValidity)
 TEST (RoscppHandles, subscriberDestructionMultipleCallbacks)
 TEST (RoscppHandles, subscriberSpinAfterSubscriberShutdown)
 TEST (RoscppHandles, subscriberGetNumPublishers)
 TEST (RoscppHandles, subscriberCopy)
 TEST (RoscppHandles, publisherCopy)
 TEST (RoscppHandles, publisherMultiple)
 TEST (RoscppHandles, serviceAdv)
 TEST (RoscppHandles, serviceAdvCopy)
 TEST (RoscppHandles, serviceAdvMultiple)
 TEST (RoscppHandles, trackedObjectWithAdvertiseSubscriberCallback)
 TEST (RoscppHandles, spinAfterHandleShutdownWithAdvertiseSubscriberCallback)
 TEST (RoscppHandles, multiplePublishersWithSubscriberConnectCallback)
 TEST (RoscppHandles, trackedObjectWithServiceCallback)
 TEST (RoscppHandles, trackedObjectWithSubscriptionCallback)
 TEST (RoscppHandles, nodeHandleNames)
 TEST (RoscppHandles, nodeHandleShutdown)

Variables

int32_t g_recv_count = 0
int32_t g_sub_count = 0

Function Documentation

Definition at line 436 of file handles.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 627 of file handles.cpp.

void pump ( ros::CallbackQueue queue)

Definition at line 358 of file handles.cpp.

bool serviceCallback ( TestStringString::Request &  req,
TestStringString::Response &  res 
)

Definition at line 353 of file handles.cpp.

void subscriberCallback ( const test_roscpp::TestArray::ConstPtr &  msg)

Definition at line 125 of file handles.cpp.

TEST ( RoscppHandles  ,
nodeHandleConstructionDestruction   
)

Definition at line 55 of file handles.cpp.

TEST ( RoscppHandles  ,
nodeHandleParentWithRemappings   
)

Definition at line 91 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberValidity   
)

Definition at line 145 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberDestructionMultipleCallbacks   
)

Definition at line 156 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberSpinAfterSubscriberShutdown   
)

Definition at line 204 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberGetNumPublishers   
)

Definition at line 229 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberCopy   
)

Definition at line 246 of file handles.cpp.

TEST ( RoscppHandles  ,
publisherCopy   
)

Definition at line 285 of file handles.cpp.

TEST ( RoscppHandles  ,
publisherMultiple   
)

Definition at line 324 of file handles.cpp.

TEST ( RoscppHandles  ,
serviceAdv   
)

Definition at line 366 of file handles.cpp.

TEST ( RoscppHandles  ,
serviceAdvCopy   
)

Definition at line 386 of file handles.cpp.

TEST ( RoscppHandles  ,
serviceAdvMultiple   
)

Definition at line 423 of file handles.cpp.

TEST ( RoscppHandles  ,
trackedObjectWithAdvertiseSubscriberCallback   
)

Definition at line 441 of file handles.cpp.

TEST ( RoscppHandles  ,
spinAfterHandleShutdownWithAdvertiseSubscriberCallback   
)

Definition at line 476 of file handles.cpp.

TEST ( RoscppHandles  ,
multiplePublishersWithSubscriberConnectCallback   
)

Definition at line 496 of file handles.cpp.

TEST ( RoscppHandles  ,
trackedObjectWithServiceCallback   
)

Definition at line 528 of file handles.cpp.

TEST ( RoscppHandles  ,
trackedObjectWithSubscriptionCallback   
)

Definition at line 550 of file handles.cpp.

TEST ( RoscppHandles  ,
nodeHandleNames   
)

Definition at line 582 of file handles.cpp.

TEST ( RoscppHandles  ,
nodeHandleShutdown   
)

Definition at line 612 of file handles.cpp.


Variable Documentation

int32_t g_recv_count = 0

Definition at line 124 of file handles.cpp.

int32_t g_sub_count = 0

Definition at line 435 of file handles.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Fri Aug 28 2015 12:33:59