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

#include <atsc_core_atsc3_mmt_gfdbuflist.h>

Public Member Functions

eATSCResult_t RegisterCallback (void *pFunc, void *pCtx)
 To assign the callback function.
 
int32_t GetLen (uint32_t iPacketId, uint32_t iCp, uint32_t iToi)
 Return the iLength of the packet data.
 
int32_t GetSize (uint32_t iPacketId, uint32_t iCp, uint32_t iToi)
 Return the Size of the packet data.
 
eATSCResult_t SetLen (uint32_t iPacketId, uint32_t iCp, uint32_t iToi, uint32_t iLength)
 To set the iLength for the received packet data.
 
eATSCResult_t WriteData (uint32_t iPacketId, uint32_t iCp, uint32_t iToi, uint8_t *pData, int32_t iDatalen)
 To set the iLength for the received packet data.
 
eATSCResult_t OpenFile (uint32_t iPacketId, uint32_t iCp, uint32_t iToi, uint32_t iLength, char *pFolder, char *pFileName)
 To open the file and write the data.
 
eATSCResult_t CloseFile (uint32_t iPacketId, uint32_t iCp, uint32_t iToi)
 To close the file and remove the data list.
 

Public Attributes

callback_complete_gfd m_callback_done
 
void * m_ctx
 
std::list< sGfdProperties_t * > pDataList
 

Detailed Description

CGfdBuf

Member Function Documentation

◆ CloseFile()

CGfdBuf::CloseFile ( uint32_t iPacketId,
uint32_t iCp,
uint32_t iToi )

To close the file and remove the data list.

Parameters
iPacketId,iCp,iToi
Return values
eATSCResult_t

◆ GetLen()

CGfdBuf::GetLen ( uint32_t iPacketId,
uint32_t iCp,
uint32_t iToi )

Return the iLength of the packet data.

Parameters
iPacketId,iCp,iToi
Return values
int32_t

◆ GetSize()

CGfdBuf::GetSize ( uint32_t iPacketId,
uint32_t iCp,
uint32_t iToi )

Return the Size of the packet data.

Parameters
iPacketId,iCp,iToi
Return values
int32_t

◆ OpenFile()

CGfdBuf::OpenFile ( uint32_t iPacketId,
uint32_t iCp,
uint32_t iToi,
uint32_t iLength,
char * pFolder,
char * pFileName )

To open the file and write the data.

Parameters
iPacketId,iCp,iToi,iLength,pFolder,pFileName
Return values
eATSCResult_t

◆ RegisterCallback()

CGfdBuf::RegisterCallback ( void * pFunc,
void * pCtx )

To assign the callback function.

Parameters
void*pFunc, void* pCtx
Return values
eATSCResult_t

◆ SetLen()

CGfdBuf::SetLen ( uint32_t iPacketId,
uint32_t iCp,
uint32_t iToi,
uint32_t iLength )

To set the iLength for the received packet data.

Parameters
iPacketId,iCp,iToi,iLength
Return values
eATSCResult_t

◆ WriteData()

CGfdBuf::WriteData ( uint32_t iPacketId,
uint32_t iCp,
uint32_t iToi,
uint8_t * pData,
int32_t iDatalen )

To set the iLength for the received packet data.

Parameters
iPacketId,iCp,iToi,pData,iDatalen
Return values
eATSCResult_t

Member Data Documentation

◆ m_callback_done

callback_complete_gfd CGfdBuf::m_callback_done

m_callback_done

◆ m_ctx

void* CGfdBuf::m_ctx

m_ctx

◆ pDataList

std::list<sGfdProperties_t*> CGfdBuf::pDataList

data_list


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