/// <summary> /// This method actually boots up the data frame-work. This method is called via the ThreadPool from Run(). /// </summary> /// <param name="workingDirectory">Pass string.Empty for default; otherwise provide working directory for SimTelemetry</param> public void Bootup(string workingDirectory) { binaryDirectory = workingDirectory != string.Empty ? workingDirectory : "./"; // Initialize simulator collection, data logger and stats collector. Net = new TelemetryNetwork(); Sims = new Simulators(); new TelemetryLogger(this); Stats = new TelemetryStats(); new Splits(); Simulator_StatePollerThread = new Thread(Simulator_StatePoller); Simulator_StatePollerThread.Start(); // When a session start load the track. Session_Start += Telemetry_Session_Start; }
/// <summary> /// This method actually boots up the data frame-work. This method is called via the ThreadPool from Run(). /// </summary> /// <param name="no">Do not pass any argument</param> public void Bootup(object no) { // Initialize simulator collection, data logger and stats collector. Net = new TelemetryNetwork(); Sims = new Simulators(); new TelemetryLogger(this); Stats = new TelemetryStats(); new Splits(); Simulator_StatePollerThread = new Thread(Simulator_StatePoller); Simulator_StatePollerThread.Start(); // When a session start load the track. Session_Start += Telemetry_Session_Start; }