DtvKit_ATSC3.0
|
#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_t > | GetScanningStatus (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 |
CMwService::CMwService | ( | ) |
CMwService::~CMwService | ( | ) |
CMwService::Frontend_GetProperties | ( | int32_t | iId, |
sFeProp_t * | pProps ) |
Read frontend properties.
iId | :Frontend Id , pParams:sFeProp_t structure pointer |
eATSCResult_t |
CMwService::Frontend_GetStatus | ( | int32_t | iId, |
sFeStatus_t * | pStatus ) |
Read frontend status.
iId | :Frontend Id , pParams:sFeStatus_t structure pointer |
eATSCResult_t |
CMwService::Frontend_RegisterParamEventCb | ( | FeParamsCbFunc | ptrfunc | ) |
Register frontend params callback.
FeParamsCbFunc | ptrfunc |
eATSCResult_t |
CMwService::Frontend_RegisterStatusEventCb | ( | FeStatusCbFunc | fStatusPtr | ) |
Register frontend status callback.
FeStatusCbFunc | fstatus |
eATSCResult_t |
CMwService::Frontend_Start | ( | int32_t | iId | ) |
Start frontend functionality.
iId | : Frontend Id |
eATSCResult_t |
CMwService::Frontend_Stop | ( | int32_t | iId | ) |
Stop frontend functionality.
iId | :Frontend Id |
eATSCResult_t |
CMwService::Frontend_StopChannelScan | ( | int32_t | iId | ) |
Stop channel scan.
iId | :Frontend Id |
eATSCResult_t |
CMwService::GetAvailNoOfFrontendInstances | ( | void | ) |
returns available number of frontend instances
None |
Available | number of Frontend instances |
CMwService::GetDemod | ( | void | ) |
returns current Demod ID
None |
eDemod_t |
CMwService::GetDumpHistory | ( | void | ) |
Get the Dump data for the tuner information in the root path.
NA |
std::string |
CMwService::GetFrontendConfiguration | ( | void | ) |
Get the tuner related configuration.
NA |
std::string |
CMwService::GetGuideInfo | ( | char * | sUri | ) |
Get the Guide information.
char | *sUri |
std::string |
CMwService::GetPrepareTunerInfo | ( | int32_t | iInstance, |
sFeStatus_t * | pStatus ) |
Prepare the tuner information in xml/json format.
int32_t | iInstance , sFeStatus_t *pStatus |
std::string |
CMwService::GetQueryHttpResponse | ( | std::string | sContentData | ) |
Get the http response and query for the signaling methods.
std::string | sContentData |
std::string |
CMwService::GetRegion | ( | void | ) |
returns current region ID
None |
eRegion_t |
CMwService::GetRrt | ( | void | ) |
CMwService::GetScanningInfo | ( | void | ) |
Request for getting scanning paremeters information.
void |
Json | value to respective interface |
CMwService::GetScanningStatus | ( | void | ) |
Request for getting scanning paremeters information.
void |
Json | value to respective interface |
CMwService::GetSltServiceData | ( | void | ) |
CMwService::GetSupportedStandards | ( | void | ) |
read supported standards
None |
or'ed | values of supported standards |
CMwService::GetSystemTime | ( | void | ) |
To get read system time.
N/A |
std::string |
CMwService::GetTunerInfo | ( | sFeStatus_t * | pStatus, |
int32_t | iTunerId ) |
Get the Tuner Info and passed to web application.
sFeStatus_t | *pStatus,int32_t iTunerId |
std::string |
CMwService::GetTunersInfo | ( | void | ) |
Get the Tuner Info for two instances and passed to web application.
void |
std::string |
CMwService::GetVersion | ( | char * | pVersion | ) |
Get the version of the MW application.
char | *pVersion |
std::string |
CMwService::MwRequestScan | ( | std::string | sUri, |
char * | pContentData ) |
Request for Scan.
std::string | sUri, char *pContentData |
std::string |
CMwService::MwRequestTuners | ( | std::string | sUri, |
char * | pContentData ) |
Request for Tuners.
std::string | sUri, char *pContentData |
std::string |
CMwService::RegisterOnsnEventNotify | ( | OnScreenNotify | fParamsPtr | ) |
Notification event for osn message.
notify | calllback |
void |
CMwService::RequestMWDump | ( | std::string | sUri, |
int32_t | iHttpType ) |
Request for Dump data.
std::string | sUri, int32_t iHttpType |
std::string |
CMwService::RequestMWService | ( | std::string | sUri, |
char * | pContentData ) |
Request for Services.
std::string | sUri, char *pContentData |
std::string |
CMwService::SetDemod | ( | eDemod_t | iDemod | ) |
Set Demod type :Default :ATSC3.0.
iDemod | Id |
eATSCResult_t |
CMwService::SetRegion | ( | eRegion_t | iRegion | ) |
Set region:Default :US.
iRegion | Id |
eATSCResult_t |
CMwService::StartScan | ( | sScanScenario_t * | scenario | ) |
Request for Start Channel scanning.
std::structure | sScanScenario_t *scenario |
void |
CMwService::StopScan | ( | void | ) |
Request for Stop Channel scanning.
void |
void |
CMwService::ThreadScan | ( | ) |
Thread handler to perform the channel scanning.
void |
void |
bool CMwService::mScanning |
mScanning