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

#include <atsc_core_atsc3_route_parser.h>

Public Member Functions

 CRoute (const char *pHlsPath, const char *pDataPath, sSltService_t stService, int32_t iPhysicalCh)
 This constructor initializes a CRoute object with the given HLS path, data path, service information and physical channel.
 
 ~CRoute ()
 Deconstruct the Route class object.
 
sRouteParseResult_t Parse (uint8_t *pData, int32_t iDataLen)
 Parses the received data for route information.
 
uint32_t GetServiceValue (eSltServiceType_t eSltType)
 Mapping the SLT service Type.
 
void DownloadDone (sSessionFileProperties_t properties, sTransportSessionId_t session)
 Invoked when a download operation is completed, providing information about the downloaded file properties and the transport session.
 
void SetHandler (funcDownloadDone f1, funcAppSignal f2)
 Set the handler for the Download and APP signaling once the operation is done.
 
void SetAppContextId (char *pContextId, char *pPackageUrl)
 Set the Context ID for the package URL data.
 
bool ClearDownloadStatus (void)
 Clear the Signaling map and Session Data.
 
std::list< sEfdtFile_tGetProgress (void)
 Retrieves the progress of non-real-time (NRT) files being processed by the route.
 
std::string GetBaseUrl (void)
 Return BaseURL.
 
int32_t GetMediaType (void)
 Get the Media Type as Video or Audio.
 

Detailed Description

CRoute

Constructor & Destructor Documentation

◆ CRoute()

CRoute::CRoute ( const char * pHlsPath,
const char * pDataPath,
sSltService_t stService,
int32_t iPhysicalCh )

This constructor initializes a CRoute object with the given HLS path, data path, service information and physical channel.

Parameters
pHlsPath,pDataPath,sSltService_tstService,iPhysicalCh
Return values
NA

◆ ~CRoute()

CRoute::~CRoute ( )

Deconstruct the Route class object.

Parameters
NA
Return values
NA

Member Function Documentation

◆ ClearDownloadStatus()

CRoute::ClearDownloadStatus ( void )

Clear the Signaling map and Session Data.

Parameters
NA
Return values
bool

◆ DownloadDone()

CRoute::DownloadDone ( sSessionFileProperties_t properties,
sTransportSessionId_t session )

Invoked when a download operation is completed, providing information about the downloaded file properties and the transport session.

Parameters
sSessionFileProperties_tproperties, sTransportSessionId_t session
Return values
void

◆ GetBaseUrl()

CRoute::GetBaseUrl ( void )

Return BaseURL.

Parameters
NA
Return values
std::string

◆ GetMediaType()

CRoute::GetMediaType ( void )

Get the Media Type as Video or Audio.

Parameters
void
Return values
int32_t

◆ GetProgress()

CRoute::GetProgress ( void )

Retrieves the progress of non-real-time (NRT) files being processed by the route.

Parameters
NA
Return values
std::list<sEfdtFile_t>

◆ GetServiceValue()

CRoute::GetServiceValue ( eSltServiceType_t eSltType)

Mapping the SLT service Type.

Parameters
eSltServiceType_teSltType
Return values
uint32_t

◆ Parse()

CRoute::Parse ( uint8_t * pData,
int32_t iDataLen )

Parses the received data for route information.

Parameters
uint8_t*pData, int32_t iDataLen
Return values
sRouteParseResult_t

◆ SetAppContextId()

CRoute::SetAppContextId ( char * pContextId,
char * pPackageUrl )

Set the Context ID for the package URL data.

Parameters
char*pContextId, char *pPackageUrl
Return values
void

◆ SetHandler()

CRoute::SetHandler ( funcDownloadDone f1,
funcAppSignal f2 )

Set the handler for the Download and APP signaling once the operation is done.

Parameters
funcDownloadDonef1, funcAppSignal f2
Return values
void

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