Breadcrumbs

TOnDisconnectedCB

Features

This is a callback function for checking if the connection with the robot controller has been terminated by external force or user. As the callback function is executed automatically in the case of a specific event, a code that requires an excessive execution time (within 50 msec) within the callback function should not be made.

Parameter

None

Return

None.

Example

C++
void OnDisconnectedCB()
{
// Needs the reconnection of the robot controller and error handling
}

int main()
{
drfl.SetOnDisconnected (OnDisconnectedCB);
}