Last change
on this file since 164 was 137, checked in by Sanahuja Guillaume, 8 years ago |
singleton manager
|
File size:
1.0 KB
|
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 |
|
---|
| 26 | namespace flair {
|
---|
| 27 | namespace core {
|
---|
| 28 | class Socket;
|
---|
| 29 | }
|
---|
| 30 | }
|
---|
| 31 |
|
---|
| 32 | class GuiFlair : public GuiInterface {
|
---|
| 33 | public:
|
---|
| 34 |
|
---|
[137] | 35 | GuiFlair(std::string name);
|
---|
[88] | 36 | ~GuiFlair();
|
---|
| 37 |
|
---|
| 38 | protected:
|
---|
| 39 |
|
---|
| 40 | virtual void MissionStart();
|
---|
| 41 | virtual void MissionStop();
|
---|
| 42 | virtual void MissionPause();
|
---|
| 43 | virtual void MissionSend();
|
---|
| 44 |
|
---|
| 45 | private:
|
---|
| 46 | flair::core::Socket *inputSocket;
|
---|
| 47 | flair::core::Socket *outputSocket;
|
---|
| 48 | std::string outputAddress;
|
---|
| 49 | int outputPort;
|
---|
| 50 | };
|
---|
| 51 |
|
---|
| 52 | #endif // MAVPLANNER_GUI_FLAIR_H
|
---|
Note:
See
TracBrowser
for help on using the repository browser.