Ginga  0.13.6
 All Classes Namespaces Functions Variables
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
br::pucrio::telemidia::ginga::core::tsparser::si::EventInfo Class Reference
Inheritance diagram for br::pucrio::telemidia::ginga::core::tsparser::si::EventInfo:
Inheritance graph
[legend]
Collaboration diagram for br::pucrio::telemidia::ginga::core::tsparser::si::EventInfo:
Collaboration graph
[legend]

Public Member Functions

void setStartTime (char *date)
 
void setDuration (char *dur)
 
struct tm calcEndTime (struct tm start, struct tm end)
 
time_t getStartTimeSecs ()
 
time_t getEndTimeSecs ()
 
unsigned int getDurationSecs ()
 
virtual string getStartTimeSecsStr ()
 
virtual string getEndTimeSecsStr ()
 
virtual string getDurationSecsStr ()
 
struct tm getStartTime ()
 
struct tm getDuration ()
 
struct tm getEndTime ()
 
string getStartTimeEncoded ()
 
string getDurationEncoded ()
 
string getStartTimeStr ()
 
string getEndTimeStr ()
 
string getDurationStr ()
 
unsigned short getLength ()
 
unsigned short getEventId ()
 
string getRunningStatus ()
 
string getRunningStatusDescription ()
 
unsigned char getFreeCAMode ()
 
unsigned short getDescriptorsLoopLength ()
 
vector< IMpegDescriptor * > * getDescriptors ()
 
map< unsigned char,
IMpegDescriptor * > * 
getDescriptorsMap ()
 
void print ()
 
size_t process (char *data, size_t pos)
 

Protected Member Functions

int convertDecimaltoBCD (int dec)
 
int convertBCDtoDecimal (int bcd)
 
struct tm convertMJDtoUTC (unsigned int mjd)
 
int convertUTCtoMJD (int day, int month, int year)
 

Protected Attributes

unsigned short eventId
 
char startTimeEncoded [5]
 
char durationEncoded [3]
 
unsigned char runningStatus
 
unsigned char freeCAMode
 
unsigned short descriptorsLoopLength
 
vector< IMpegDescriptor * > * descriptors
 
map< unsigned char,
IMpegDescriptor * > * 
desc
 
struct tm startTime
 
struct tm duration
 
struct tm endTime
 

Additional Inherited Members

- Static Public Attributes inherited from br::pucrio::telemidia::ginga::core::tsparser::si::IEventInfo
static const unsigned char DT_SHORT_EVENT = 0x4D
 
static const unsigned char DT_COMPONENT = 0X50
 
static const unsigned char DT_AUDIO_COMPONENT = 0XC4
 
static const unsigned char DT_PARENTAL_RATING = 0x55
 
static const unsigned char DT_EXTENDED_EVENT = 0x4E
 
static const unsigned char DT_CONTENT = 0x54
 
static const unsigned char DT_DIGITAL_COPY = 0xC1
 
static const unsigned char DT_DATA_CONTENTS = 0XC7
 
static const unsigned char DT_SERIES = 0XD5
 
static const unsigned char DT_EVENT_GROUP = 0x55
 
static const unsigned char DT_CONTENT_AVAILABILITY = 0XDE
 
static const unsigned char DT_STUFFING = 0X42
 
static const unsigned char DT_COMPONENT_GROUP = 0xD9
 

The documentation for this class was generated from the following files: