Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

IO Control
[Applications]


Detailed Description

IO control application dispatch IO control events.

IO control introduction
The IO control application is in charge to check IO change such as CDROM or serial. When it detects a change it sends an event to its parent application (usually root).

Warning:
Currently only CDROM and RAMDISK has been implemented.
See also:
cdrom_status()

ramdisk_is_modified()

ramdisk_notify_path()

dcplaya_lua_ioctrl_event

Author:
benjamin gerard


Files

file  io_control.lua
 IO control application.


Data Structures

struct  ioctrl_app_s
 IO controler structure. More...


Functions

 ioctrl_update (var app, var frametime)
 IO control update handler.

 ioctrl_handle (var app, var evt)
 IO control event handler.

 io_control ()
 Create IO control application.

 io_control_kill (var io)
 Kill an io-control application.


Variables

ioctrl_app_s ioctrl_app
 io control unique application.


Function Documentation

ioctrl_update var  app,
var  frametime
 

IO control update handler.

The ioctrl_update() function checks IO status at given interval and sends event if any change has occurred.

io_control  ) 
 

Create IO control application.

See also:
ioctrl_app_s

ioctrl_app

io_control_kill var  io  ) 
 

Kill an io-control application.

The io_control_kill() function kills the given application by calling sending the evt_shutdown_app() function. If the given application is nil or ioctrl_app the default io-control (ioctrl_app) is killed and the global variable ioctrl_app is set to nil.

Parameters:
io application to kill (default to ioctrl_app)


dcplaya documentation version 2.0 Generated on November 2004 by doxygen 1.3.6