INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

NONFRAMEWORK CODE
Driver Interfaces
Drivers
Libraries
Utilities

FRAMEWORK CODE
Interfaces
Components
Libraries
Utilities

Full Software Listings

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

libs/orcaice/catchutils.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2009 Alex Brooks, Alexei Makarenko, Tobias Kaupp
00005  *
00006  * This copy of Orca is licensed to you under the terms described in
00007  * the LICENSE file included in this distribution.
00008  *
00009  */
00010 
00011 #ifndef ORCAICE_CATCHUTILS_H
00012 #define ORCAICE_CATCHUTILS_H
00013 
00014 #include <gbxutilacfr/subhealth.h>
00015 #include <gbxutilacfr/tracer.h>
00016 
00017 namespace orcaice
00018 {
00019 
00020 
00043 std::string catchExceptions( gbxutilacfr::Tracer& tracer, const std::string& activity="" );
00044 
00066 std::string catchExceptionsWithSleep( gbxutilacfr::Tracer& tracer, 
00067             const std::string& activity, 
00068             int sleepIntervalMSec=1000 );
00069 
00090 std::string catchExceptionsWithStatus( const std::string& activity, 
00091             gbxutilacfr::SubHealth& subHealth, 
00092             gbxutilacfr::SubsystemHealth newHealth=gbxutilacfr::SubsystemFault );
00093 
00116 std::string catchExceptionsWithStatusAndSleep( const std::string& activity, 
00117             gbxutilacfr::SubHealth& subHealth, 
00118             gbxutilacfr::SubsystemHealth newHealth=gbxutilacfr::SubsystemFault, 
00119             int sleepIntervalMSec=1000 );
00120 
00127 void catchMainLoopExceptions( gbxutilacfr::SubHealth& subHealth );
00128 
00129 } // namespace
00130 
00131 
00132 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5