Skip to main content
Skip table of contents

CDRFLEx.set_on_tp_progress

Features

This function is used to register the callback function to check the information of the execution step when the tp_progress command is used in DRL. It is useful when functions that should be executed automatically are made. Parameter

Parameter

Parameter Name

Data Type

Default Value

Description

pCallbackFunc

TOnTpProgressCB

-

Refer to definition of callback function

Return

None.

Example

CPP
void OnTpProgress(LPMESSAGE_PROGRESS tProgress)
{
    cout << "Progress cnt : " << tProgress->_iCurrentCount << endl;
    cout << "Current cnt : " << tProgress->_iCurrentCount << endl;
}
int main()
{
	drfl.set_on_tp_progress(OnTpProgressCB)
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.