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

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

Definition at line 42 of file service_exception.cpp.


Function Documentation

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.


Variable Documentation

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.



test_roscpp
Author(s): Morgan Quigley, Josh Faust, Brian Gerkey, Troy Straszheim
autogenerated on Mon Oct 6 2014 11:47:21