ODCinterfacesdataIndex
IAccessManager
Interface defines functions used to manage access control of DataManagers to DataObjects data related to specified DataPoint
DataPointDOApprovalChanged
Event emitted when DataObject is approved for DataPoint
Parameters
| Name | Type | Description |
|---|---|---|
| dp | DataPoint | Identifier of the DataPoint |
| dobj | address | Address of DataObject |
| approved | bool | if DataObject is approved |
approvedDataManager
Verifies if DataManager is allowed to write in specific DataPoint
Parameters
| Name | Type | Description |
|---|---|---|
| dp | DataPoint | Identifier of the DataPoint |
| dm | address | Address of DataManager |
Return Values
| Name | Type | Description |
|---|---|---|
| [0] | bool | if write access is allowed |
approveDataManager
Defines if DataManager is allowed to write in specific DataPoint
Function SHOULD be restricted to DataPoint maintainer only
Parameters
| Name | Type | Description |
|---|---|---|
| dp | DataPoint | Identifier of the DataPoint |
| dm | address | Address of DataManager |
| approved | bool | if DataManager should be approved for the DataPoint |

