TOnMonitoringAccessControlCB
Features
This is a callback function for checking changes in the state of control right (request/permission/reject). 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
Parameter Name | Data Type | Default Value | Description |
|---|---|---|---|
eAccCtrl | enum. MONITORING_ACCESS_CONTROL | - | Refer to the Definition of Constant and Enumeration Type |
Return
None
Example
void OnMonitoringAccessControlCB(const MONITORING_ACCESS_CONTROL eAccCtrl)
{
// Receives the message for transfer of control right
case MONITORING_ACCESS_CONTROL_REQUEST:
// Rejects the transfer of control right
drfl.manage_access_control(MANAGE_ACCESS_CONTROL_RESPONSE_NO);
break;
defatul:
break;
}
int main()
{
drfl.SetOnMonitoringAccessControl (OnMonitoringAccessControlCB);
}