Classes | Namespaces | Typedefs | Functions
msg_cache_unittest.cpp File Reference
#include <gtest/gtest.h>
#include "ros/time.h"
#include <ros/init.h>
#include "message_filters/cache.h"
Include dependency graph for msg_cache_unittest.cpp:

Go to the source code of this file.

Classes

struct  EventHelper
 
struct  Header
 
struct  Msg
 
struct  ros::message_traits::TimeStamp< Msg >
 

Namespaces

 ros
 
 ros::message_traits
 

Typedefs

typedef boost::shared_ptr< Msg const > MsgConstPtr
 

Functions

boost::shared_ptr< Msg const > buildMsg (double time, int data)
 
void fillCacheEasy (Cache< Msg > &cache, unsigned int start, unsigned int end)
 
int main (int argc, char **argv)
 
 TEST (Cache, easyElemBeforeAfter)
 
 TEST (Cache, easyInterval)
 
 TEST (Cache, easySurroundingInterval)
 
 TEST (Cache, easyUnsorted)
 
 TEST (Cache, eventInEventOut)
 

Typedef Documentation

◆ MsgConstPtr

Definition at line 55 of file msg_cache_unittest.cpp.

Function Documentation

◆ buildMsg()

boost::shared_ptr<Msg const> buildMsg ( double  time,
int  data 
)

Definition at line 137 of file msg_cache_unittest.cpp.

◆ fillCacheEasy()

void fillCacheEasy ( Cache< Msg > &  cache,
unsigned int  start,
unsigned int  end 
)

Definition at line 73 of file msg_cache_unittest.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 219 of file msg_cache_unittest.cpp.

◆ TEST() [1/5]

TEST ( Cache  ,
easyElemBeforeAfter   
)

Definition at line 174 of file msg_cache_unittest.cpp.

◆ TEST() [2/5]

TEST ( Cache  ,
easyInterval   
)

Definition at line 87 of file msg_cache_unittest.cpp.

◆ TEST() [3/5]

TEST ( Cache  ,
easySurroundingInterval   
)

Definition at line 109 of file msg_cache_unittest.cpp.

◆ TEST() [4/5]

TEST ( Cache  ,
easyUnsorted   
)

Definition at line 147 of file msg_cache_unittest.cpp.

◆ TEST() [5/5]

TEST ( Cache  ,
eventInEventOut   
)

Definition at line 205 of file msg_cache_unittest.cpp.



message_filters
Author(s): Josh Faust, Vijay Pradeep, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:01:54