DtvKit_ATSC3.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Public Attributes | List of all members
CMwService Class Reference

#include <atsc_mw_service.h>

Public Member Functions

 CMwService ()
 Constructor of CMwService.
 
 ~CMwService ()
 Destructor for CMwService.
 
int32_t GetSupportedStandards (void)
 read supported standards
 
int32_t GetAvailNoOfFrontendInstances (void)
 returns available number of frontend instances
 
eATSCResult_t SetRegion (eRegion_t iRegion)
 Set region:Default :US.
 
eRegion_t GetRegion (void)
 returns current region ID
 
eATSCResult_t SetDemod (eDemod_t iDemod)
 Set Demod type :Default :ATSC3.0.
 
eDemod_t GetDemod (void)
 returns current Demod ID
 
eATSCResult_t Frontend_TuneToChannel (int32_t iId, int32_t iCh, int32_t iPlp, eDemod_t iDemod, eRegion_t iRegion)
 
eATSCResult_t Frontend_TuneToChannel (int32_t iId, int32_t iCh, int32_t iPlp)
 
eATSCResult_t Frontend_ScanChannels (int32_t iTunerId, int32_t iStartCh, int32_t iEndCh, int32_t iDemod, int32_t iPlpId)
 
eATSCResult_t Frontend_ScanChannels (int32_t iId, int32_t iStartCh, int32_t iEndCh, int32_t iDemod, int32_t iPlp, int32_t iRegion)
 
eATSCResult_t Frontend_StopChannelScan (int32_t iId)
 Stop channel scan.
 
eATSCResult_t Frontend_Start (int32_t iId)
 Start frontend functionality.
 
eATSCResult_t Frontend_Stop (int32_t iId)
 Stop frontend functionality.
 
eATSCResult_t Frontend_GetProperties (int32_t iId, sFeProp_t *pProps)
 Read frontend properties.
 
eATSCResult_t Frontend_GetStatus (int32_t iId, sFeStatus_t *pStatus)
 Read frontend status.
 
eATSCResult_t Frontend_RegisterStatusEventCb (FeStatusCbFunc fStatusPtr)
 Register frontend status callback.
 
eATSCResult_t Frontend_RegisterParamEventCb (FeParamsCbFunc ptrfunc)
 Register frontend params callback.
 
sServiceListTable_t GetSltServiceData (void)
 Get slt data.
 
std::string GetQueryHttpResponse (std::string sContentData)
 Get the http response and query for the signaling methods.
 
std::string GetGuideInfo (char *sUri)
 Get the Guide information.
 
std::string GetTunerInfo (sFeStatus_t *pStatus, int32_t iTunerId)
 Get the Tuner Info and passed to web application.
 
std::string GetTunersInfo (void)
 Get the Tuner Info for two instances and passed to web application.
 
std::string GetVersion (char *pVersion)
 Get the version of the MW application.
 
std::string GetPrepareTunerInfo (int32_t iInstance, sFeStatus_t *pStatus)
 Prepare the tuner information in xml/json format.
 
std::string GetDumpHistory (void)
 Get the Dump data for the tuner information in the root path.
 
std::string RequestMWService (std::string sUri, char *pContentData)
 Request for Services.
 
std::string RequestMWDump (std::string sUri, int32_t iHttpType)
 Request for Dump data.
 
std::string MwRequestTuners (std::string sUri, char *pContentData)
 Request for Tuners.
 
std::string MwRequestUserService (std::string sUri, char *pContentData)
 
std::string MwRequestScan (std::string sUri, char *pContentData)
 Request for Scan.
 
void StartScan (sScanScenario_t *scenario)
 Request for Start Channel scanning.
 
void StopScan (void)
 Request for Stop Channel scanning.
 
Json::Value GetScanningInfo (void)
 Request for getting scanning paremeters information.
 
std::list< sScanResult_tGetScanningStatus (void)
 Request for getting scanning paremeters information.
 
void ThreadScan ()
 Thread handler to perform the channel scanning.
 
std::string GetSystemTime (void)
 To get read system time.
 
sRrtDataTable_t GetRrt (void)
 To get the rating regional information.
 
void RegisterOnsnEventNotify (OnScreenNotify fParamsPtr)
 Notification event for osn message.
 
std::string GetFrontendConfiguration (void)
 Get the tuner related configuration.
 
void GetUserServiceInfo (int32_t iServiceId, int32_t iPhyCh, int32_t iMajorCh, int32_t iMinorCh)
 
bool ChannelBasedTune (int32_t iUserCh)
 

Public Attributes

bool mScanning
 

Detailed Description

CMwService

Constructor & Destructor Documentation

◆ CMwService()

CMwService::CMwService ( )

Constructor of CMwService.

Parameters
N/A
Return values
N/A

◆ ~CMwService()

CMwService::~CMwService ( )

Destructor for CMwService.

Parameters
N/A
Return values
N/A

Member Function Documentation

◆ Frontend_GetProperties()

CMwService::Frontend_GetProperties ( int32_t iId,
sFeProp_t * pProps )

Read frontend properties.

Parameters
iId:Frontend Id , pParams:sFeProp_t structure pointer
Return values
eATSCResult_t

◆ Frontend_GetStatus()

CMwService::Frontend_GetStatus ( int32_t iId,
sFeStatus_t * pStatus )

Read frontend status.

Parameters
iId:Frontend Id , pParams:sFeStatus_t structure pointer
Return values
eATSCResult_t

◆ Frontend_RegisterParamEventCb()

CMwService::Frontend_RegisterParamEventCb ( FeParamsCbFunc ptrfunc)

Register frontend params callback.

Parameters
FeParamsCbFuncptrfunc
Return values
eATSCResult_t

◆ Frontend_RegisterStatusEventCb()

CMwService::Frontend_RegisterStatusEventCb ( FeStatusCbFunc fStatusPtr)

Register frontend status callback.

Parameters
FeStatusCbFuncfstatus
Return values
eATSCResult_t

◆ Frontend_Start()

CMwService::Frontend_Start ( int32_t iId)

Start frontend functionality.

Parameters
iId: Frontend Id
Return values
eATSCResult_t

◆ Frontend_Stop()

CMwService::Frontend_Stop ( int32_t iId)

Stop frontend functionality.

Parameters
iId:Frontend Id
Return values
eATSCResult_t

◆ Frontend_StopChannelScan()

CMwService::Frontend_StopChannelScan ( int32_t iId)

Stop channel scan.

Parameters
iId:Frontend Id
Return values
eATSCResult_t

◆ GetAvailNoOfFrontendInstances()

CMwService::GetAvailNoOfFrontendInstances ( void )

returns available number of frontend instances

Parameters
None
Return values
Availablenumber of Frontend instances

◆ GetDemod()

CMwService::GetDemod ( void )

returns current Demod ID

Parameters
None
Return values
eDemod_t

◆ GetDumpHistory()

CMwService::GetDumpHistory ( void )

Get the Dump data for the tuner information in the root path.

Parameters
NA
Return values
std::string

◆ GetFrontendConfiguration()

CMwService::GetFrontendConfiguration ( void )

Get the tuner related configuration.

Parameters
NA
Return values
std::string

◆ GetGuideInfo()

CMwService::GetGuideInfo ( char * sUri)

Get the Guide information.

Parameters
char*sUri
Return values
std::string

◆ GetPrepareTunerInfo()

CMwService::GetPrepareTunerInfo ( int32_t iInstance,
sFeStatus_t * pStatus )

Prepare the tuner information in xml/json format.

Parameters
int32_tiInstance , sFeStatus_t *pStatus
Return values
std::string

◆ GetQueryHttpResponse()

CMwService::GetQueryHttpResponse ( std::string sContentData)

Get the http response and query for the signaling methods.

Parameters
std::stringsContentData
Return values
std::string

◆ GetRegion()

CMwService::GetRegion ( void )

returns current region ID

Parameters
None
Return values
eRegion_t

◆ GetRrt()

CMwService::GetRrt ( void )

To get the rating regional information.

Parameters
none
Return values
sRrtDataTable_t

◆ GetScanningInfo()

CMwService::GetScanningInfo ( void )

Request for getting scanning paremeters information.

Parameters
void
Return values
Jsonvalue to respective interface

◆ GetScanningStatus()

CMwService::GetScanningStatus ( void )

Request for getting scanning paremeters information.

Parameters
void
Return values
Jsonvalue to respective interface

◆ GetSltServiceData()

CMwService::GetSltServiceData ( void )

Get slt data.

Parameters
None
Return values
sServiceListTable_t

◆ GetSupportedStandards()

CMwService::GetSupportedStandards ( void )

read supported standards

Parameters
None
Return values
or'edvalues of supported standards

◆ GetSystemTime()

CMwService::GetSystemTime ( void )

To get read system time.

Parameters
N/A
Return values
std::string

◆ GetTunerInfo()

CMwService::GetTunerInfo ( sFeStatus_t * pStatus,
int32_t iTunerId )

Get the Tuner Info and passed to web application.

Parameters
sFeStatus_t*pStatus,int32_t iTunerId
Return values
std::string

◆ GetTunersInfo()

CMwService::GetTunersInfo ( void )

Get the Tuner Info for two instances and passed to web application.

Parameters
void
Return values
std::string

◆ GetVersion()

CMwService::GetVersion ( char * pVersion)

Get the version of the MW application.

Parameters
char*pVersion
Return values
std::string

◆ MwRequestScan()

CMwService::MwRequestScan ( std::string sUri,
char * pContentData )

Request for Scan.

Parameters
std::stringsUri, char *pContentData
Return values
std::string

◆ MwRequestTuners()

CMwService::MwRequestTuners ( std::string sUri,
char * pContentData )

Request for Tuners.

Parameters
std::stringsUri, char *pContentData
Return values
std::string

◆ RegisterOnsnEventNotify()

CMwService::RegisterOnsnEventNotify ( OnScreenNotify fParamsPtr)

Notification event for osn message.

Parameters
notifycalllback
Return values
void

◆ RequestMWDump()

CMwService::RequestMWDump ( std::string sUri,
int32_t iHttpType )

Request for Dump data.

Parameters
std::stringsUri, int32_t iHttpType
Return values
std::string

◆ RequestMWService()

CMwService::RequestMWService ( std::string sUri,
char * pContentData )

Request for Services.

Parameters
std::stringsUri, char *pContentData
Return values
std::string

◆ SetDemod()

CMwService::SetDemod ( eDemod_t iDemod)

Set Demod type :Default :ATSC3.0.

Parameters
iDemodId
Return values
eATSCResult_t

◆ SetRegion()

CMwService::SetRegion ( eRegion_t iRegion)

Set region:Default :US.

Parameters
iRegionId
Return values
eATSCResult_t

◆ StartScan()

CMwService::StartScan ( sScanScenario_t * scenario)

Request for Start Channel scanning.

Parameters
std::structuresScanScenario_t *scenario
Return values
void

◆ StopScan()

CMwService::StopScan ( void )

Request for Stop Channel scanning.

Parameters
void
Return values
void

◆ ThreadScan()

CMwService::ThreadScan ( )

Thread handler to perform the channel scanning.

Parameters
void
Return values
void

Member Data Documentation

◆ mScanning

bool CMwService::mScanning

mScanning


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