- changed component to TASK
- edited description
Adding pointer of the process with ownership to the oC_Screen_t object
Issue #237
new
Implementation reason
The system should be equipped with graphics provider in the next release. The problem is that currently it is not possible to assign a screen for process and more than one process can access the screen at the same time.
Generic Description
It should be possible to assign process as owner of a screen. The oC_Screen_t
object should store a pointer to the process that has ownership over the screen. It will be used by graphic providers to give and take ownership over the screens to their programs when it is required. The Screen
object interface should also allow for checking ownership of the screen in easy way
Required Interface
// Returns pointer to the process that is owner of the screen
extern oC_Process_t oC_Screen_GetOwner( oC_Screen_t Screen );
// Sets a process as owner of the screen
extern oC_ErrorCode_t oC_Screen_SetOwner( oC_Screen_t Screen, oC_Process_t Process );
// Returns true if current process has ownership over the screen
extern bool oC_Screen_HasOwnership( oC_Screen_t Screen );
Trello
Link to trello board:
Story
- [ #245 ] - Providing support of standard system providers
List of requirements
Comments (2)
-
reporter -
reporter - changed title to Adding pointer of the process with ownership to the oC_Screen_t object
- edited description
- Log in to comment