MythTV  master
Macros
dvbsignalmonitor.cpp File Reference
#include <cerrno>
#include <cstring>
#include <cmath>
#include <unistd.h>
#include <QCoreApplication>
#include "mythcontext.h"
#include "mythdbcon.h"
#include "dvbsignalmonitor.h"
#include "dvbchannel.h"
#include "dvbstreamdata.h"
#include "atscstreamdata.h"
#include "mpegtables.h"
#include "atsctables.h"
#include "cardutil.h"
#include "dvbtypes.h"
#include "dvbrecorder.h"
#include "dvbstreamhandler.h"
Include dependency graph for dvbsignalmonitor.cpp:

Go to the source code of this file.

Macros

#define LOC
 
#define DVB_IO(FLAG, METHOD, MSG)
 

Macro Definition Documentation

◆ LOC

#define LOC
Value:
QString("DVBSigMon[%1](%2): ") \
.arg(m_inputid).arg(m_channel->GetDevice())

Definition at line 28 of file dvbsignalmonitor.cpp.

◆ DVB_IO

#define DVB_IO (   FLAG,
  METHOD,
  MSG 
)
Value:
do { if (HasFlags(FLAG)) { bool mok; _channel->METHOD(&mok); \
if (!mok) { \
LOG(VB_GENERAL, LOG_WARNING, LOC+"Cannot "+(MSG)+ENO); \
rmflags |= (FLAG); } \
else { \
LOG(VB_CHANNEL, LOG_INFO, LOC + "Can " + (MSG)); } } } while (false)
#define ENO
This can be appended to the LOG args with "+".
Definition: mythlogging.h:99
#define LOC