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 ()

[virtual]

void  processOneEvent (bool blocking)

[pure virtual]

processes exactly one io event

void  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 ()

[pure virtual]

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

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

[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.

void  remove (IONotify *notify, int types)

[pure virtual]

stops watching a filedescriptor

void  addTimer (int milliseconds, TimeNotify *notify)

[pure virtual]

starts a periodic timer

void  removeTimer (TimeNotify *notify)

[pure virtual]

stops the timer


Generated by: stefan@stefan on Sat Feb 24 19:11:23 2001, using kdoc 2.0a47.