nn::nex::DataSet::PredictRateOfChange Member Function

Syntax

qFloat PredictRateOfChange(
     PHBDRVar_qInt16 & v,
     Time tPredictionTime = SessionClock::GetTime()
);

Parameters

Name Description
in v Specifies the dataset variable for which to get the predicted value. This value can be obtained using the MODEL macro.
in tPredictionTime Specifies the time for which to get the predicted value. This is the current session time by default.

Return Values

Returns the predicted rate of change.

Description

Predicts the rate of change in variables for which dead reckoning is being used based on current information and returns the result.

Note: The data definition language (DDL) compiler generates this function only when the extrapolation_filter property is attached to this dataset in the DDL declaration.

This function predicts the rate of change per millisecond in variables using dead reckoning for the current data and the estimation model at the time given. This function can only be used on a duplica. (To verify, call the DuplicatedObject::IsADuplica function.) Dead reckoning prediction is performed based on current dataset values. Predictions change as new information arrives from the duplication master.

See Also

SessionClock::GetTime()

Revision History

2012/01/27
Initial version.

CONFIDENTIAL