Iterator entities = container.entityList(CompositeActor.class)
.iterator();
while (entities.hasNext()) {
CompositeActor contained = (CompositeActor) entities.next();
contained.preinitialize();
}
// If this is the toplevel PtinyOSDirector, generate makefile
// and compile the generated code.
if (_isTopLevelNC()) {