DtvKit_ATSC3.0
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CServiceGuide Class Reference

#include <atsc_core_common_serviceguide.h>

Public Member Functions

 CServiceGuide ()
 Called the Load() API for create the file to save the guide info in the GUIDE_PATH.
 
std::string MakeGuide (void)
 By using JSON file format, creating the guide for both DVB,AT3 guide.
 
int32_t GetServiceCount (int32_t iDemod, int32_t iCh)
 To get the service count for making guide.
 
void Clear (void)
 Clear the DVB,AT3 guide information.
 
std::string MakeServiceXml (void)
 To create the xml for make the Service list.
 
int32_t UpdateAT3Guide (int32_t iCh, int32_t iGroup_id, int32_t iGroup_count_minus1, int32_t iVer, sServiceListTable_t slt)
 To make the guide using service list via UpdateServicesInfo() by using JSON/XML format.
 
eATSCResult_t UpdateATSC1Guide (int32_t iId, int32_t iCh, sMpeg2Tvct_t stTvct)
 To update the mAT1Guide information based on services.
 
eATSCResult_t UpdateServicesInfo (void)
 To update the service in JSON/XML format for user reference.
 
void MakeTvctXml (tinyxml2::XMLDocument *doc, tinyxml2::XMLElement *root)
 To update the XML format for DVB/ATSC1 using TVCT information.
 
int32_t MakeSLTJson (void)
 To make the Service list using JSON file format in the path /var/www/html/guide/slt.json.
 
std::string GetServiceXml (void)
 To get the Service list(mServicesXml) which is updated in UpdateServicesInfo().
 

Public Attributes

std::string mServicesXml
 
std::map< int32_t, std::map< int32_t, sServiceListTable_t > > mAT3Guide
 
std::map< int32_t, sMpeg2Tvct_tmAT1Guide
 

Detailed Description

CServiceGuide

Constructor & Destructor Documentation

◆ CServiceGuide()

CServiceGuide::CServiceGuide ( )

Called the Load() API for create the file to save the guide info in the GUIDE_PATH.

Parameters
NA
Return values
NA

Member Function Documentation

◆ Clear()

CServiceGuide::Clear ( void )

Clear the DVB,AT3 guide information.

Parameters
none
Return values
void

◆ GetServiceCount()

CServiceGuide::GetServiceCount ( int32_t iDemod,
int32_t iCh )

To get the service count for making guide.

Parameters
iDemod,iCh
Return values
int32_t(eATSCResult_t)

◆ GetServiceXml()

CServiceGuide::GetServiceXml ( void )

To get the Service list(mServicesXml) which is updated in UpdateServicesInfo().

Parameters
none
Return values
std::string

◆ MakeGuide()

CServiceGuide::MakeGuide ( void )

By using JSON file format, creating the guide for both DVB,AT3 guide.

Parameters
none
Return values
std::string

◆ MakeServiceXml()

CServiceGuide::MakeServiceXml ( void )

To create the xml for make the Service list.

Parameters
none
Return values
std::string

◆ MakeSLTJson()

CServiceGuide::MakeSLTJson ( void )

To make the Service list using JSON file format in the path /var/www/html/guide/slt.json.

Parameters
none
Return values
int32_t(eATSCResult_t)

◆ MakeTvctXml()

CServiceGuide::MakeTvctXml ( tinyxml2::XMLDocument * doc,
tinyxml2::XMLElement * root )

To update the XML format for DVB/ATSC1 using TVCT information.

Parameters
tinyxml2::XMLDocument*doc , tinyxml2::XMLElement *root
Return values
void

◆ UpdateAT3Guide()

CServiceGuide::UpdateAT3Guide ( int32_t iCh,
int32_t iGroup_id,
int32_t iGroup_count_minus1,
int32_t iVer,
sServiceListTable_t slt )

To make the guide using service list via UpdateServicesInfo() by using JSON/XML format.

Parameters
iCh,iGroup_id,iGroup_count_minus1,iVer,sServiceListTable_tslt
Return values
int32_t

◆ UpdateATSC1Guide()

CServiceGuide::UpdateATSC1Guide ( int32_t iId,
int32_t iCh,
sMpeg2Tvct_t stTvct )

To update the mAT1Guide information based on services.

Parameters
iId,iCh,sMpeg2Tvct_ttvct
Return values
eATSCResult_t

◆ UpdateServicesInfo()

CServiceGuide::UpdateServicesInfo ( void )

To update the service in JSON/XML format for user reference.

Parameters
none
Return values
eATSCResult_t

Member Data Documentation

◆ mAT1Guide

std::map<int32_t, sMpeg2Tvct_t> CServiceGuide::mAT1Guide

mAT1Guide

◆ mAT3Guide

std::map<int32_t, std::map<int32_t, sServiceListTable_t> > CServiceGuide::mAT3Guide

mAT3Guide

◆ mServicesXml

std::string CServiceGuide::mServicesXml

mServicesXml


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