diff options
author | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-06-06 14:22:24 +0200 |
---|---|---|
committer | Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr> | 2017-06-07 15:01:28 +0200 |
commit | 6358e611e09092ad121f4a85e548c0d9411ab09f (patch) | |
tree | 1e9ac163ce10ab44402dcce1566b7920afbe1bf1 /src/libdash/source/mpd/Period.cpp | |
parent | dca773280df13ce3ecc6d306dffd603715cf25a5 (diff) |
update applications to use new version libicnet
Change-Id: I4b2381a13cf64488baf83056fc1fa11b359d1147
Signed-off-by: Angelo Mantellini (manangel) <angelo.mantellini@irt-systemx.fr>
Diffstat (limited to 'src/libdash/source/mpd/Period.cpp')
-rw-r--r-- | src/libdash/source/mpd/Period.cpp | 137 |
1 files changed, 0 insertions, 137 deletions
diff --git a/src/libdash/source/mpd/Period.cpp b/src/libdash/source/mpd/Period.cpp deleted file mode 100644 index 291677ea..00000000 --- a/src/libdash/source/mpd/Period.cpp +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Period.cpp - ***************************************************************************** - * Copyright (C) 2012, bitmovin Softwareentwicklung OG, All Rights Reserved - * - * Email: libdash-dev@vicky.bitmovin.net - * - * This source code and its use and distribution, is subject to the terms - * and conditions of the applicable license agreement. - *****************************************************************************/ - -#include "Period.h" - -using namespace dash::mpd; - -Period::Period () : - segmentBase(NULL), - segmentList(NULL), - segmentTemplate(NULL), - xlinkActuate("onRequest"), - xlinkHref(""), - id(""), - start(""), - duration(""), - isBitstreamSwitching(false) -{ -} -Period::~Period () -{ - for(size_t i = 0; i < this->baseURLs.size(); i++) - delete(this->baseURLs.at(i)); - for(size_t i = 0; i < this->adaptationSets.size(); i++) - delete(this->adaptationSets.at(i)); - for(size_t i = 0; i < this->subsets.size(); i++) - delete(this->subsets.at(i)); - delete(segmentBase); - delete(segmentList); - delete(segmentTemplate); -} - -const std::vector<IBaseUrl *>& Period::GetBaseURLs () const -{ - return (std::vector<IBaseUrl *> &) this->baseURLs; -} -void Period::AddBaseURL (BaseUrl *baseUrl) -{ - this->baseURLs.push_back(baseUrl); -} -ISegmentBase* Period::GetSegmentBase () const -{ - return this->segmentBase; -} -void Period::SetSegmentBase (SegmentBase *segmentBase) -{ - this->segmentBase = segmentBase; -} -ISegmentList* Period::GetSegmentList () const -{ - return this->segmentList; -} -void Period::SetSegmentList (SegmentList *segmentList) -{ - this->segmentList = segmentList; -} -ISegmentTemplate* Period::GetSegmentTemplate () const -{ - return this->segmentTemplate; -} -void Period::SetSegmentTemplate (SegmentTemplate *segmentTemplate) -{ - this->segmentTemplate = segmentTemplate; -} -const std::vector<IAdaptationSet*>& Period::GetAdaptationSets () const -{ - return (std::vector<IAdaptationSet*> &) this->adaptationSets; -} -void Period::AddAdaptationSet (AdaptationSet *adaptationSet) -{ - if(adaptationSet != NULL) - this->adaptationSets.push_back(adaptationSet); -} -const std::vector<ISubset *>& Period::GetSubsets () const -{ - return (std::vector<ISubset *> &) this->subsets; -} -void Period::AddSubset (Subset *subset) -{ - this->subsets.push_back(subset); -} -const std::string& Period::GetXlinkHref () const -{ - return this->xlinkHref; -} -void Period::SetXlinkHref (const std::string& xlinkHref) -{ - this->xlinkHref = xlinkHref; -} -const std::string& Period::GetXlinkActuate () const -{ - return this->xlinkActuate; -} -void Period::SetXlinkActuate (const std::string& xlinkActuate) -{ - this->xlinkActuate = xlinkActuate; -} -const std::string& Period::GetId () const -{ - return this->id; -} -void Period::SetId (const std::string& id) -{ - this->id = id; -} -const std::string& Period::GetStart () const -{ - return this->start; -} -void Period::SetStart (const std::string& start) -{ - this->start = start; -} -const std::string& Period::GetDuration () const -{ - return this->duration; -} -void Period::SetDuration (const std::string& duration) -{ - this->duration = duration; -} -bool Period::GetBitstreamSwitching () const -{ - return this->isBitstreamSwitching; -} -void Period::SetBitstreamSwitching (bool value) -{ - this->isBitstreamSwitching = value; -} |