Top Up Prev Next Bottom Contents Index Search

3.7 Class Universe

Class Universe is inherited from both Galaxy and Runnable. It is intended for use in standalone Ptolemy applications. For applications that use a user interface to dynamically build universes, class InterpUniverse is used instead. In addition to the Runnable and Galaxy functions, it has:

Universe(Target* s,const char* typeDesc);
The constructor specifies the target and the universe type.
Scheduler* scheduler() const;
Returns the scheduler belonging to the universe's target.

int run(); 
Return Runnable::Run.



Top Up Prev Next Bottom Contents Index Search

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