|
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
|
ptricestormelement3d.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 ORCAGUI_PTRICESTORM_ELEMENT_3D_H 00012 #define ORCAGUI_PTRICESTORM_ELEMENT_3D_H 00013 00014 #include <orcaqguielementutil/ptricestormelement.h> 00015 #include <orcaqgui3d/guielement3d.h> 00016 00017 namespace orcaqgui3d { 00018 00019 template<class PainterType, class DataType, class DataPtrType, class ProxyType, class ConsumerType, class ConsumerPrxType> 00020 class 00021 PtrIceStormElement3d : public GuiElement3d, 00022 public orcaqguielementutil::PtrIceStormElement<PainterType, 00023 DataType, 00024 DataPtrType, 00025 ProxyType, 00026 ConsumerType, 00027 ConsumerPrxType> 00028 { 00029 public: 00030 00033 PtrIceStormElement3d( const orcaice::Context &context, 00034 const std::string &proxyString, 00035 PainterType &painter, 00036 const double timeoutMs=5000.0 ) 00037 : orcaqguielementutil::PtrIceStormElement<PainterType, 00038 DataType, 00039 DataPtrType, 00040 ProxyType, 00041 ConsumerType, 00042 ConsumerPrxType>( 00043 context,proxyString,painter,timeoutMs) 00044 {} 00045 00046 // From GuiElement3d 00047 void update() 00048 { orcaqguielementutil::PtrIceStormElement<PainterType, 00049 DataType, 00050 DataPtrType, 00051 ProxyType, 00052 ConsumerType, 00053 ConsumerPrxType>::updateFromBuffer(); } 00054 00055 }; 00056 00057 } 00058 00059 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)
1.4.5