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

SourceForge.net Logo
Project
Download
Mailing lists

 

         

termiostreamuser.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2004-2009 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 TERM_IOSTREAM_USER_H
00012 #define TERM_IOSTREAM_USER_H
00013 
00014 #include <gbxsickacfr/gbxiceutilacfr/safethread.h>
00015 #include <orcaice/context.h>
00016 #include <hydroiceutil/eventqueue.h>
00017 #include "../user.h"
00018 #include "../network.h"
00019 
00020 namespace tracermon
00021 {
00022 
00023 class TermIostreamUser : public gbxiceutilacfr::SafeThread, public User
00024 {
00025 public:
00026 
00027     TermIostreamUser( const orcaice::Context & context );
00028     virtual ~TermIostreamUser();
00029 
00030     // from User
00031     virtual void enable( Network* network );
00032 
00033     // no inputs for this driver
00034     virtual void previousField() {};
00035     virtual void nextField() {};
00036     virtual void valueUp() {};
00037     virtual void valueDown() {};
00038     virtual void action() {};
00039 
00040     virtual void newTraceMessage( const orca::TracerData & data );
00041 
00042     virtual void newVerbosityLevel( int error, int warn, int info, int debug );
00043 
00044     virtual void newLocalTrace( const std::string& msg );
00045     
00046 private:
00047     // from Thread
00048     virtual void walk();
00049 
00050     Network* network_;
00051     hydroiceutil::EventQueuePtr events_;
00052    
00053     orcaice::Context context_;
00054 };
00055 
00056 } // namespace
00057 
00058 #endif
 

Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)


Generated for Orca Robotics by  doxygen 1.4.5