EW_WorkFunction

EW_WorkFunction

ew

1998 12-05


CLASS

EW_WorkFunction - piece-wise task run during idle time


SYNOPSIS

Class EW_WorkFunction has a member CallWorkFunction() which is expected to run for a small fraction of a second (perhaps 100ms or less) and return. The intention is to proceed on background work when the interface is not busy interacting heavily with the user. Non-trivial tasks must be broken up so that the interface doesn't freeze up. The single current work function is set using void EW_EventContext::SetWorkFunction(EW_WorkFunction *set).


PUBLIC MEMBER FUNCTIONS


virtual void CallWorkFunction(void)
This function does the short bit a work. It should be replaced in the derived object.


FILES

ew/eventcxt.h Event context header file


SEE ALSO

EW_intro(3), EW_EventContext(3)