sample generated code
publish to shared nenory all out objects