CDRFLEx.manage_access_control
Features
This is a function for sending the control right request message of the robot controller or for processing the user response when the control right request message is received.
Parameter
Parameter Name | Data Type | Default Value | Description |
eAccessControl | enum.MANAGE_ACCESS_CONTROL | MANAGE_ACCESS_CONTROL_REQUEST | Refer to the Definition of Constant and Enumeration Type |
Return
Value | Description |
0 | Error |
1 | Success |
Example
void OnMonitoringAccessControlCB(const MONITORING_ACCESS_CONTROL eAccCtrl)
{
// Receives the rejection of transfer of control right
case MONITORING_ACCESS_CONTROL_DENY:
// Displays no control right
break;
defatul:
break;
}
int main()
{
drfl.SetOnMonitoringAccessControl(OnMonitoringAccessControlCB);
// Requests the transfer of control right
drfl.manage_access_control(MANAGE_ACCESS_CONTROL_REQUEST);
}