示例#1
0
        public Simulator(Context context, SimulationSettings simulationSettings)
        {
            var status = API.iplSimulatorCreate(context.Get(), ref simulationSettings, out mSimulator);

            if (status != Error.Success)
            {
                throw new Exception(string.Format("Unable to create simulator. [{0}]", status));
            }
        }