ATSC3  24.10.0
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 
23 using 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 
41 class CAtscCore{
42 public:
43 
50  CAtscCore();
51 
58  ~CAtscCore();
59 
66  sServiceListTable_t GetSltData( void );
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 
106  void *GetSubscribeHandle(void);
107 
114  void *GetServicesHandle(void);
115 
122  void *GetDemodSenderHandle(void);
123 
130  void *GetDumpHandle(void);
131 
138  std::string GetDumpHistory(void);
139 
146  void StartService();
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 
226  sRrtDataTable_t GetRrt();
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
Definition: atsc_types.h:507
Definition: atsc_types.h:651