InterpUniverse (const char* name = "mainGalaxy");This creates an empty universe with no target and the given name. If no name is specified,
mainGalaxy
is the default.
int newTarget(const char* newTargName = 0);This creates a target of the given name (from the KnownTarget list), deleting any existing target.
const char* targetName() const;Return the name of the current target.
Scheduler* scheduler() const;Return the scheduler belonging to the current target (
0
if none).
Target* myTarget() const;Return a pointer to the current target.
int run();Invokes
Runnable::run
.
void wrapup();Invokes wrapup on the target.