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
|
components/tracermon/tracerconsumerI.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 TRACER_CONSUMER_I_H 00012 #define TRACER_CONSUMER_I_H 00013 00014 // #include <iostream> 00015 00016 #include <orca/tracer.h> 00017 // #include <orcaice/orcaice.h> 00018 #include "user.h" 00019 00020 namespace tracermon 00021 { 00022 00023 class TracerConsumerI : public orca::TracerConsumer 00024 { 00025 public: 00026 TracerConsumerI( User& user ) : 00027 user_(user) {}; 00028 00029 virtual void setData(const orca::TracerData& data, const Ice::Current&) 00030 { 00031 // std::cout << orcaobj::toString( data ) << std::endl; 00032 user_.newTraceMessage( data ); 00033 } 00034 00035 private: 00036 User& user_; 00037 }; 00038 00039 } // namespace 00040 00041 #endif |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)