TangoAttributeEventListener

digraph inheritancece44c01653 { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "EventListener" [URL="taurus.core.util.event-EventListener.html#taurus.core.util.event.EventListener",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="A class that listens for an event with a specific value"]; "TangoAttributeEventListener" [URL="#taurus.core.tango.TangoAttributeEventListener",color=dodgerblue1,fillcolor=white,fontcolor=black,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.5,shape=box,style=rounded,target="_top",tooltip="A class that listens for an event with a specific value"]; "EventListener" -> "TangoAttributeEventListener" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class TangoAttributeEventListener(attr)[source]

A class that listens for an event with a specific value

Note: Since this class stores for each event value the last timestamp when it occured, it should only be used for events for which the event value domain (possible values) is limited and well known (ex: an enum)

Import from taurus.core.tango as:

from taurus.core.tango import TangoAttributeEventListener
eventReceived(s, t, v)[source]