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 Project Download Mailing lists
|
libs/orcasystemstatusutil/stringutils.h00001 /* 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 ORCASYSTEMSTATUSUTIL_STRING_UTILS_H 00012 #define ORCASYSTEMSTATUSUTIL_STRING_UTILS_H 00013 00014 #include <orca/systemstatus.h> 00015 00016 namespace orcasystemstatusutil { 00017 00019 std::string toIcon( const orca::ComponentState& ); 00020 00022 std::string toString( const orca::ComponentState& ); 00023 00025 std::string toString( const orca::ComponentHealth& ); 00026 00028 std::string toString( const orca::ComponentHealth& health, bool isStalled ); 00029 00032 std::string toStringIntialisingOnly( const orca::SubsystemStatusDict& subsystems, int indent=0 ); 00033 00035 std::string toStringImportantOnly( const orca::SubsystemStatusDict& s, int indent=0 ); 00037 std::string toStringImportantOnly( const orca::ComponentStatus& s, int indent=0 ); 00039 std::string toStringImportantOnly( const orca::EstimatedComponentStatus& s, int indent=0 ); 00040 00041 } 00042 00043 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)