MythTV  master
Macros | Functions | Variables
mythsocket.cpp File Reference
#include <QNetworkInterface>
#include <QCoreApplication>
#include <QWaitCondition>
#include <QSharedPointer>
#include <QByteArray>
#include <QTcpSocket>
#include <QHostInfo>
#include <QThread>
#include <QMetaType>
#include <sys/socket.h>
#include <unistd.h>
#include <algorithm>
#include <vector>
#include "mythsocket.h"
#include "mythtimer.h"
#include "mythevent.h"
#include "mythversion.h"
#include "mythlogging.h"
#include "mythcorecontext.h"
#include "portchecker.h"
Include dependency graph for mythsocket.cpp:

Go to the source code of this file.

Macros

#define SLOC(a)
 
#define LOC   SLOC(this)
 

Functions

 Q_DECLARE_METATYPE (const QStringList *)
 
 Q_DECLARE_METATYPE (QStringList *)
 
 Q_DECLARE_METATYPE (const char *)
 
 Q_DECLARE_METATYPE (char *)
 
 Q_DECLARE_METATYPE (bool *)
 
 Q_DECLARE_METATYPE (int *)
 
 Q_DECLARE_METATYPE (QHostAddress)
 
static QString to_sample (const QByteArray &payload)
 

Variables

static int x0 = qRegisterMetaType< const QStringList * >()
 
static int x1 = qRegisterMetaType< QStringList * >()
 
static int x2 = qRegisterMetaType< const char * >()
 
static int x3 = qRegisterMetaType< char * >()
 
static int x4 = qRegisterMetaType< bool * >()
 
static int x5 = qRegisterMetaType< int * >()
 
static int x6 = qRegisterMetaType< QHostAddress >()
 
int s_dummy_meta_variable_to_suppress_gcc_warning
 

Macro Definition Documentation

◆ SLOC

#define SLOC (   a)
Value:
QString("MythSocket(%1:%2): ") \
.arg((intptr_t)(a), 0, 16) \
.arg((a)->GetSocketDescriptor())

Definition at line 35 of file mythsocket.cpp.

◆ LOC

#define LOC   SLOC(this)

Definition at line 38 of file mythsocket.cpp.

Function Documentation

◆ Q_DECLARE_METATYPE() [1/7]

Q_DECLARE_METATYPE ( const QStringList *  )

◆ Q_DECLARE_METATYPE() [2/7]

Q_DECLARE_METATYPE ( QStringList *  )

◆ Q_DECLARE_METATYPE() [3/7]

Q_DECLARE_METATYPE ( const char *  )

◆ Q_DECLARE_METATYPE() [4/7]

Q_DECLARE_METATYPE ( char *  )

◆ Q_DECLARE_METATYPE() [5/7]

Q_DECLARE_METATYPE ( bool )

◆ Q_DECLARE_METATYPE() [6/7]

Q_DECLARE_METATYPE ( int *  )

◆ Q_DECLARE_METATYPE() [7/7]

Q_DECLARE_METATYPE ( QHostAddress  )

◆ to_sample()

static QString to_sample ( const QByteArray &  payload)
static

Definition at line 69 of file mythsocket.cpp.

Referenced by MythSocket::WriteStringListReal().

Variable Documentation

◆ x0

int x0 = qRegisterMetaType< const QStringList * >()
static

◆ x1

int x1 = qRegisterMetaType< QStringList * >()
static

◆ x2

int x2 = qRegisterMetaType< const char * >()
static

◆ x3

int x3 = qRegisterMetaType< char * >()
static

◆ x4

int x4 = qRegisterMetaType< bool * >()
static

◆ x5

int x5 = qRegisterMetaType< int * >()
static

Definition at line 64 of file mythsocket.cpp.

Referenced by ComponentDescriptor::VideoProperties().

◆ x6

int x6 = qRegisterMetaType< QHostAddress >()
static

Definition at line 65 of file mythsocket.cpp.

◆ s_dummy_meta_variable_to_suppress_gcc_warning

int s_dummy_meta_variable_to_suppress_gcc_warning
Initial value:
=
x0 + x1 + x2 + x3 + x4 + x5 + x6
static int x6
Definition: mythsocket.cpp:65
static int x4
Definition: mythsocket.cpp:63
static int x2
Definition: mythsocket.cpp:61
static int x5
Definition: mythsocket.cpp:64
static int x0
Definition: mythsocket.cpp:59
static int x3
Definition: mythsocket.cpp:62
static int x1
Definition: mythsocket.cpp:60

Definition at line 66 of file mythsocket.cpp.