MHEG  17.9.0
 All Data Structures Files Functions Variables Typedefs Enumerations Macros Pages
mh5rtgraphics.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright © 2014 The DTVKit Open Software Foundation Ltd (www.dtvkit.org)
3  * Copyright © 2004 Ocean Blue Software Ltd
4  * Copyright © 2000 Koninklijke Philips Electronics N.V
5  *
6  * This file is part of a DTVKit Software Component
7  * You are permitted to copy, modify or distribute this file subject to the terms
8  * of the DTVKit 1.0 Licence which can be found in licence.txt or at www.dtvkit.org
9  *
10  * THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND,
11  * EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES
12  * OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.
13  *
14  * If you or your organisation is not a member of DTVKit then you have access
15  * to this source code outside of the terms of the licence agreement
16  * and you are expected to delete this and any associated files immediately.
17  * Further information on DTVKit, membership and terms can be found at www.dtvkit.org
18  *******************************************************************************/
33 #ifndef _MH5RTGRAPHICS_H
34 #define _MH5RTGRAPHICS_H
35 
36 /*---includes for this file--------------------------------------------------*/
37 
38 #include "mh5presentable.h"
39 #include "mh5stream.h"
40 
41 /*---Constant and macro definitions for public use---------------------------*/
42 
43 /*---Enumerations for public use---------------------------------------------*/
44 
45 /*---Global type defs for public use-----------------------------------------*/
46 
47 typedef struct
48 {
49  /* Base class */
50  MHEG5Visible visible;
51 
52  /* Exchanged attributes */
53  MHEG5Bool terminationFreeze; /* or disapear */
54  MHEG5Int componentTag;
55 
56  /* No internal attributes for this class */
57 
58  /* Engine data */
59  MHEG5Stream *parent;
61 
62 
63 /*---Global variable declarations for public use-----------------------------*/
64 
65 /*---Global Function prototypes for public use-------------------------------*/
66 
72 void MHEG5rtgraphicsInit(MHEG5RTGraphics *rtgraphics);
73 
74 
82 void MHEG5rtgraphicsFree(MHEG5RTGraphics *rtgraphics);
83 
84 /*
85  Internal behaviours
86  */
94 void MHEG5rtgraphicsPrepare(MHEG5RTGraphics *rtgraphics);
95 
101 void MHEG5rtgraphicsActivate(MHEG5RTGraphics *rtgraphics);
102 
111 
117 void MHEG5rtgraphicsDestruct(MHEG5RTGraphics *rtgraphics);
118 
119 
120 /*
121  Debug
122  */
123 
124 #ifdef MH5PRINTOUT
125 
132 void MHEG5rtgraphicsPrint(MHEG5RTGraphics *rtgraphics, char *out);
133 
134 #endif /* #ifdef MH5PRINTOUT */
135 
136 #endif /*_MH5RTGRAPHICS_H*/
void MHEG5rtgraphicsActivate(MHEG5RTGraphics *rtgraphics)
Apply the activation behaviour of the RTGraphics class.
Definition: mh5rtgraphics.c:138
void MHEG5rtgraphicsFree(MHEG5RTGraphics *rtgraphics)
Free off all memory associated with the specified object, including any exchanged attributes and inte...
Definition: mh5rtgraphics.c:108
Implement the MHEG5 Stream Class Stream Class Defines the behaviour of a composition of continuous me...
Definition: mh5visible.h:46
void MHEG5rtgraphicsPrepare(MHEG5RTGraphics *rtgraphics)
Apply the preparation behaviour of the RTGraphics class As this class has no own preparation behaviou...
Definition: mh5rtgraphics.c:127
Definition: mh5stream.h:62
Implement the MHEG5 Presentable Class Description Presentable Class Defines the behaviour of objects ...
void MHEG5rtgraphicsDeactivate(MHEG5RTGraphics *rtgraphics)
Apply the deactivation behaviour of the RTGraphics class. As this class has no own deactivation behav...
Definition: mh5rtgraphics.c:166
void MHEG5rtgraphicsDestruct(MHEG5RTGraphics *rtgraphics)
Destruct a RTGraphics object.
Definition: mh5rtgraphics.c:189
void MHEG5rtgraphicsInit(MHEG5RTGraphics *rtgraphics)
Initialise a RTGraphics object with default values.
Definition: mh5rtgraphics.c:94
Definition: mh5rtgraphics.h:47