![]() |
ATSC3
24.10.0
|
#include <atsc_core_atsc3_route_dashbuflist.h>
Public Member Functions | |
CSessionBuf (uint32_t iCategory, uint32_t iTsi, char *pBase) | |
Constructs a new CSessionBuf object. More... | |
~CSessionBuf () | |
Deconstructs a CSessionBuf object. More... | |
void | SetHandler (funcDone fn1) |
Sets the handler function. More... | |
int32_t | Clear (void) |
Close the file and clear the data. More... | |
uint32_t | GetLen (uint32_t iToi) |
Retrieves the length associated with the specified identifier from the data vector. More... | |
uint32_t | GetSize (uint32_t iToi) |
Retrieves the size associated with the specified identifier from the data vector. More... | |
int32_t | WriteData (uint32_t iToi, uint8_t *pData, int32_t iDataLen) |
Writes data to the specified identifier in the session buffer. More... | |
int32_t | SetDefaultProperties (char *pMimeType, int32_t iBandwidth, int32_t iDuration, int32_t iTimescale) |
Copied the Mimetype. More... | |
int32_t | SetDefaultName (uint32_t iInitToi, char *pInitialization, char *pMedia) |
Sets default names for initialization and media associated with the session buffer. More... | |
int32_t | OpenFile (uint32_t iToi, uint32_t iLength, char *pFolder, char *pContentName, char *pContentEncoding) |
Opens a file associated with the specified identifier in the session buffer. More... | |
int32_t | CloseFile (uint32_t iToi) |
Closes the file associated with the specified identifier in the session buffer. If the file is successfully closed, the appropriate callback function is called. More... | |
int32_t | CleanUp (uint32_t iToi) |
Cleans up temporary files associated with the session buffer. More... | |
uint32_t | GetSessionId (void) |
Return the Session ID. More... | |
void | SetInfo (sTransportSessionId_t info) |
Copy the session data. More... | |
std::vector< sSessionFileProperties_t > | GetRecvInfo () |
Return Data vector properties. More... | |
sTransportSessionId_t | GetInfo (void) |
Return the session data. More... | |
int32_t | GetCodePoint (void) |
Return CodePoint value. More... | |
uint32_t | GetInitToi (void) |
Return the Initial TOI value. More... | |
Public Attributes | |
funcDone | mCbDone |
CSessionBuf::CSessionBuf | ( | uint32_t | iCategory, |
uint32_t | iTsi, | ||
char * | pBase | ||
) |
CSessionBuf::~CSessionBuf | ( | ) |
CSessionBuf::CleanUp | ( | uint32_t | iToi | ) |
Cleans up temporary files associated with the session buffer.
iToi |
int32_t |
CSessionBuf::Clear | ( | void | ) |
Close the file and clear the data.
NA |
int32_t |
CSessionBuf::CloseFile | ( | uint32_t | iToi | ) |
Closes the file associated with the specified identifier in the session buffer. If the file is successfully closed, the appropriate callback function is called.
iToi |
int32_t |
CSessionBuf::GetCodePoint | ( | void | ) |
Return CodePoint value.
NA |
int32_t |
CSessionBuf::GetInfo | ( | void | ) |
CSessionBuf::GetInitToi | ( | void | ) |
Return the Initial TOI value.
NA |
uint32_t |
CSessionBuf::GetLen | ( | uint32_t | iToi | ) |
Retrieves the length associated with the specified identifier from the data vector.
iToi |
uint32_t |
CSessionBuf::GetRecvInfo | ( | ) |
Return Data vector properties.
NA |
std::vector<sSessionFileProperties_t> |
CSessionBuf::GetSessionId | ( | void | ) |
Return the Session ID.
NA |
uint32_t |
CSessionBuf::GetSize | ( | uint32_t | iToi | ) |
Retrieves the size associated with the specified identifier from the data vector.
iToi |
uint32_t |
CSessionBuf::OpenFile | ( | uint32_t | iToi, |
uint32_t | iLength, | ||
char * | pFolder, | ||
char * | pContentName, | ||
char * | pContentEncoding | ||
) |
Opens a file associated with the specified identifier in the session buffer.
iToi,iLength,pFolder,pContentName,pContentEncoding |
int32_t |
CSessionBuf::SetDefaultName | ( | uint32_t | iInitToi, |
char * | pInitialization, | ||
char * | pMedia | ||
) |
Sets default names for initialization and media associated with the session buffer.
iInitToi,pInitialization,pMedia |
int32_t |
CSessionBuf::SetDefaultProperties | ( | char * | pMimeType, |
int32_t | iBandwidth, | ||
int32_t | iDuration, | ||
int32_t | iTimescale | ||
) |
Copied the Mimetype.
pMimeType,iBandwidth,iDuration,iTimescale |
int32_t |
CSessionBuf::SetHandler | ( | funcDone | fn1 | ) |
Sets the handler function.
funcDone | fn1 |
void |
CSessionBuf::SetInfo | ( | sTransportSessionId_t | info | ) |
CSessionBuf::WriteData | ( | uint32_t | iToi, |
uint8_t * | pData, | ||
int32_t | iDataLen | ||
) |
Writes data to the specified identifier in the session buffer.
iToi,pData,iDataLen |
int32_t |