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 <boost/shared_ptr.hpp>
#include "ros/types.h"
#include "ros/time.h"
#include <boost/thread/mutex.hpp>
#include <boost/thread/shared_mutex.hpp>
#include <boost/thread/condition_variable.hpp>
#include <boost/thread/tss.hpp>
#include <list>
#include <deque>
#include <vector>
#include <ostream>
#include "ros/serialization.h"
#include "ros/builtin_message_traits.h"
#include "ros/message_operations.h"
#include "ros/message.h"
#include "ros/service_traits.h"
#include <boost/thread.hpp>
Include dependency graph for handles.cpp:
This graph shows which files directly or indirectly include this file:

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, nodeHandleShutdown)
 TEST (RoscppHandles, nodeHandleNames)
 TEST (RoscppHandles, trackedObjectWithSubscriptionCallback)
 TEST (RoscppHandles, trackedObjectWithServiceCallback)
 TEST (RoscppHandles, multiplePublishersWithSubscriberConnectCallback)
 TEST (RoscppHandles, spinAfterHandleShutdownWithAdvertiseSubscriberCallback)
 TEST (RoscppHandles, trackedObjectWithAdvertiseSubscriberCallback)
 TEST (RoscppHandles, serviceAdvMultiple)
 TEST (RoscppHandles, serviceAdvCopy)
 TEST (RoscppHandles, serviceAdv)
 TEST (RoscppHandles, publisherMultiple)
 TEST (RoscppHandles, publisherCopy)
 TEST (RoscppHandles, subscriberCopy)
 TEST (RoscppHandles, subscriberGetNumPublishers)
 TEST (RoscppHandles, subscriberSpinAfterSubscriberShutdown)
 TEST (RoscppHandles, subscriberDestructionMultipleCallbacks)
 TEST (RoscppHandles, subscriberValidity)
 TEST (RoscppHandles, nodeHandleParentWithRemappings)
 TEST (RoscppHandles, nodeHandleConstructionDestruction)

Variables

int32_t g_recv_count = 0
int32_t g_sub_count = 0

Function Documentation

void connectedCallback ( const ros::SingleSubscriberPublisher &  pub  ) 

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  ,
nodeHandleShutdown   
)

Definition at line 612 of file handles.cpp.

TEST ( RoscppHandles  ,
nodeHandleNames   
)

Definition at line 582 of file handles.cpp.

TEST ( RoscppHandles  ,
trackedObjectWithSubscriptionCallback   
)

Definition at line 550 of file handles.cpp.

TEST ( RoscppHandles  ,
trackedObjectWithServiceCallback   
)

Definition at line 528 of file handles.cpp.

TEST ( RoscppHandles  ,
multiplePublishersWithSubscriberConnectCallback   
)

Definition at line 496 of file handles.cpp.

TEST ( RoscppHandles  ,
spinAfterHandleShutdownWithAdvertiseSubscriberCallback   
)

Definition at line 476 of file handles.cpp.

TEST ( RoscppHandles  ,
trackedObjectWithAdvertiseSubscriberCallback   
)

Definition at line 441 of file handles.cpp.

TEST ( RoscppHandles  ,
serviceAdvMultiple   
)

Definition at line 423 of file handles.cpp.

TEST ( RoscppHandles  ,
serviceAdvCopy   
)

Definition at line 386 of file handles.cpp.

TEST ( RoscppHandles  ,
serviceAdv   
)

Definition at line 366 of file handles.cpp.

TEST ( RoscppHandles  ,
publisherMultiple   
)

Definition at line 324 of file handles.cpp.

TEST ( RoscppHandles  ,
publisherCopy   
)

Definition at line 285 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberCopy   
)

Definition at line 246 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberGetNumPublishers   
)

Definition at line 229 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberSpinAfterSubscriberShutdown   
)

Definition at line 204 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberDestructionMultipleCallbacks   
)

Definition at line 156 of file handles.cpp.

TEST ( RoscppHandles  ,
subscriberValidity   
)

Definition at line 145 of file handles.cpp.

TEST ( RoscppHandles  ,
nodeHandleParentWithRemappings   
)

Definition at line 91 of file handles.cpp.

TEST ( RoscppHandles  ,
nodeHandleConstructionDestruction   
)

Definition at line 55 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.

 All Classes Namespaces Files Functions Variables Typedefs Defines


test_roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Ken Conley kwc@willowgarage.com
autogenerated on Fri Jan 11 09:57:50 2013