ScStwRace class

The ScStwRace class can be used to measure timings of climbing races with multiple lanes at once.

The ScStwRace is a container to manage multiple timers at a time and introduces a propper start sequence with start commands ('At your Marks' and 'Ready') and the official IFSC start signal.

Basic usage:

ScStwRace race;

// add two timers
race.addTimer(new ScStwTimer());
race.addTimer(new ScStwTimer());

// start a race
race.start();

Public slots

auto start(bool asyncronous = true) -> ScStw::StatusCode virtual
Function to start the race.
auto stop() -> ScStw::StatusCode virtual
Function to stop the currently running race.
auto reset() -> ScStw::StatusCode virtual
Function to reset a stopped race.

Function documentation

ScStw::StatusCode ScStwRace::start(bool asyncronous = true) virtual public slot

Function to start the race.

Parameters
asyncronous if the function should just start the start sequence and then quit (true) or if if should wait until the start sequence is over and quit after that (false)
Returns 200: OK; 904: state not matching

ScStw::StatusCode ScStwRace::stop() virtual public slot

Function to stop the currently running race.

Returns 200: OK; 904: state not matching