source: flair-src/trunk/tools/Controller/Mavlink/src/GuiFlair.h@ 289

Last change on this file since 289 was 178, checked in by Bayard Gildas, 7 years ago

Change Udp socket object name (from "Socket" to "UdpSocket")

File size: 1.0 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 { namespace core {
27 class UdpSocket;
28} }
29
30class GuiFlair : public GuiInterface {
31public:
32
33 GuiFlair(std::string name);
34 ~GuiFlair();
35
36protected:
37
38 virtual void MissionStart();
39 virtual void MissionStop();
40 virtual void MissionPause();
41 virtual void MissionSend();
42
43private:
44 flair::core::UdpSocket *inputSocket;
45 flair::core::UdpSocket *outputSocket;
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.