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

 

         

buttonelement.h

00001 #ifndef ORCAQGUI2DFACTORY_BUTTONELEMENT_H
00002 #define ORCAQGUI2DFACTORY_BUTTONELEMENT_H
00003 
00004 #include <hydroqguielementutil/guielement.h>
00005 #include <orca/button.h>
00006 #include <string>
00007 #include <orcaice/context.h>
00008 
00009 namespace hydroqguielementutil {
00010     class IHumanManager;
00011 }
00012 
00013 namespace orcaqgui2d {
00014 
00018 class ButtonElement : public hydroqguielementutil::GuiElement
00019 {
00020 
00021 public: 
00022 
00023     ButtonElement( const hydroqguielementutil::GuiElementInfo &guiElementInfo,
00024                    const orcaice::Context                     &context );
00025 
00026     virtual QStringList contextMenu();
00027     virtual void execute( int action );
00028 
00029     void press();
00030 
00031 private: 
00032 
00033     void connect();
00034 
00035     orcaice::Context context_;
00036     std::string      proxyString_;
00037     orca::ButtonPrx  buttonPrx_;
00038 
00039     bool isConnected_;
00040 };
00041 
00042 }
00043 
00044 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5