50 #ifndef EPGPROCESSOR_H_
51 #define EPGPROCESSOR_H_
63 #include "util/functions.h"
64 using namespace ::br::pucrio::telemidia::util;
66 #include "tsparser/IServiceInfo.h"
67 #include "tsparser/IEventInfo.h"
68 #include "tsparser/ITOT.h"
69 using namespace ::br::pucrio::telemidia::ginga::core::tsparser::si;
71 #include "IDataProcessor.h"
72 #include "IEPGProcessor.h"
85 namespace dataprocessing {
89 set<string>* processedSections;
91 bool scheduleMapReady;
99 map<unsigned int, IEventInfo*>* eventPresent;
100 map<unsigned int, IEventInfo*>* eventSchedule;
104 set<IEPGListener*>* epgListeners;
105 set<IEPGListener*>* serviceListeners;
106 set<IEPGListener*>* timeListeners;
116 void decodeSdt(
string fileName);
118 set<IEventInfo*>* decodeEit(
string fileName);
120 void decodeCdt(
string fileName);
122 void addEPGListener(
IEPGListener* listener,
string request,
unsigned char type);
123 map<string, struct SIField> createMap();
130 struct SIField* handleFieldStr(
string str);
131 int savePNG(
char* data,
int pngSize);
132 void generateEitMap(map<unsigned int, IEventInfo*>* actualMap);
134 void generateTotMap(
ITOT* tot);
136 void callMapGenerator(
unsigned int tableId);
138 void printFieldMap(map<string, struct SIField>* fieldMap);
Definition: EPGProcessor.h:87
Definition: IDataProcessor.h:84
Definition: IEPGListener.h:105
Definition: IServiceInfo.h:67
Definition: IEPGProcessor.h:66
Definition: IEPGListener.h:93
Definition: ITransportSection.h:62