61 static const unsigned char TS_PACKET_SIZE = 188;
62 static const unsigned char TS_PAYLOAD_SIZE = TS_PACKET_SIZE - 4;
63 static const unsigned char TS_PACKET_SYNC_BYTE = 0x47;
65 virtual bool isConstructionFailed()=0;
66 virtual unsigned short getPid()=0;
67 virtual char getPacketData(
char **dataStream)=0;
68 virtual void getPayload(
char streamData[TS_PAYLOAD_SIZE])=0;
69 virtual unsigned char getPayloadSize()=0;
70 virtual void getPayload2(
char streamData[TS_PAYLOAD_SIZE])=0;
71 virtual unsigned char getPayloadSize2()=0;
72 virtual bool getStartIndicator()=0;
73 virtual unsigned char getPointerField()=0;
74 virtual unsigned char getAdaptationFieldControl()=0;
75 virtual unsigned char getContinuityCounter()=0;
76 virtual void setContinuityCounter(
unsigned int counter)=0;
77 virtual void print()=0;
78 virtual void setPacketCount(
unsigned int count)=0;
79 virtual unsigned int getPacketCount()=0;
Definition: ITSPacket.h:59