SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
ProgressNCurses.cpp File Reference
#include "AlexandriaKernel/memory_tools.h"
#include "SEMain/ProgressNCurses.h"
#include <poll.h>
#include <semaphore.h>
#include <ncurses.h>
#include <fcntl.h>
#include <readline/readline.h>
#include <csignal>
#include <chrono>
#include <iostream>
#include <iomanip>
#include <mutex>
#include <boost/algorithm/string/trim.hpp>
#include <boost/thread.hpp>
Include dependency graph for ProgressNCurses.cpp:

Go to the source code of this file.

Classes

struct  SourceXtractor::ncurses_done_t
class  SourceXtractor::Screen
 Wrap the terminal into a singleton. More...
class  SourceXtractor::LogWidget
class  SourceXtractor::ProgressWidget
 Set of progress bars/information entries. More...
class  SourceXtractor::ProgressNCurses::Dashboard

Namespaces

namespace  SourceXtractor

Functions

static void SourceXtractor::handleTerminatingSignal (int s)
static void SourceXtractor::handleStopSignal (int s)
static void SourceXtractor::handleContinuationSignal (int s)
static void SourceXtractor::handleResizeSignal (int)
static int SourceXtractor::interceptFileDescriptor (int old_fd, int *backup_fd)
static void SourceXtractor::override_rl_display (void)
std::unique_ptr< T > make_unique (Args &&... args)

Variables

static struct sigaction SourceXtractor::sigterm_action
static struct sigaction SourceXtractor::sigstop_action
static struct sigaction SourceXtractor::sigcont_action
static struct sigaction SourceXtractor::sigwich_action
static std::map< int, struct sigaction > SourceXtractor::prev_signal
static int SourceXtractor::signal_fds [2]
static ncurses_done_t SourceXtractor::ncurses_done

Function Documentation

◆ make_unique()

std::unique_ptr< T > Euclid::make_unique ( Args &&... args)

Copyright © 2019 Université de Genève, LMU Munich - Faculty of Physics, IAP-CNRS/Sorbonne Université

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 3.0 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA