mirror of
https://github.com/g4klx/DMRGateway
synced 2025-12-21 05:25:40 +08:00
Allow for excluded TGs.
This commit is contained in:
@@ -26,10 +26,11 @@
|
||||
#include "RewriteDynTGNet.h"
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
class CRewriteDynTGRF : public CRewrite {
|
||||
public:
|
||||
CRewriteDynTGRF(const std::string& name, unsigned int slot, unsigned int fromTG, unsigned int toTG, unsigned int discPC, unsigned int statusPC, unsigned int range, CRewriteDynTGNet* rewriteNet, CDynVoice* voice);
|
||||
CRewriteDynTGRF(const std::string& name, unsigned int slot, unsigned int fromTG, unsigned int toTG, unsigned int discPC, unsigned int statusPC, unsigned int range, const std::vector<unsigned int>& exclTGs, CRewriteDynTGNet* rewriteNet, CDynVoice* voice);
|
||||
virtual ~CRewriteDynTGRF();
|
||||
|
||||
virtual PROCESS_RESULT process(CDMRData& data, bool trace);
|
||||
@@ -42,6 +43,7 @@ private:
|
||||
unsigned int m_toTG;
|
||||
unsigned int m_discPC;
|
||||
unsigned int m_statusPC;
|
||||
std::vector<unsigned int> m_exclTGs;
|
||||
CRewriteDynTGNet* m_rewriteNet;
|
||||
CDynVoice* m_voice;
|
||||
unsigned int m_currentTG;
|
||||
|
||||
Reference in New Issue
Block a user