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< FakeSubHelperFakeSubHelperPtr
 

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

Definition at line 98 of file test_subscription_queue.cpp.

Function Documentation

void callThread ( SubscriptionQueue queue)

Definition at line 213 of file test_subscription_queue.cpp.

void clearInCallbackCallback ( SubscriptionQueue queue)

Definition at line 189 of file test_subscription_queue.cpp.

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

Definition at line 206 of file test_subscription_queue.cpp.

int main ( int  argc,
char **  argv 
)

Definition at line 284 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
queueSize   
)

Definition at line 100 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
infiniteQueue   
)

Definition at line 133 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearCall   
)

Definition at line 164 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearThenAddAndCall   
)

Definition at line 176 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearInCallback   
)

Definition at line 194 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
clearWhileThreadIsBlocking   
)

Definition at line 218 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
concurrentCallbacks   
)

Definition at line 242 of file test_subscription_queue.cpp.

TEST ( SubscriptionQueue  ,
nonConcurrentOrdering   
)

Definition at line 265 of file test_subscription_queue.cpp.

void waitForASecond ( )

Definition at line 260 of file test_subscription_queue.cpp.

void waitForBarrier ( boost::barrier *  bar)

Definition at line 237 of file test_subscription_queue.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas
autogenerated on Mon Nov 2 2020 03:52:46