source: flair-src/branches/mavlink/tools/Controller/Mavlink/src/GuiGcs.h@ 78

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

Change the GUI of MavPlanner to match with mission planning (only GUI is working)

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: GuiGcs.h
7//
8// authors: Thomas Fuhrmann
9// Copyright Heudiasyc UMR UTC/CNRS 7253
10//
11// version: $Id: $
12//
13// purpose: Implementation of GuiInterface, using sockets
14//
15//
16/*********************************************************************/
17
18#ifndef MAVPLANNER_GUI_GCS_H
19#define MAVPLANNER_GUI_GCS_H
20
21#include <string>
22
23#include "GuiInterface.h"
24
25namespace flair {
26namespace core {
27 class FrameworkManager;
28 class Socket;
29}
30}
31
32class GuiGcs : public GuiInterface {
33public:
34
35 GuiGcs(const flair::core::FrameworkManager *parent, std::string name,
36 std::string &outputAddress, int outputPort);
37 ~GuiGcs();
38
39protected:
40
41 virtual void MissionStart();
42 virtual void MissionStop();
43 virtual void MissionResume();
44 virtual void MissionSend();
45
46private:
47 flair::core::Socket *outputSocket;
48 std::string outputAddress;
49 int outputPort;
50};
51
52#endif // MAVPLANNER_GUI_GCS_H
Note: See TracBrowser for help on using the repository browser.