mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-18 00:21:21 +02:00
2022-10-18 Fred Gleason <fredg@paravelsystems.com>
Added a 'RDEventLine::loadBypass()' method. * Implemented log generation and importation for bypass grid processing in rdlogmanager(1). Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
25
lib/rdsvc.h
25
lib/rdsvc.h
@@ -2,7 +2,7 @@
|
||||
//
|
||||
// Abstract a Rivendell Service
|
||||
//
|
||||
// (C) Copyright 2002-2020 Fred Gleason <fredg@paravelsystems.com>
|
||||
// (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
//
|
||||
// This program is free software; you can redistribute it and/or modify
|
||||
// it under the terms of the GNU General Public License version 2 as
|
||||
@@ -23,10 +23,10 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <qobject.h>
|
||||
#include <qsqldatabase.h>
|
||||
#include <QObject>
|
||||
|
||||
#include "rdconfig.h"
|
||||
#include "rdlog.h"
|
||||
#include "rdloglock.h"
|
||||
#include "rdstation.h"
|
||||
#include "rduser.h"
|
||||
@@ -125,6 +125,25 @@ class RDSvc : public QObject
|
||||
bool CheckId(std::vector<int> *v,int value);
|
||||
QString MakeErrorLine(int indent,unsigned lineno,const QString &msg) const;
|
||||
bool ResolveInlineEvents(const QString &logname,QString *err_msg);
|
||||
bool ValidateInlineEvents(QString *err_msg) const;
|
||||
void ProcessGridEvents(RDLog *log,RDLogModel *dst_model,RDLogModel *src_model,
|
||||
const QString &track_str,const QString &label_cart,
|
||||
const QString &track_cart,RDLog::Source link_src,
|
||||
RDLogLine::Type src_type,QString *err_msgs);
|
||||
void ProcessBypassMusicEvents(RDLog *log,RDLogModel *dst_model,
|
||||
RDLogModel *src_model,const QString &track_str,
|
||||
const QString &label_cart,
|
||||
const QString &track_cart,
|
||||
RDLog::Source link_src,RDLogLine::Type src_type,
|
||||
QString *err_msgs);
|
||||
void ProcessBypassTrafficEvents(RDLog *log,RDLogModel *dst_model,
|
||||
RDLogModel *src_model,
|
||||
const QString &track_str,
|
||||
const QString &label_cart,
|
||||
const QString &track_cart,
|
||||
RDLog::Source link_src,
|
||||
QString *err_msgs);
|
||||
int GetCartLength(unsigned cartnum,int def_length) const;
|
||||
QString svc_name;
|
||||
RDStation *svc_station;
|
||||
RDConfig *svc_config;
|
||||
|
Reference in New Issue
Block a user