Rev | Line | |
---|
[88] | 1 | // %flair:license{
|
---|
| 2 | // This file is part of the Flair framework distributed under the
|
---|
| 3 | // CECILL-C License, Version 1.0.
|
---|
| 4 | // %flair:license}
|
---|
| 5 | // created: 2016/09/02
|
---|
| 6 | // filename: GuiFlair.h
|
---|
| 7 | //
|
---|
| 8 | // authors: Thomas Fuhrmann
|
---|
| 9 | // Copyright Heudiasyc UMR UTC/CNRS 7253
|
---|
| 10 | //
|
---|
| 11 | // version: $Id: $
|
---|
| 12 | //
|
---|
| 13 | // purpose: Implementation of GuiInterface using Flair
|
---|
| 14 | // communication mechanism
|
---|
| 15 | //
|
---|
| 16 | //
|
---|
| 17 | /*********************************************************************/
|
---|
| 18 |
|
---|
| 19 | #ifndef MAVPLANNER_GUI_FLAIR_H
|
---|
| 20 | #define MAVPLANNER_GUI_FLAIR_H
|
---|
| 21 |
|
---|
| 22 | #include <string>
|
---|
| 23 |
|
---|
| 24 | #include "GuiInterface.h"
|
---|
| 25 |
|
---|
[178] | 26 | namespace flair { namespace core {
|
---|
| 27 | class UdpSocket;
|
---|
| 28 | } }
|
---|
[88] | 29 |
|
---|
| 30 | class GuiFlair : public GuiInterface {
|
---|
| 31 | public:
|
---|
| 32 |
|
---|
[137] | 33 | GuiFlair(std::string name);
|
---|
[88] | 34 | ~GuiFlair();
|
---|
| 35 |
|
---|
| 36 | protected:
|
---|
| 37 |
|
---|
| 38 | virtual void MissionStart();
|
---|
| 39 | virtual void MissionStop();
|
---|
| 40 | virtual void MissionPause();
|
---|
| 41 | virtual void MissionSend();
|
---|
| 42 |
|
---|
| 43 | private:
|
---|
[178] | 44 | flair::core::UdpSocket *inputSocket;
|
---|
| 45 | flair::core::UdpSocket *outputSocket;
|
---|
[88] | 46 | std::string outputAddress;
|
---|
| 47 | int outputPort;
|
---|
| 48 | };
|
---|
| 49 |
|
---|
| 50 | #endif // MAVPLANNER_GUI_FLAIR_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.