orca-robotics


INTRODUCTION
Overview
Download and Install
Quick Start
Documentation
Publications

REPOSITORY
Interfaces
Components
Libraries
Utilities
Software Map

DEVELOPER
Tutorials
Examples
Dev Guide
Dashboard
Wiki
login/pass: orca/orca

PEOPLE
Contributors
Users

SourceForge.net Logo
Project
Download
Mailing lists

 

         

catchutils.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2008 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/substatus.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, const std::string& activity, int sleepIntervalMSec=1000 );
00067 
00088 std::string catchExceptionsWithStatus( const std::string& activity, 
00089             gbxutilacfr::SubStatus& subStatus, gbxutilacfr::SubsystemHealth newHealth=gbxutilacfr::SubsystemFault );
00090 
00113 std::string catchExceptionsWithStatusAndSleep( const std::string& activity, 
00114             gbxutilacfr::SubStatus& subStatus, gbxutilacfr::SubsystemHealth newHealth=gbxutilacfr::SubsystemFault, 
00115             int sleepIntervalMSec=1000 );
00116 
00123 void catchMainLoopExceptions( gbxutilacfr::SubStatus& subStatus );
00124 
00125 } // namespace
00126 
00127 
00128 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5