PlugModificationTracker

Inheritance diagram of rumba.PlugModificationTracker
class PlugModificationTracker

Track plug modifications.

This class monitors plug modifications, in order to track changes in the evaluation graph. Contrary to PlugListener, the effects of a modification are immediately seen by an instance of this class.

Methods

__init__

is_modified()

Check if the monitored plugs has been modified since the last call to reset().

reset()

Reset the modification flag.

touch()

Set the modification flag.

__init__()
is_modified() bool

Check if the monitored plugs has been modified since the last call to reset().

Return type

bool

reset() None

Reset the modification flag. Immediately after a call to this method, is_modified() returns false.

Return type

None

touch() None

Set the modification flag. Immediately after a call to this method, is_modified() returns true.

Return type

None