RuntimeDataChildChangeMonitor

class kanzi::connect::RuntimeDataChildChangeMonitor

Takes a runtime data object and installs a monitor to each child of the object and reports if any of the childs change.

Public Types

typedef function<void(RuntimeDataObject*)> ChangeCallback

Callback type to invoke when changes are detected.

Public Functions

RuntimeDataChildChangeMonitor(RuntimeDataObjectSharedPtr object, ChangeCallback callback)

Constructor.

Parameters
  • object – the object whom childs are to be monitored

  • callback – method to invoke when any of the childs change.

~RuntimeDataChildChangeMonitor()

Destructor.