#include <string>
#include <iostream>
#include <fstream>
#include <atomic>
#include <chrono>
#include <mutex>
#include <thread>
#include <numeric>
#include <vector>
#include "ftxui/component/captured_mouse.hpp"
#include "ftxui/component/component.hpp"
#include "ftxui/component/component_base.hpp"
#include "ftxui/component/component_options.hpp"
#include "ftxui/component/screen_interactive.hpp"
#include "ftxui/dom/elements.hpp"
#include "ftxui/screen/color.hpp"
#include "../Server/ServerInterface.hh"
Go to the source code of this file.
|
void | petitpoucet::ui::configfromUserInput (std::string &casterName, std::string &serialPortName) |
| Function to ask the user to define the config parameters.
|
|
int | petitpoucet::ui::giveChoiceTwoOptions (std::string option1, std::string option2, std::string &message) |
| Function to ask the user to choose between two options. If the user chooses the first option, the function returns 0, otherwise it returns 1.
|
|
void | petitpoucet::ui::interfaceForInstantaneousPosition (int minimumSNR, petitpoucet::serverinterface::PPServerOptions options, std::string casterName, std::string serialPortName, petitpoucet::serverinterface::CoordinateSystem coordinateSystem) |
| User interface for getting the instantaneous position.
|
|
void | petitpoucet::ui::interfaceForPositionOverTime (int minimumSNR, petitpoucet::serverinterface::PPServerOptions options, std::string casterName, std::string serialPortName, petitpoucet::serverinterface::CoordinateSystem coordinateSystem) |
| User interface for getting the position over time, where the user triggers and stops the measurment.
|
|
void | petitpoucet::ui::padMessage (std::string &message, int padding) |
| Function to pad a message with a certain number of dashes on each side.
|
|