![]() |
MHEG5
18.9.0
MHEG5 Documentation
|
MHEG5 queue. More...
#include "mherrors.h"
#include "dvb_misc.h"
#include "mheg5_control.h"
#include "mheg5_keypress.h"
#include "dvbevents.h"
#include "dmxtype.h"
#include "dvblocator.h"
#include "fs_types.h"
#include "dtvstring.h"
#include "dsm_types.h"
#include "mh5queue.h"
#include "glue_type.h"
Go to the source code of this file.
Classes | |
struct | s_StartDsmApp |
struct | s_keypressevent |
struct | s_DsmccEvent |
struct | s_StreamEvent |
struct | s_CiStart |
struct | s_CiStop |
struct | MHEG5StopEventParams_tag |
struct | MHEG5ResetResolutionParams_tag |
struct | MHEG5TimerEventParams_tag |
struct | s_fileAck |
struct | MHEG5CiFileAcknowledgeEventParams_tag |
struct | MHEG5FsStorageParams_tag |
struct | s_dvpeventtype |
struct | s_mhg_message |
Typedefs | |
typedef void(* | F_QueueNotify) (void) |
typedef void(* | F_MSG_PROCESS) (void *data) |
Function to Process voyager message. More... | |
typedef struct s_StartDsmApp | S_StartDsmApp |
typedef struct s_keypressevent | S_KeyPressEvent |
typedef struct s_DsmccEvent | S_DsmccEvent |
typedef struct s_StreamEvent | S_StreamEvent |
typedef struct s_CiStart | S_CiStart |
typedef struct s_CiStop | S_CiStop |
typedef struct MHEG5StopEventParams_tag | MHEG5StopEventParams_t |
typedef struct MHEG5ResetResolutionParams_tag | MHEG5ResetResolutionParams_t |
typedef struct MHEG5TimerEventParams_tag | MHEG5TimerEventParams_t |
typedef struct s_fileAck | S_FileSystemAck |
typedef struct MHEG5CiFileAcknowledgeEventParams_tag | MHEG5CiFileAcknowledgeEventParams_t |
typedef struct MHEG5FsStorageParams_tag | MHEG5FsStorageParams_t |
typedef struct s_dvpeventtype | S_DvpEventType |
typedef struct s_mhg_message | MHEG5eventMessage_t |
typedef struct s_mhg_message | S_MhegMessage |
Enumerations | |
enum | E_PRIORITY { PRTY_CRITICAL, PRTY_HIGH, PRTY_NORMAL, PRTY_LOW, PRTY_INVALID } |
enum | E_DATA_TYPE { DT_NONE, DT_VALUE, DT_ALLOC, DT_CONTENT, DT_D_CONTENT, DT_F_CONTENT, DT_S_CONTENT } |
Functions | |
E_MhegErr | VQ_Open (S_MhegConfig *cfg_params) |
Initialise component control and section queues. Allocates memory for, sets up and creates event (component control) and section queues. More... | |
void | VQ_Close (void) |
Close component control and section queue component. Destroys all allocated memory and resources for event and section queues. More... | |
E_MhegErr | VQ_PutMsg (S_MhegMessage *pMsg, E_PRIORITY priority) |
Post event or section message on queue. Copies data into queue. More... | |
E_MhegErr | VQ_GetMsg (S_MhegMessage *pElem) |
Get an event or section from the component queues. This is a blocking function. More... | |
U16BIT | VQ_GetSizeFree (E_PRIORITY priority) |
Get size available on a queue. More... | |
BOOLEAN | VQ_EventNeedsProcessing (void) |
Check whether any events on component queues needs processing. More... | |
void * | VQ_RegisterNotify (F_QueueNotify normal_rcvd, F_QueueNotify critical_rcvd, F_QueueNotify critical_done) |
void | VQ_UnRegisterNotify (void *qn) |
typedef void(* F_MSG_PROCESS) (void *data) |
Function to Process voyager message.
data | Pointer to msg data |
Definition at line 70 of file glue_queue.h.
typedef void(* F_QueueNotify) (void) |
CI_PLUS_ONLY
Definition at line 43 of file glue_queue.h.
typedef struct s_mhg_message MHEG5eventMessage_t |
typedef struct MHEG5FsStorageParams_tag MHEG5FsStorageParams_t |
typedef struct MHEG5ResetResolutionParams_tag MHEG5ResetResolutionParams_t |
typedef struct MHEG5StopEventParams_tag MHEG5StopEventParams_t |
typedef struct MHEG5TimerEventParams_tag MHEG5TimerEventParams_t |
typedef struct s_DsmccEvent S_DsmccEvent |
typedef struct s_dvpeventtype S_DvpEventType |
typedef struct s_fileAck S_FileSystemAck |
typedef struct s_keypressevent S_KeyPressEvent |
typedef struct s_mhg_message S_MhegMessage |
typedef struct s_StartDsmApp S_StartDsmApp |
typedef struct s_StreamEvent S_StreamEvent |
enum E_DATA_TYPE |
Enumerator | |
---|---|
DT_NONE | |
DT_VALUE | |
DT_ALLOC | |
DT_CONTENT | |
DT_D_CONTENT | |
DT_F_CONTENT | |
DT_S_CONTENT |
Definition at line 54 of file glue_queue.h.
enum E_PRIORITY |
Enumerator | |
---|---|
PRTY_CRITICAL | |
PRTY_HIGH | |
PRTY_NORMAL | |
PRTY_LOW | |
PRTY_INVALID |
Definition at line 45 of file glue_queue.h.
void VQ_Close | ( | void | ) |
Close component control and section queue component. Destroys all allocated memory and resources for event and section queues.
Close component control and section queue component. Destroys all allocated memory and resources for event and section queues.
Definition at line 140 of file glue_queue.c.
BOOLEAN VQ_EventNeedsProcessing | ( | void | ) |
Check whether any events on component queues needs processing.
Definition at line 457 of file glue_queue.c.
E_MhegErr VQ_GetMsg | ( | S_MhegMessage * | pMsg | ) |
Get an event or section from the component queues. This is a blocking function.
pElem | Pointer to event message |
pEvent | Pointer to component event or section data structure. |
Definition at line 341 of file glue_queue.c.
U16BIT VQ_GetSizeFree | ( | E_PRIORITY | priority | ) |
Get size available on a queue.
pEvent | Pointer to component event or section data structure. |
Definition at line 434 of file glue_queue.c.
E_MhegErr VQ_Open | ( | S_MhegConfig * | cfg_params | ) |
Initialise component control and section queues. Allocates memory for, sets up and creates event (component control) and section queues.
num_section_buffers | Maximum number of sections in queue |
Definition at line 96 of file glue_queue.c.
E_MhegErr VQ_PutMsg | ( | S_MhegMessage * | pMsg, |
E_PRIORITY | priority | ||
) |
Post event or section message on queue. Copies data into queue.
pMsg | Pointer to message. |
Post event or section message on queue. Copies data into queue.
pEvent | Pointer to component event. |
msg_size | data size excluding size of S_MhegMessage |
Definition at line 248 of file glue_queue.c.
void* VQ_RegisterNotify | ( | F_QueueNotify | normal_rcvd, |
F_QueueNotify | critical_rcvd, | ||
F_QueueNotify | critical_done | ||
) |
critical_rcvd | Pointer to function signalling a critical event |
critical_done | Pointer to function inform critical event done |
Definition at line 507 of file glue_queue.c.
void VQ_UnRegisterNotify | ( | void * | qn | ) |
normal_rcvd | Pointer to function signalling an async event |
Definition at line 530 of file glue_queue.c.