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
|
datetime.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, Ben Upcroft 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 ORCAOBJ_DATETIME_H 00012 #define ORCAOBJ_DATETIME_H 00013 00014 #include <Ice/Properties.h> 00015 #include <orca/datetime.h> 00016 00017 namespace orcaobj 00018 { 00019 00024 std::string toStringDuration( const orca::Time& ); 00029 int toTimeDuration( const std::string &, orca::Time& ); 00030 00033 std::string toString( const orca::Time& ); 00035 std::string toString( const orca::TimeOfDay& ); 00037 std::string toString( const orca::Date& ); 00038 00041 int getPropertyAsTimeDuration( const Ice::PropertiesPtr &, const ::std::string& key, orca::Time &value ); 00043 orca::Time getPropertyAsTimeDurationWithDefault( const Ice::PropertiesPtr &, const ::std::string& key, const orca::Time &d ); 00044 00048 bool isSane( const orca::Time& obj, std::string& reason ); 00049 00050 } // namespace 00051 00052 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)