subclassing Engine to StarpuEngine