Classes | Typedefs | Functions | Variables
service_exception.cpp File Reference
#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>
Include dependency graph for service_exception.cpp:

Go to the source code of this file.

Classes

class  ListAppender
 

Typedefs

typedef log4cxx::helpers::ObjectPtrT< ListAppenderListAppenderPtr
 

Functions

int main (int argc, char **argv)
 
 TEST (roscpp, ServiceThrowingException)
 
bool throwingService (std_srvs::Empty::Request &, std_srvs::Empty::Request &)
 

Variables

static const char EXCEPTION [] = "custom exception message"
 
static const char SERVICE [] = "service_exception"
 

Typedef Documentation

◆ ListAppenderPtr

typedef log4cxx::helpers::ObjectPtrT<ListAppender> ListAppenderPtr

Definition at line 46 of file service_exception.cpp.

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 95 of file service_exception.cpp.

◆ TEST()

TEST ( roscpp  ,
ServiceThrowingException   
)

Definition at line 58 of file service_exception.cpp.

◆ throwingService()

bool throwingService ( std_srvs::Empty::Request &  ,
std_srvs::Empty::Request &   
)

Definition at line 50 of file service_exception.cpp.

Variable Documentation

◆ EXCEPTION

const char EXCEPTION[] = "custom exception message"
static

Definition at line 48 of file service_exception.cpp.

◆ SERVICE

const char SERVICE[] = "service_exception"
static

Definition at line 56 of file service_exception.cpp.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim, Dirk Thomas , Jacob Perron
autogenerated on Thu Nov 23 2023 04:02:03