|
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 Project Download Mailing lists
|
pathfilehandler.h00001 /* 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 PATH_FILE_HANDLER_H 00012 #define PATH_FILE_HANDLER_H 00013 00014 #include <QString> 00015 #include <hydroqguipath/pathutils.h> 00016 00017 namespace orcaqgui2d { 00018 00019 class IHumanManager; 00020 00026 class PathFileHandler 00027 { 00028 public: 00029 00030 PathFileHandler( hydroqguielementutil::IHumanManager &humanManager, 00031 const QString &lastSavedPathFile = "" ); 00032 00033 void savePath( const QString &filename, 00034 const hydroqguipath::GuiPath &guiPath, 00035 int numLoops = 1, 00036 float timeOffset = 0.0 ); 00037 00038 void loadPath( const QString &filename, 00039 hydroqguipath::GuiPath &guiPath ); 00040 00041 void loadPreviousPath( hydroqguipath::GuiPath &guiPath ); 00042 00043 00044 private: 00045 00046 hydroqguielementutil::IHumanManager &humanManager_; 00047 QString lastSavedPathFile_; 00048 }; 00049 00050 } 00051 00052 00053 #endif 00054 |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)
1.4.5