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
|
components/laserview/component.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 #ifndef COMPONENT_H 00011 #define COMPONENT_H 00012 00013 #include <orcaice/component.h> 00014 #include <orca/rangescanner2d.h> 00015 #include <orcaifaceimpl/qtconsumer.h> 00016 00017 typedef orcaifaceimpl::QtConsumerImpl<orca::RangeScanner2dPrx, 00018 orca::RangeScanner2dConsumer, 00019 orca::RangeScanner2dConsumerPrx, 00020 orca::RangeScanner2dDataPtr> QtRangeScanner2dConsumerImpl; 00021 typedef IceUtil::Handle<QtRangeScanner2dConsumerImpl> QtRangeScanner2dConsumerImplPtr; 00022 00023 00024 namespace laserview { 00025 00026 class Component : public orcaice::Component 00027 { 00028 public: 00029 Component() : 00030 orcaice::Component( "LaserView", orcaice::NoStandardInterfaces ) {}; 00031 00032 // from orcaice::Component 00033 virtual void start(); 00034 virtual void stop() {}; 00035 00036 private: 00037 00038 QtRangeScanner2dConsumerImplPtr consumer_; 00039 }; 00040 00041 } 00042 00043 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)