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

SourceForge.net Logo
Project
Download
Mailing lists

 

         

guiqtdisplay.h

00001 /*
00002  * Orca-Robotics Project: Components for robotics 
00003  *               http://orca-robotics.sf.net/
00004  * Copyright (c) 2006-2007 Alexei Makarenko
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 GUI_QT_DISPLAY_DRIVER_H
00012 #define GUI_QT_DISPLAY_DRIVER_H
00013 
00014 #include <vector>
00015 #include <orcaqcm/ocmmodel.h>
00016 
00017 #include <orcaprobe/idisplay.h>
00018 #include <orcaprobe/ibrowser.h>
00019 
00020 namespace probe
00021 {
00022 
00023 class MainWindow;
00024 
00025 // need to be a QObject in order to post events into the Qt thread.
00026 class GuiQtDisplay : public QObject, public orcaprobe::IDisplay
00027 {
00028     Q_OBJECT
00029 public:
00030     GuiQtDisplay( const std::vector<std::string> & supportedInterfaces );
00031     virtual ~GuiQtDisplay();
00032 
00033     // from orcaprobe::IDisplay
00034     virtual void enable( orcaprobe::IBrowser* browser );
00035     virtual void showNetworkActivity( bool isActive );
00036     virtual void setRegistryData( const orcacm::RegistryHierarchicalData1 & data );
00037     virtual void setPlatformData( const orcacm::RegistryHierarchicalData2 & data );
00038     virtual void setComponentData( const orcacm::ComponentData & data );
00039     virtual void setInterfaceData( const orcacm::InterfaceData & data );
00040     virtual void setOperationData( const orcacm::OperationData & data );
00041     virtual void setFocus( orcaprobe::IDisplay::FocusType focus );
00042     
00043 private:
00044     std::vector<std::string>    supportedInterfaces_;
00045     orcaprobe::IBrowser    *browser_;
00046     orcaqcm::OcmModel           *model_;
00047     MainWindow                  *gui_;
00048 
00049 };
00050 
00051 } // namespace
00052 
00053 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5