class IOManager

Provides services like timers and notifications when filedescriptors get ready to read/write. More...

Contains pure virtuals
Full nameArts::IOManager
Definition#include <arts/iomanager.h>
Inherited byGIOManager, QIOManager, StdIOManager
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods


Detailed Description

Provides services like timers and notifications when filedescriptors get ready to read/write.

 ~IOManager ()

~IOManager

[virtual]

void  processOneEvent (bool blocking)

processOneEvent

[pure virtual]

processes exactly one io event

void  run ()

run

[pure virtual]

enters a loop which processes io events, until terminate is called

may only be called once (use processOneEvent for other purposes)

void  terminate ()

terminate

[pure virtual]

terminates the io event loop (which was started with run)

void  watchFD (int fd, int types, IONotify *notify)

watchFD

[pure virtual]

starts watching one filedescriptor for certain types of operations

notifies the notify object when e.g. the fd requires (allows) reading and types contained IOType::read.

See also: IOType, IONotify

void  remove (IONotify *notify, int types)

remove

[pure virtual]

stops watching a filedescriptor

void  addTimer (int milliseconds, TimeNotify *notify)

addTimer

[pure virtual]

starts a periodic timer

See also: TimeNotify

void  removeTimer (TimeNotify *notify)

removeTimer

[pure virtual]

stops the timer


Generated by: stefan on stefan on Sat Jun 2 23:13:28 2001, using kdoc 2.0a53.