notify
Class: qrandstream
Notify listeners of event
Syntax
notify(h,'eventname')
notify(h,'eventname',data)
Description
notify(h,'eventname')
notifies listeners
added to the event named eventname
on handle object
array h
that the event is taking place. h
is
the array of handles to objects triggering the event, and eventname
must
be a character vector.
notify(h,'eventname',data)
provides a way
of encapsulating information about an event which can then be accessed
by each registered listener. data
must belong to
the event.eventdata
class.