#include <cstdlib>
#include <gtest/gtest.h>
#include <list>
#include "ros/ros.h"
#include "std_srvs/Empty.h"
#include <log4cxx/appenderskeleton.h>
#include <ros/console.h>
#include <ros/poll_manager.h>
Go to the source code of this file.
Classes | |
class | ListAppender |
Typedefs | |
typedef log4cxx::helpers::ObjectPtrT < ListAppender > | ListAppenderPtr |
Functions | |
int | main (int argc, char **argv) |
TEST (roscpp, ServiceThrowingException) | |
bool | throwingService (std_srvs::Empty::Request &req, std_srvs::Empty::Request &res) |
Variables | |
static const char | EXCEPTION [] = "custom exception message" |
static const char | SERVICE [] = "service_exception" |
typedef log4cxx::helpers::ObjectPtrT<ListAppender> ListAppenderPtr |
Definition at line 42 of file service_exception.cpp.
int main | ( | int | argc, |
char ** | argv | ||
) |
Definition at line 86 of file service_exception.cpp.
TEST | ( | roscpp | , |
ServiceThrowingException | |||
) |
Definition at line 54 of file service_exception.cpp.
bool throwingService | ( | std_srvs::Empty::Request & | req, |
std_srvs::Empty::Request & | res | ||
) |
Definition at line 46 of file service_exception.cpp.
const char EXCEPTION[] = "custom exception message" [static] |
Definition at line 44 of file service_exception.cpp.
const char SERVICE[] = "service_exception" [static] |
Definition at line 52 of file service_exception.cpp.