Classes | Typedefs | Functions
test_subscription_queue.cpp File Reference
#include <gtest/gtest.h>
#include "ros/subscription_queue.h"
#include "ros/message_deserializer.h"
#include "ros/callback_queue_interface.h"
#include "ros/subscription_callback_helper.h"
#include "ros/init.h"
#include <boost/shared_array.hpp>
#include <boost/bind.hpp>
#include <boost/thread.hpp>
Include dependency graph for test_subscription_queue.cpp:

Go to the source code of this file.

Classes

class  FakeMessage
class  FakeSubHelper

Typedefs

typedef boost::shared_ptr
< FakeSubHelper
FakeSubHelperPtr

Functions

void callThread (SubscriptionQueue &queue)
void clearInCallbackCallback (SubscriptionQueue &queue)
void clearWhileThreadIsBlockingCallback (bool *done, boost::barrier *barrier)
int main (int argc, char **argv)
 TEST (SubscriptionQueue, queueSize)
 TEST (SubscriptionQueue, infiniteQueue)
 TEST (SubscriptionQueue, clearCall)
 TEST (SubscriptionQueue, clearThenAddAndCall)
 TEST (SubscriptionQueue, clearInCallback)
 TEST (SubscriptionQueue, clearWhileThreadIsBlocking)
 TEST (SubscriptionQueue, concurrentCallbacks)
 TEST (SubscriptionQueue, nonConcurrentOrdering)
void waitForASecond ()
void waitForBarrier (boost::barrier *bar)

Typedef Documentation

typedef boost::shared_ptr<FakeSubHelper> FakeSubHelperPtr

Definition at line 96 of file test_subscription_queue.cpp.


Function Documentation

void callThread ( SubscriptionQueue queue)

Definition at line 211 of file test_subscription_queue.cpp.

Definition at line 187 of file test_subscription_queue.cpp.

void clearWhileThreadIsBlockingCallback ( bool *  done,
boost::barrier *  barrier 
)

Definition at line 204 of file test_subscription_queue.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 282 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
queueSize   
)

Definition at line 98 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
infiniteQueue   
)

Definition at line 131 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearCall   
)

Definition at line 162 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearThenAddAndCall   
)

Definition at line 174 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearInCallback   
)

Definition at line 192 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearWhileThreadIsBlocking   
)

Definition at line 216 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
concurrentCallbacks   
)

Definition at line 240 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
nonConcurrentOrdering   
)

Definition at line 263 of file test_subscription_queue.cpp.

void waitForASecond ( )

Definition at line 258 of file test_subscription_queue.cpp.

void waitForBarrier ( boost::barrier *  bar)

Definition at line 235 of file test_subscription_queue.cpp.



roscpp
Author(s): Morgan Quigley mquigley@cs.stanford.edu, Josh Faust jfaust@willowgarage.com, Brian Gerkey gerkey@willowgarage.com, Troy Straszheim straszheim@willowgarage.com
autogenerated on Sat Dec 28 2013 17:35:53