MythTV  master
Macros | Functions | Variables
mythjobqueue.cpp File Reference
#include <cmath>
#include <csignal>
#include <cstdio>
#include <cstdlib>
#include <ctime>
#include <fcntl.h>
#include <fstream>
#include <iostream>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
#include <QCoreApplication>
#include <QDir>
#include <QFileInfo>
#include <QString>
#include <QtGlobal>
#include "libmyth/mythcontext.h"
#include "libmythbase/cleanupguard.h"
#include "libmythbase/compat.h"
#include "libmythbase/exitcodes.h"
#include "libmythbase/hardwareprofile.h"
#include "libmythbase/housekeeper.h"
#include "libmythbase/mythdbcon.h"
#include "libmythbase/mythlogging.h"
#include "libmythbase/mythversion.h"
#include "libmythbase/signalhandling.h"
#include "libmythtv/jobqueue.h"
#include "libmythtv/mythsystemevent.h"
#include "mythjobqueue_commandlineparser.h"
Include dependency graph for mythjobqueue.cpp:

Go to the source code of this file.

Macros

#define LOC   QString("MythJobQueue: ")
 
#define LOC_WARN   QString("MythJobQueue, Warning: ")
 
#define LOC_ERR   QString("MythJobQueue, Error: ")
 

Functions

static void cleanup (void)
 
int main (int argc, char *argv[])
 

Variables

JobQueuejobqueue = nullptr
 
QString pidfile
 
QString logfile
 

Macro Definition Documentation

◆ LOC

#define LOC   QString("MythJobQueue: ")

Definition at line 39 of file mythjobqueue.cpp.

◆ LOC_WARN

#define LOC_WARN   QString("MythJobQueue, Warning: ")

Definition at line 40 of file mythjobqueue.cpp.

◆ LOC_ERR

#define LOC_ERR   QString("MythJobQueue, Error: ")

Definition at line 41 of file mythjobqueue.cpp.

Function Documentation

◆ cleanup()

static void cleanup ( void  )
static

Definition at line 47 of file mythjobqueue.cpp.

Referenced by main().

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 61 of file mythjobqueue.cpp.

Variable Documentation

◆ jobqueue

JobQueue* jobqueue = nullptr

Definition at line 43 of file mythjobqueue.cpp.

Referenced by HttpStatus::FillStatusXML(), and main().

◆ pidfile

QString pidfile

Definition at line 44 of file mythjobqueue.cpp.

Referenced by cleanup(), and openPidfile().

◆ logfile

QString logfile