Top Up Prev Next Bottom Contents Index Search

5.4 Class FromEventHorizon

A FromEventHorizon is responsible for converting from a universal representation to a domain-specific representation. It is derived from EventHorizon.

FromEventHorizon(PortHole* p); 
The constructor simply calls the EventHorizon constructor.

void initialize(); 
The initialize function prepares the object for execution.

void putData(); 
This protected member transfers data from Universal EventHorizon to outside.

void transferData(); 
This protected member transfers data from peer event horizon to me.

virtual int ready(); 
This is a protected member. By default, it always returns TRUE (1). Derived classes have it return TRUE if the event horizon is ready (there is enough data for execution to proceed), and FALSE otherwise.



Top Up Prev Next Bottom Contents Index Search

Copyright © 1990-1997, University of California. All rights reserved.