tsc_IGnssModesMonitor

This interface is used to handle tsc_GnssModes related events.  Any class may subclass of this interface, in addition to any other monitor interfaces plus any regular base class.

Use an instance of the class by passing it into a tsc_GnssModes method that you wish to monitor the progress of.  See tsc_GnssModes for methods which take this type.

Event handlers

Any of the following event handlers may be implemented.  Note that these handlers do not supply information about the event.  This is a performance consideration; the event sender does not know what the handler wishes to do and therefore does not waste time setting up interfaces that may never be used.  Rather, the event handler should "pull" the information it needs, when it needs it.

virtual void OnOnGnssModesFail (tsc_GnssModes* sender);
Called when one or more of the commands implied by a tsc_GnssModes action has failed.  Supplies the tsc_GnssModes object that issued the request.

virtual void OnGnssModesTimeout (tsc_GnssModes* sender);
Called when one or more of the commands implied by a tsc_GnssModes action has timed out.  Supplies the tsc_GnssModes object that issued the request.

virtual void OnGnssModesComplete (tsc_GnssModes* sender);
Called when all commands have completed.  If the tsc_GnssModes method causing this event was MeasureEcef, MeasureEcefDeltas or StartMeasure.  You can call modes->GetMeasureResultEcef() or modes->GetMeasureResultEcefDeltas() to obtain the resulting measurement.

virtual void OnGnssModesMeasurementComplete(tsc_GnssModes* sender);
Called when all a measurement command has completed.  You can call modes->GetMeasureResultEcef() or modes->GetMeasureResultEcefDeltas() to obtain the resulting measurement.

virtual void OnGnssModesInterimMeasurement  (tsc_GnssModes* modes,
                                            const tsc_GnssCustomMeasurement& measurementSoFar,
                                            tsc_MeasurementAction& takeAction);

Called every time the receiver reports a new observation during a measurement.  It is possible to modify the MeasurementAction to abort or force success of the measurement.