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

Last change on this file since 76 was 71, checked in by Thomas Fuhrmann, 6 years ago

Add class for MavlinkPlanner

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 MissionInitialize();
42 virtual void MissionStart();
43 virtual void MissionStop();
44 virtual void MissionKill();
45 virtual void WptSend();
46 virtual void WptClear();
47 virtual void WptLoopSend();
48
49private:
50 flair::core::Socket *outputSocket;
51 std::string outputAddress;
52 int outputPort;
53};
54
55#endif // MAVPLANNER_GUI_GCS_H
Note: See TracBrowser for help on using the repository browser.