inject
or i
injects an user-input event into the simulation model.
This command invokes the callback function whose type is
PortValue
callback(Devs& md)
. This is the third
argument of the SRTEngine constructor. The corresponding API is
void SRTEngine::Inject(PortValue x).