diff options
Diffstat (limited to 'src/pad_common.h')
-rw-r--r-- | src/pad_common.h | 7 |
1 files changed, 5 insertions, 2 deletions
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<DATA_GROUP*> 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<DATA_GROUP*> queue; - PADPacketizer(size_t pad_size); ~PADPacketizer(); + void AddDG(DATA_GROUP* dg, bool prepend); + void AddDGs(const std::vector<DATA_GROUP*>& dgs, bool prepend); + pad_t* GetPAD(); // will be removed, when pull (instead of push) approach is implemented! |