//dir.addDebugListener(new StreamListener());
// ---------------------------------
// Create the controller actors.
// ---------------------------------
CTCompositeActor sub = new CTCompositeActor(this, "Controllers");
HSFSMDirector hsdir = new HSFSMDirector(sub, "HSFSMDirector");
TypedIOPort subinPx = new TypedIOPort(sub, "inputPx");
subinPx.setInput(true);
subinPx.setOutput(false);