#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/scoped_ptr.hpp>
Go to the source code of this file.
Classes | |
class | SteadyTimerHelper |
class | TimerHelper |
class | Tracked |
class | WallTimerHelper |
Functions | |
int | main (int argc, char **argv) |
void | steadyTimerCallback (const ros::SteadyTimerEvent &) |
TEST (RoscppTimerCallbacks, singleSteadyTimeCallback) | |
TEST (RoscppTimerCallbacks, multipleSteadyTimeCallbacks) | |
TEST (RoscppTimerCallbacks, steadySetPeriod) | |
TEST (RoscppTimerCallbacks, stopSteadyTimer) | |
TEST (RoscppTimerCallbacks, steadyStopThenSpin) | |
TEST (RoscppTimerCallbacks, oneShotSteadyTimer) | |
TEST (RoscppTimerCallbacks, singleWallTimeCallback) | |
TEST (RoscppTimerCallbacks, multipleWallTimeCallbacks) | |
TEST (RoscppTimerCallbacks, setPeriod) | |
TEST (RoscppTimerCallbacks, stopWallTimer) | |
TEST (RoscppTimerCallbacks, stopThenSpin) | |
TEST (RoscppTimerCallbacks, oneShotWallTimer) | |
TEST (RoscppTimerCallbacks, singleROSTimeCallback) | |
TEST (RoscppTimerCallbacks, singleROSTimeCallbackFromRate) | |
TEST (RoscppTimerCallbacks, oneshotROSTimer) | |
TEST (RoscppTimerCallbacks, singleROSTimeCallbackLargeTimestep) | |
TEST (RoscppTimerCallbacks, multipleROSTimeCallbacks) | |
TEST (RoscppTimerCallbacks, trackedObject) | |
TEST (RoscppTimerCallbacks, stopROSTimer) | |
void | timerCallback (const ros::WallTimerEvent &) |
Variables | |
int32_t | g_count = 0 |
std::string | g_node_name = "test_timer_callbacks" |
int32_t | g_steady_count = 0 |
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 949 of file timer_callbacks.cpp.
void steadyTimerCallback | ( | const ros::SteadyTimerEvent & | ) |
Definition at line 318 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleSteadyTimeCallback | |||
) |
Definition at line 155 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
multipleSteadyTimeCallbacks | |||
) |
Definition at line 179 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
steadySetPeriod | |||
) |
Definition at line 215 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopSteadyTimer | |||
) |
Definition at line 293 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
steadyStopThenSpin | |||
) |
Definition at line 323 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
oneShotSteadyTimer | |||
) |
Definition at line 337 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleWallTimeCallback | |||
) |
Definition at line 448 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
multipleWallTimeCallbacks | |||
) |
Definition at line 472 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
setPeriod | |||
) |
Definition at line 508 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopWallTimer | |||
) |
Definition at line 590 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopThenSpin | |||
) |
Definition at line 620 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
oneShotWallTimer | |||
) |
Definition at line 634 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallback | |||
) |
Definition at line 682 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallbackFromRate | |||
) |
Definition at line 716 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
oneshotROSTimer | |||
) |
Definition at line 750 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
singleROSTimeCallbackLargeTimestep | |||
) |
Definition at line 780 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
multipleROSTimeCallbacks | |||
) |
Definition at line 814 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
trackedObject | |||
) |
Definition at line 882 of file timer_callbacks.cpp.
TEST | ( | RoscppTimerCallbacks | , |
stopROSTimer | |||
) |
Definition at line 916 of file timer_callbacks.cpp.
void timerCallback | ( | const ros::WallTimerEvent & | ) |
Definition at line 615 of file timer_callbacks.cpp.
int32_t g_count = 0 |
Definition at line 614 of file timer_callbacks.cpp.
std::string g_node_name = "test_timer_callbacks" |
Definition at line 55 of file timer_callbacks.cpp.
int32_t g_steady_count = 0 |
Definition at line 317 of file timer_callbacks.cpp.