From 0f3a52cbc8abde43ef6ed584eb2403960d994fc1 Mon Sep 17 00:00:00 2001 From: Stefan Pöschel Date: Mon, 6 Feb 2017 15:51:15 +0100 Subject: PAD: make PADPacketizer queue private --- src/pad_common.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/pad_common.h') diff --git a/src/pad_common.h b/src/pad_common.h index 064774c..c997d83 100644 --- a/src/pad_common.h +++ b/src/pad_common.h @@ -65,6 +65,8 @@ private: const bool short_xpad; const size_t max_cis; + std::deque queue; + size_t xpad_size; uint8_t subfields[4*48]; size_t subfields_size; @@ -98,11 +100,12 @@ public: static const size_t VARSIZE_PAD_MAX; static const std::string ALLOWED_PADLEN; - std::deque queue; - PADPacketizer(size_t pad_size); ~PADPacketizer(); + void AddDG(DATA_GROUP* dg, bool prepend); + void AddDGs(const std::vector& dgs, bool prepend); + pad_t* GetPAD(); // will be removed, when pull (instead of push) approach is implemented! -- cgit v1.2.3