50 #ifndef FILTERMANAGER_H_
51 #define FILTERMANAGER_H_
53 #include "tsparser/ITransportSection.h"
54 using namespace ::br::pucrio::telemidia::ginga::core::tsparser;
56 #include "SectionFilter.h"
57 #include "dsmcc/carousel/data/Module.h"
58 using namespace ::br::pucrio::telemidia::ginga::core::dataprocessing::carousel;
71 namespace dataprocessing {
74 map<short, SectionFilter*> streamTypeFilters;
75 map<int, SectionFilter*> pidFilters;
76 set<string> processedSections;
77 map<string, map<unsigned int, ITransportSection*>*> sections;
78 map<unsigned int, Module*>* info;
80 unsigned short blockSize;
81 pthread_mutex_t filterMutex;
86 ITSFilter* createStreamTypeSectionFilter(
88 IDemuxer* demux, IFilterListener* listener);
90 ITSFilter* createPidSectionFilter(
91 int pid, IDemuxer* demux, IFilterListener* listener);
93 void destroyFilter(IDemuxer* demux,
short streamType);
94 void destroyFilter(IDemuxer* demux, ITSFilter* filter);
95 bool processSection(ITransportSection* section);
96 void addProcessedSection(
string sectionName);
97 void setInfo(map<unsigned int, Module*>* info);
98 void setBlockSize(
unsigned short size);
Definition: FilterManager.h:72