nn::nex::PromotionReferee::ComputeDistance Member Function

Syntax

virtual qReal ComputeDistance(
     DuplicatedObject * pOtherObject
);

Parameters

Name Description
in pOtherObject Passes a pointer to the duplicated object registered as the observer for the station.

Return Values

Implement this function to return the distance between pOtherObject and the duplicated object that called ComputeDistance.

Description

Calculates the distance used to calculate a distance-based extrapolation error for dead reckoning.

Override this function to accept the duplicated object class defined by the application when using distance-based dead reckoning.

This function is called by the system inside the Scheduler::Dispatch function and does not need to be called by the application.

For more information about dead reckoning, see the programming manual.

See Also

Station::RegisterObserver

Revision History

2012/09/03
Initial version.

CONFIDENTIAL