![]() |
MHEG5
22.3.0
|
Implementation of the MHEG5 Application Class Defines a set of Ingredient objects, which are shared within an application scope. Base class: Group Subclasses: None Status: Concrete class. More...
#include "mh5group.h"
Go to the source code of this file.
Classes | |
struct | sMHEG5DisplayStackItem |
struct | MHEG5Application |
Typedefs | |
typedef struct sMHEG5DisplayStackItem | MHEG5DisplayStackItem |
Functions | |
MHEG5Application * | MHEG5getCurrentApplication (void) |
<Function description>=""> More... | |
void | MHEG5applicationStackClear (BOOLEAN isNdt) |
void | MHEG5applicationCarouselUnload (void *carousel, BOOLEAN isNdt) |
void | MHEG5applicationNDTcarouselAttach (void *carousel) |
MHEG5ErrorCode | MHEG5applicationBootup (char *app_name, BOOLEAN single) |
Launches Boot Application according to name rules: This function will authenticate and resolve a filename to its origin and path. The origin will be of the form: CI:// or DSM://. If the origin is DSM:// then the following sequence of file loads are completed until an application is found, or all attempts fail. If the application name is blank then the first three steps are skipped, (DSM assumed) More... | |
void | MHEG5applicationBootAbort (void) |
Aborts launch of Boot Application. More... | |
void | MHEG5displayStackAdd (MHEG5Root *visible, MHEG5Bool atTop) |
This function adds a visible to the display stack. The parameter atTop defines if the Visible is added at the Top or Bottom of the display stack. More... | |
MHEG5Bool | MHEG5displayStackDelete (MHEG5Root *visible) |
This function removes the reference to a visible object from the display stack. More... | |
void | MHEG5displayStackToTop (MHEG5Root *visible) |
Move a Visible to the Top of the display stack. More... | |
void | MHEG5displayStackToBottom (MHEG5Root *visible) |
Move a visible to the Bottom of the display stack. More... | |
void | MHEG5displayStackPutBefore (MHEG5Root *target, MHEG5Root *refVisible) |
Put a Visible exactly in front of another Visible in the display stack. More... | |
void | MHEG5displayStackPutBehind (MHEG5Root *target, MHEG5Root *refVisible) |
Put a Visible exactly below another Visible in the display stack. More... | |
MHEG5DisplayStackItem * | MHEG5displayStackBottom (void) |
This function returns a pointer to the DisplayStackItem at the Bottom of the Stack. More... | |
MHEG5DisplayStackItem * | MHEG5displayStackPrev (MHEG5DisplayStackItem *item) |
This function returns a pointer to the previous item in the display stack. The input parameter is a DisplayStackItem. More... | |
MHEG5DisplayStackItem * | MHEG5displayStackPrevVisible (MHEG5Root *visible) |
This function returns a pointer to the previous item in the display stack. The input parameter is a Visible. More... | |
MHEG5Root * | MHEG5displayStackGetVisible (MHEG5DisplayStackItem *item) |
This function returns the visible at a specific display stack positon. More... | |
void | MHEG5applicationInit (MHEG5Application *application) |
Initialise an application object with default values. More... | |
void | MHEG5applicationFree (MHEG5Application *application) |
Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed. More... | |
void | MHEG5applicationPrepare (MHEG5Application *application) |
Apply the group preparation behaviour. More... | |
void | MHEG5applicationDestruct (MHEG5Application *application) |
Destruct an application object. This function destructs all parts of an application object. More... | |
void | MHEG5ActivateCurrentApplication (void) |
Apply the group activation behaviour. More... | |
void | MHEG5applicationDeactivate (MHEG5Application *application) |
Apply the application deactivation behaviour +Apply the CloseConnection action to all opened auxiliary connections. +Apply the Deactivation behaviour as inherited from the base class. More... | |
MHEG5ErrorCode | MHEG5storePersistent (MHEG5Root *target, MHEG5GList *params) |
Implementation of the StorePersistent (StoreSucceeded, InVariables, OutFileName) action from the application class StorePersistent (StoreSucceeded, InVariables, OutFileName) Requests the MHEG-5 engine to save data in such a way that it may later be retrieved by the ReadPersistent action. More... | |
MHEG5ErrorCode | MHEG5readPersistent (MHEG5Root *target, MHEG5GList *params) |
Implementation of the ReadPersistent (ReadSucceded, OutVariables, InFileName) action from the application class ReadPersistent (ReadSucceded, OutVariables, InFileName) Request the MHEG-5 engine to read data that has been saved by the StorePersistent action. More... | |
MHEG5ErrorCode | MHEG5launch (MHEG5Root *target, MHEG5GList *params) |
MHEG5ErrorCode | MHEG5spawn (MHEG5Root *target, MHEG5GList *params) |
Implementation of the Spawn action from the application class +Execute the OnSpawnCloseDown Action of the currently active Application object. +Store the GroupIdentifier of the currently active Application on the application identifier stack, if any. +Execute the effect of the Launch action. More... | |
MHEG5ErrorCode | MHEG5quit (MHEG5Root *target, MHEG5GList *params) |
Implementation of the Quit action from the application class Close an application and restart the previous application. More... | |
MHEG5ErrorCode | MHEG5lockScreen (MHEG5Root *target, MHEG5GList *params) |
Implementation of the LockScreen action of the application class Freeze the display screen and prevent from reflecting changes to Visible objects. More... | |
MHEG5ErrorCode | MHEG5unlockScreen (MHEG5Root *target, MHEG5GList *params) |
Impelemtation of the UnlockScreen action of the application class This action may refresh the display screen and reflect at once all changes to Visible objects. More... | |
MHEG5ErrorCode | MHEG5getEngineSupport (MHEG5Root *target, MHEG5GList *params) |
Implementation of the GetEngineSupport action of the application class GetEngineSupport (Feature, Answer) AncillaryConnections (asks whether engine supports ancillary point to point connections. These connections deal with the actions OpenConnection and CloseConnection, and the attribute ConnectionTag in various elementary actions) ApplicationStacking (asks whether engine provides support for the Spawn action of the Application class) Cloning (asks whether engine supports the Clone action) FreeMovingCursor (asks whether engine provides support for the class CursorShape, for the events CursorEnter and CursorLeave, and for the actions GetCursorPosition, SetCursorPosition, and SetCursorShape) MultipleAudioStreams(N) (asks whether engine supports at least N simultaneous Audio streams) MultipleRTGraphicsStreams(N) (asks whether engine supports at least N simultaneous RTGraphics streams) MultipleVideoStreams(N) (asks whether engine supports at least N simultaneous Video streams) OverlappingVisibles(N) (asks whether engine supports at least N overlapping Visibles) Scaling (asks whether engine supports ScaleBitmap and ScaleVideo actions) SceneAspectRatio(W,H) (asks whether engine supports a given aspect ratio. W & H are two integers, W / H is the width/height aspect ratio.) SceneCoordinateSystem(X,Y) (asks whether engine supports a given coordinate system. X & Y are two integers defining the coordinate system.) TrickModes (asks whether engine supports trick modes for Streams) More... | |
MHEG5ErrorCode | MHEG5setDesktopColour (MHEG5Root *target, MHEG5GList *params) |
Impelemtation of the SetDesktopColour action of the application class This action may refresh the display screen and reflect at once all changes to Visible objects. More... | |
MHEG5ErrorCode | MHEG5openConnection (MHEG5Root *target, MHEG5GList *params) |
Impelemtation of the OpenConnection (OpenSucceeded, Protocol, Address, ConnectionTag) action of the application class |NOT IMPLEMENTED.|. More... | |
MHEG5ErrorCode | MHEG5closeConnection (MHEG5Root *target, MHEG5GList *params) |
Impelemtation of the CloseConnection(ConnectionTag) action of the application class |NOT IMPLEMENTED.|. More... | |
void | MHEG5quitApp (void) |
Close an application because of the Quit Application Event defined by DTG. More... | |
void | MHEG5applicationClearGroupTargets (MHEG5Application *application, MHEG5Group *group) |
Clear targets of actions if they are ingredients of the given group. More... | |
void | MHEG5applicationResolveTargets (MHEG5Application *application) |
Resolve unresolved targets of actions in the application. More... | |
void | MHEG5applicationPush (MHEG5String groupid) |
Implementation of the MHEG5 Application Class Defines a set of Ingredient objects, which are shared within an application scope. Base class: Group Subclasses: None Status: Concrete class.
void MHEG5ActivateCurrentApplication | ( | void | ) |
void MHEG5applicationBootAbort | ( | void | ) |
Aborts launch of Boot Application.
MHEG5ErrorCode MHEG5applicationBootup | ( | char * | app_name, |
BOOLEAN | single | ||
) |
Launches Boot Application according to name rules: This function will authenticate and resolve a filename to its origin and path. The origin will be of the form: CI:// or DSM://. If the origin is DSM:// then the following sequence of file loads are completed until an application is found, or all attempts fail. If the application name is blank then the first three steps are skipped, (DSM assumed)
app_name | Application boot name |
single | When TRUE only single attempt to load using app_name |
void MHEG5applicationClearGroupTargets | ( | MHEG5Application * | application, |
MHEG5Group * | group | ||
) |
Clear targets of actions if they are ingredients of the given group.
application | Pointer to application object. |
group | Pointer to group object. |
void MHEG5applicationDeactivate | ( | MHEG5Application * | application | ) |
Apply the application deactivation behaviour +Apply the CloseConnection action to all opened auxiliary connections. +Apply the Deactivation behaviour as inherited from the base class.
MHEG5Application | * application |
void MHEG5applicationDestruct | ( | MHEG5Application * | application | ) |
Destruct an application object. This function destructs all parts of an application object.
MHEG5Application | *application |
void MHEG5applicationFree | ( | MHEG5Application * | application | ) |
Free off all memory associated with the specified object, including any exchanged attributes and internal data. The data holding the object itself is not freed.
application | Pointer to object to free. |
void MHEG5applicationInit | ( | MHEG5Application * | application | ) |
Initialise an application object with default values.
application | Pointer to object to initialise. |
Initialise an application object with default values.
void MHEG5applicationPrepare | ( | MHEG5Application * | application | ) |
void MHEG5applicationResolveTargets | ( | MHEG5Application * | application | ) |
Resolve unresolved targets of actions in the application.
application | Pointer to application object. |
MHEG5ErrorCode MHEG5closeConnection | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Impelemtation of the CloseConnection(ConnectionTag) action of the application class |NOT IMPLEMENTED.|.
MHEG5Root | target |
MHEG5GList | *params |
void MHEG5displayStackAdd | ( | MHEG5Root * | visible, |
MHEG5Bool | atTop | ||
) |
This function adds a visible to the display stack. The parameter atTop defines if the Visible is added at the Top or Bottom of the display stack.
MHEG5Root | *visible |
MHEG5Bool | atTop |
MHEG5DisplayStackItem* MHEG5displayStackBottom | ( | void | ) |
This function returns a pointer to the DisplayStackItem at the Bottom of the Stack.
MHEG5Bool MHEG5displayStackDelete | ( | MHEG5Root * | visible | ) |
This function removes the reference to a visible object from the display stack.
MHEG5Root | *visible |
MHEG5Root* MHEG5displayStackGetVisible | ( | MHEG5DisplayStackItem * | item | ) |
This function returns the visible at a specific display stack positon.
MHEG5DisplayStackItem | *item |
MHEG5DisplayStackItem* MHEG5displayStackPrev | ( | MHEG5DisplayStackItem * | item | ) |
This function returns a pointer to the previous item in the display stack. The input parameter is a DisplayStackItem.
MHEG5DisplayStackItem | *item |
MHEG5DisplayStackItem* MHEG5displayStackPrevVisible | ( | MHEG5Root * | visible | ) |
This function returns a pointer to the previous item in the display stack. The input parameter is a Visible.
MHEG5Root | *visible |
Put a Visible exactly in front of another Visible in the display stack.
MHEG5Root | *target |
MHEG5Root | *refVisible |
Put a Visible exactly below another Visible in the display stack.
MHEG5Root | *target |
MHEG5Root | *refVisible |
void MHEG5displayStackToBottom | ( | MHEG5Root * | visible | ) |
Move a visible to the Bottom of the display stack.
MHEG5Root | *visible |
void MHEG5displayStackToTop | ( | MHEG5Root * | visible | ) |
Move a Visible to the Top of the display stack.
MHEG5Root | *visible |
MHEG5Application* MHEG5getCurrentApplication | ( | void | ) |
<Function description>="">
<Function description>="">
MHEG5ErrorCode MHEG5getEngineSupport | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Implementation of the GetEngineSupport action of the application class GetEngineSupport (Feature, Answer) AncillaryConnections (asks whether engine supports ancillary point to point connections. These connections deal with the actions OpenConnection and CloseConnection, and the attribute ConnectionTag in various elementary actions) ApplicationStacking (asks whether engine provides support for the Spawn action of the Application class) Cloning (asks whether engine supports the Clone action) FreeMovingCursor (asks whether engine provides support for the class CursorShape, for the events CursorEnter and CursorLeave, and for the actions GetCursorPosition, SetCursorPosition, and SetCursorShape) MultipleAudioStreams(N) (asks whether engine supports at least N simultaneous Audio streams) MultipleRTGraphicsStreams(N) (asks whether engine supports at least N simultaneous RTGraphics streams) MultipleVideoStreams(N) (asks whether engine supports at least N simultaneous Video streams) OverlappingVisibles(N) (asks whether engine supports at least N overlapping Visibles) Scaling (asks whether engine supports ScaleBitmap and ScaleVideo actions) SceneAspectRatio(W,H) (asks whether engine supports a given aspect ratio. W & H are two integers, W / H is the width/height aspect ratio.) SceneCoordinateSystem(X,Y) (asks whether engine supports a given coordinate system. X & Y are two integers defining the coordinate system.) TrickModes (asks whether engine supports trick modes for Streams)
MHEG5PROFILE_UK1_06
MHEG5Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5lockScreen | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Implementation of the LockScreen action of the application class Freeze the display screen and prevent from reflecting changes to Visible objects.
MHEG5Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5openConnection | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Impelemtation of the OpenConnection (OpenSucceeded, Protocol, Address, ConnectionTag) action of the application class |NOT IMPLEMENTED.|.
MHEG5Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5quit | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Implementation of the Quit action from the application class Close an application and restart the previous application.
MHEG5Root | *target |
MHEG5GList | *params |
void MHEG5quitApp | ( | void | ) |
Close an application because of the Quit Application Event defined by DTG.
MHEG5PROFILE_UK1_06
MHEG5ErrorCode MHEG5readPersistent | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Implementation of the ReadPersistent (ReadSucceded, OutVariables, InFileName) action from the application class ReadPersistent (ReadSucceded, OutVariables, InFileName) Request the MHEG-5 engine to read data that has been saved by the StorePersistent action.
MHEG5Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5setDesktopColour | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Impelemtation of the SetDesktopColour action of the application class This action may refresh the display screen and reflect at once all changes to Visible objects.
MHEG5Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5spawn | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Implementation of the Spawn action from the application class +Execute the OnSpawnCloseDown Action of the currently active Application object. +Store the GroupIdentifier of the currently active Application on the application identifier stack, if any. +Execute the effect of the Launch action.
MHEG5Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5storePersistent | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Implementation of the StorePersistent (StoreSucceeded, InVariables, OutFileName) action from the application class StorePersistent (StoreSucceeded, InVariables, OutFileName) Requests the MHEG-5 engine to save data in such a way that it may later be retrieved by the ReadPersistent action.
MHEG55Root | *target |
MHEG5GList | *params |
MHEG5ErrorCode MHEG5unlockScreen | ( | MHEG5Root * | target, |
MHEG5GList * | params | ||
) |
Impelemtation of the UnlockScreen action of the application class This action may refresh the display screen and reflect at once all changes to Visible objects.
MHEG5Root | *target |
MHEG5GList | *params |