#include #include #include #include #include #include #include #include #include #include namespace Mist { /// This struct keeps packet information sorted in playback order, so the /// Mist::Output class knows when to buffer which packet. struct sortedPageInfo{ bool operator < (const sortedPageInfo & rhs) const { if (time < rhs.time){ return true; } return (time == rhs.time && tid < rhs.tid); } int tid; long long unsigned int time; unsigned int offset; }; struct DTSCPageData { DTSCPageData() : pageNum(0), keyNum(0), partNum(0), dataSize(0), curOffset(0), firstTime(0), lastKeyTime(-5000){} int pageNum;/// currKeyOpen; void loadPageForKey(long unsigned int trackId, long long int keyNum); bool isBlocking;///< If true, indicates that myConn is blocking. unsigned int lastStats;///