monitor_pcr.h
788 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* File: monitor_pcr.h
* Author: leonardo
*
* Created on 17 de Fevereiro de 2012, 17:36
*/
#ifndef MONITOR_PCR_H
#define MONITOR_PCR_H
#include <stdint.h>
#include "ouvinteInput.h"
#include "listenerMonitorPCRBase.h"
#include <list>
using namespace std;
class MonitorPCR: public OuvinteInput {
public:
char* extvideo;
MonitorPCR();
~MonitorPCR();
void addListenerPCRBase(ListenerMonitorPCRBase * listener);
void notifyListenersWithPCRBase(uint64_t pcrbase);
uint64_t getPCRBase();
void chegouInput(unsigned char* packet);
private:
void readPCRBase(unsigned char* packet);
list<ListenerMonitorPCRBase*> *listeners;
uint64_t pcr_base;
bool find;
};
#endif /* MONITOR_PCR_H */