introduce the radar screen to receive aircraft information

This commit is contained in:
Sven Czarnian
2021-08-14 10:36:43 +02:00
parent 5da73b0b52
commit c7ab3bd551
3 changed files with 66 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ SET(SOURCE_FILES
ArrivalMANagerMain.cpp
PlugIn.cpp
PlugIn.h
RadarScreen.cpp
RadarScreen.h
stdafx.cpp
stdafx.h
)

23
src/RadarScreen.cpp Normal file
View File

@@ -0,0 +1,23 @@
/*
* Author:
* Sven Czarnian <devel@svcz.de>
* Brief:
* Implements the RADAR display of EuroScope
* Copyright:
* 2021 Sven Czarnian
* License:
* GNU General Public License v3 (GPLv3)
*/
#include "stdafx.h"
#include "RadarScreen.h"
using namespace aman;
RadarScreen::RadarScreen() :
EuroScopePlugIn::CRadarScreen() { }
RadarScreen::~RadarScreen() { }
void RadarScreen::OnAsrContentToBeClosed() { }

41
src/RadarScreen.h Normal file
View File

@@ -0,0 +1,41 @@
/*
* @brief Defines the EuroScope RADAR screen
* @file src/RadarScreen.h
* @author Sven Czarnian <devel@svcz.de>
* @copyright Copyright 2021 Sven Czarnian
* @license This project is published under the GNU General Public License v3 (GPLv3)
*/
#pragma once
#pragma warning(push, 0)
#include <EuroScopePlugIn.h>
#pragma warning(pop)
namespace aman {
/**
* @brief Defines the RADAR screen
* @ingroup euroscope
*/
class RadarScreen : public EuroScopePlugIn::CRadarScreen {
public:
/**
* @brief Creates a new RADAR screen
*/
RadarScreen();
/**
* @brief Destroys the internal structure
*/
virtual ~RadarScreen();
RadarScreen(const RadarScreen&) = delete;
RadarScreen(RadarScreen&&) = delete;
RadarScreen& operator=(const RadarScreen&) = delete;
RadarScreen& operator=(RadarScreen&&) = delete;
/**
* @brief Called as soon as the ASR file is closed
*/
void OnAsrContentToBeClosed() override;
};
}