1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
1.33 1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

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

C++
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);
}