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

 

         

hydrolibs/hydroiceutil/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 HYDROICEUTIL_CATCHUTILS_H
00012 #define HYDROICEUTIL_CATCHUTILS_H
00013 
00014 #include <gbxutilacfr/subhealth.h>
00015 #include <gbxutilacfr/tracer.h>
00016 
00017 namespace hydroiceutil
00018 {
00019 
00020 
00041 std::string catchExceptions( gbxutilacfr::Tracer& tracer, const std::string& activity="" );
00042 
00064 std::string catchExceptionsWithSleep( gbxutilacfr::Tracer& tracer,
00065             const std::string& activity,
00066             int sleepIntervalMSec=1000 );
00067 
00088 std::string catchExceptionsWithStatus( const std::string& activity,
00089             gbxutilacfr::SubHealth& subHealth,
00090             gbxutilacfr::SubsystemHealth newHealth=gbxutilacfr::SubsystemFault );
00091 
00114 std::string catchExceptionsWithStatusAndSleep( const std::string& activity,
00115             gbxutilacfr::SubHealth& subHealth,
00116             gbxutilacfr::SubsystemHealth newHealth=gbxutilacfr::SubsystemFault,
00117             int sleepIntervalMSec=1000 );
00118 
00119 } // namespace
00120 
00121 
00122 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5