DtvKit_ATSC3.0
Loading...
Searching...
No Matches
atsc_core.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3 *
4 * This file is part of a DTVKit Software Component
5 * You are permitted to copy, modify or distribute this file subject to the terms
6 * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
7 *
8 * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
9 * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
10 * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
11 *
12 * If you or your organisation is not a member of DTVKit then you have access
13 * to this source code outside of the terms of the licence agreement
14 * and you are expected to delete this and any associated files immediately.
15 * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
16 *******************************************************************************/
17
18#ifndef ATSC_CORE_H
19#define ATSC_CORE_H
20
21#include <iostream>
22
23using namespace std;
24
25#include <inttypes.h>
26#include <stdio.h>
27#include <list>
28
29#include <atsc_types.h>
31#include "atsc_core_utils_database.h"
32
42public:
43
51
59
67
74 int32_t ProcessAlpData(int32_t iCh, uint8_t *pData, uint32_t iDataLen);
75
82 int32_t ProcessLLS(uint32_t iCh, uint8_t* pData, int32_t iDataLen);
83
90 std::string GetGuideInfo(char *sUri);
91
98 void *GetDataBaseHandle(void);
99
107
114 void *GetServicesHandle(void);
115
123
130 void *GetDumpHandle(void);
131
138 std::string GetDumpHistory(void);
139
147
154 bool DBSelect(int32_t iType, char *pParam1);
155
162 bool DBDelete(int32_t iType, char *pParam1);
163
170 std::list<sDownloadFileInfo_t> GetDBFileInfo( void );
171
178 std::list<sHeldMsgProperties_t> GetDBHeldMsgInfo( void );
179
186 size_t GetDBHeldMsgSz( void );
187
194 size_t GetDBFileInfoSz( void );
195
202 bool UpdateDB(int32_t iType, void *pParam1, void*pParam2);
203
210 std::string GetSystemTime();
211
218 std::string GetOnScreenMsg();
219
227
234 void GetUserServiceInfo( int32_t iServiceId , int32_t iPhyCh , int32_t iMajorCh , int32_t iMinorCh );
235};
236#endif /* ATSC_CORE_H */
Definition atsc_core.h:41
bool UpdateDB(int32_t iType, void *pParam1, void *pParam2)
Updated data base info.
void * GetDataBaseHandle(void)
To get Database class handle.
void GetUserServiceInfo(int32_t iServiceId, int32_t iPhyCh, int32_t iMajorCh, int32_t iMinorCh)
Get the user selected service information.
size_t GetDBHeldMsgSz(void)
Get Held Msg Size.
void * GetServicesHandle(void)
To get Service class handle.
CAtscCore()
Constructor of CAtscCore.
int32_t ProcessAlpData(int32_t iCh, uint8_t *pData, uint32_t iDataLen)
Parse Alp data.
std::string GetDumpHistory(void)
To Make the Dump History information about tuner.
int32_t ProcessLLS(uint32_t iCh, uint8_t *pData, int32_t iDataLen)
Process LLS data.
std::string GetOnScreenMsg()
To get the on-screen message notification.
size_t GetDBFileInfoSz(void)
Get Data File Size.
std::list< sDownloadFileInfo_t > GetDBFileInfo(void)
Get data base Info.
void * GetDumpHandle(void)
To get Dump class handle.
std::list< sHeldMsgProperties_t > GetDBHeldMsgInfo(void)
Get Held data base Info.
void * GetDemodSenderHandle(void)
To get Demod Sender class handle.
sServiceListTable_t GetSltData(void)
Get slt data.
void * GetSubscribeHandle(void)
To get Subscribe class handle.
void StartService()
Start other functionalities such ATSC1.
std::string GetGuideInfo(char *sUri)
To get the guide information for services in xml format.
~CAtscCore()
Destructor for CAtscCore.
sRrtDataTable_t GetRrt()
To get the rating regional information.
bool DBSelect(int32_t iType, char *pParam1)
Select required data base.
Definition atsc_types.h:507
Definition atsc_types.h:651