EvaluationDevice

digraph inheritancefdfac16c4b { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "EvaluationDevice" [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,tooltip="The evaluator object. It is a :class:`TaurusDevice` and is used as the"]; "TaurusDevice" -> "EvaluationDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "SafeEvaluator" -> "EvaluationDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Logger" [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,tooltip="The taurus logger class. All taurus pertinent classes should inherit"]; "Object" -> "Logger" [arrowsize=0.5,style="setlinewidth(0.5)"]; "Object" [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]; "SafeEvaluator" [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,tooltip="This class provides a safe eval replacement."]; "TaurusDevice" [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,tooltip="A Device object. Different schemes may assign different roles, but"]; "TaurusModel" -> "TaurusDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusModel" [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]; "Logger" -> "TaurusModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; }
class EvaluationDevice(name='', **kw)[source]

Bases: taurus.core.taurusdevice.TaurusDevice, taurus.core.util.safeeval.SafeEvaluator

The evaluator object. It is a TaurusDevice and is used as the parent of EvaluationAttribute objects for which it performs the mathematical evaluation.

Warning

In most cases this class should not be instantiated directly. Instead it should be done via the EvaluationFactory.getDevice()

decode(event_value)[source]
getAttribute(attrname)[source]

Returns the attribute object given its name