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

 

         

pathfollowerbuttons.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 PATHFOLLOWER2D_BUTTONS_H
00012 #define PATHFOLLOWER2D_BUTTONS_H
00013 
00014 #include <QObject>
00015 #include <memory>
00016 #include <hydroqguielementutil/shortcutkeymanager.h>
00017 
00018 class QAction;
00019 
00020 namespace hydroqguielementutil {
00021     class IHumanManager;   
00022 }
00023 
00024 namespace hydroqguipath {
00025 
00026 //
00027 // This class sets up all the buttons and actions user interaction with the pathfollower.
00028 //
00029 // Author: Tobias Kaupp
00030 //
00031 class PathfollowerButtons : public QObject
00032 {
00033     Q_OBJECT
00034             
00035 public:
00036     PathfollowerButtons( QObject                                  *parent,
00037                          hydroqguielementutil::IHumanManager      &humanManager,
00038                          hydroqguielementutil::ShortcutKeyManager &shortcutKeyManager,
00039                          std::string                               proxyString,
00040                          bool                                      haveActivatePathButton=true);
00041     
00042     void setWpButton( bool onOff );
00043 
00044 private:
00045     QAction *hiWaypoints_;
00046     hydroqguielementutil::IHumanManager &humanManager_;
00047 
00048     std::auto_ptr<hydroqguielementutil::ShortcutKeyReservation> stopShortcutKey_;
00049     std::auto_ptr<hydroqguielementutil::ShortcutKeyReservation> drawWaypointsShortcutKey_;
00050     std::auto_ptr<hydroqguielementutil::ShortcutKeyReservation> sendPathShortcutKey_;
00051     std::auto_ptr<hydroqguielementutil::ShortcutKeyReservation> activatePathShortcutKey_;
00052 };
00053 
00054 }
00055 
00056 #endif
 

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


Generated for Orca Robotics by  doxygen 1.4.5