MythTV
master
|
#include <algorithm>
#include <cerrno>
#include <chrono>
#include <cmath>
#include <cstdlib>
#include <fcntl.h>
#include <iostream>
#include <list>
#include <memory>
#include <thread>
#include "libmythbase/mythconfig.h"
#include <sys/stat.h>
#include <sys/param.h>
#include <QtGlobal>
#include <QCoreApplication>
#include <QDateTime>
#include <QFile>
#include <QDir>
#include <QWaitCondition>
#include <QWriteLocker>
#include <QProcess>
#include <QRegularExpression>
#include <QEvent>
#include <QTcpServer>
#include <QTimer>
#include <QNetworkInterface>
#include <QNetworkProxy>
#include <QHostAddress>
#include "libmyth/mythcontext.h"
#include "libmythbase/compat.h"
#include "libmythbase/filesysteminfo.h"
#include "libmythbase/mthread.h"
#include "libmythbase/mythcorecontext.h"
#include "libmythbase/mythcoreutil.h"
#include "libmythbase/mythdb.h"
#include "libmythbase/mythdirs.h"
#include "libmythbase/mythdownloadmanager.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/mythmiscutil.h"
#include "libmythbase/mythrandom.h"
#include "libmythbase/mythsystemlegacy.h"
#include "libmythbase/mythtimezone.h"
#include "libmythbase/mythversion.h"
#include "libmythbase/programinfo.h"
#include "libmythbase/remotefile.h"
#include "libmythbase/serverpool.h"
#include "libmythbase/storagegroup.h"
#include "libmythmetadata/imagemanager.h"
#include "libmythmetadata/metadatafactory.h"
#include "libmythmetadata/metaio.h"
#include "libmythmetadata/musicmetadata.h"
#include "libmythmetadata/videoutils.h"
#include "libmythprotoserver/requesthandler/fileserverutil.h"
#include "libmythtv/cardutil.h"
#include "libmythtv/io/mythmediabuffer.h"
#include "libmythtv/jobqueue.h"
#include "libmythtv/mythsystemevent.h"
#include "libmythtv/previewgeneratorqueue.h"
#include "libmythtv/recordinginfo.h"
#include "libmythtv/recordingrule.h"
#include "libmythtv/scheduledrecording.h"
#include "libmythtv/tv.h"
#include "libmythtv/tv_rec.h"
#include "autoexpire.h"
#include "backendcontext.h"
#include "mainserver.h"
#include "scheduler.h"
Go to the source code of this file.
Classes | |
class | BEProcessRequestRunnable |
class | FreeSpaceUpdater |
Namespaces | |
anonymous_namespace{mainserver.cpp} | |
Macros | |
#define | LOC QString("MainServer: ") |
#define | LOC_WARN QString("MainServer, Warning: ") |
#define | LOC_ERR QString("MainServer, Error: ") |
Functions | |
bool | anonymous_namespace{mainserver.cpp}::delete_file_immediately (const QString &filename, bool followLinks, bool checkexists) |
static bool | comp_livetvorder (const InputInfo &a, const InputInfo &b) |
static QString | cleanup (const QString &str) |
static QString | make_safe (const QString &str) |
Variables | |
static constexpr std::chrono::milliseconds | PRT_TIMEOUT { 10ms } |
Milliseconds to wait for an existing thread from process request thread pool. More... | |
static constexpr int | PRT_STARTUP_THREAD_COUNT { 5 } |
Number of threads in process request thread pool at startup. More... | |
#define LOC QString("MainServer: ") |
Definition at line 99 of file mainserver.cpp.
#define LOC_WARN QString("MainServer, Warning: ") |
Definition at line 100 of file mainserver.cpp.
#define LOC_ERR QString("MainServer, Error: ") |
Definition at line 101 of file mainserver.cpp.
Definition at line 4381 of file mainserver.cpp.
Referenced by MainServer::HandleGetFreeInputInfo().
|
static |
Definition at line 4494 of file mainserver.cpp.
Referenced by MainServer::HandleSetChannelInfo().
|
static |
Definition at line 4501 of file mainserver.cpp.
Referenced by MainServer::HandleRecorderQuery().
|
staticconstexpr |
Milliseconds to wait for an existing thread from process request thread pool.
Definition at line 95 of file mainserver.cpp.
Referenced by MainServer::readyRead().
|
staticconstexpr |
Number of threads in process request thread pool at startup.
Definition at line 97 of file mainserver.cpp.
Referenced by MainServer::MainServer().