source: flair-src/branches/mavlink/tools/Controller/Mavlink/src/GuiFlair.h@ 102

Last change on this file since 102 was 86, checked in by Thomas Fuhrmann, 8 years ago

FlairSockets are working and used

File size: 1.1 KB
Line 
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
26namespace flair {
27namespace core {
28 class FrameworkManager;
29 class Socket;
30}
31}
32
33class GuiFlair : public GuiInterface {
34public:
35
36 GuiFlair(const flair::core::FrameworkManager *parent, std::string name);
37 ~GuiFlair();
38
39protected:
40
41 virtual void MissionStart();
42 virtual void MissionStop();
43 virtual void MissionPause();
44 virtual void MissionSend();
45
46private:
47 flair::core::Socket *inputSocket;
48 flair::core::Socket *outputSocket;
49 std::string outputAddress;
50 int outputPort;
51};
52
53#endif // MAVPLANNER_GUI_FLAIR_H
Note: See TracBrowser for help on using the repository browser.