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
|
orcaqgui3dfactory/defaultfactory.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, 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 ORCAVIEW3D_DEFAULT_FACTORY_H 00012 #define ORCAVIEW3D_DEFAULT_FACTORY_H 00013 00014 #include <QString> 00015 #include <QGLWidget> 00016 00017 #include <orca/orca.h> 00018 #include <orcaice/context.h> 00019 #include <orcaqgui/guielementfactory.h> 00020 00021 00022 namespace orcaqgui 00023 { 00024 class GuiElement; 00025 } 00026 00027 namespace orcaqgui3d { 00028 00032 class DefaultFactory : public orcaqgui::GuiElementFactory 00033 { 00034 public: 00035 00036 DefaultFactory(); 00037 00038 // returns a NULL pointer if something goes wrong 00039 virtual orcaqgui::GuiElement* create(const orcaice::Context &context, 00040 const QStringList &interfaceId, 00041 const QStringList &proxyStrList, 00042 QColor suggestedColor, 00043 orcaqgui::IHumanManager *humanManager) const; 00044 00045 private: 00046 }; 00047 00048 } // namespace 00049 00050 00051 // 00052 // Hook for dynamic loading 00053 // 00054 extern "C" { 00055 orcaqgui::GuiElementFactory *createFactory(); 00056 } 00057 00058 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)