# `EvaluationDevice`

digraph inheritancefdfac16c4b { bgcolor=transparent; rankdir=UD; ratio=compress; size="8.0, 12.0"; "EvaluationDevice" [URL="#taurus.core.evaluation.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,target="_top",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" [URL="taurus-Logger.html#taurus.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,target="_top",tooltip="The taurus logger class. All taurus pertinent classes should inherit"]; "SafeEvaluator" [URL="taurus.core.util.safeeval-SafeEvaluator.html#taurus.core.util.safeeval.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,target="_top",tooltip="This class provides a safe eval replacement."]; "TaurusDevice" [URL="taurus.core.taurusdevice-TaurusDevice.html#taurus.core.taurusdevice.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,target="_top",tooltip="A Device object. Different schemes may assign different roles, but"]; "TaurusModel" -> "TaurusDevice" [arrowsize=0.5,style="setlinewidth(0.5)"]; "TaurusModel" [URL="taurus.core.taurusmodel-TaurusModel.html#taurus.core.taurusmodel.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,target="_top"]; "Logger" -> "TaurusModel" [arrowsize=0.5,style="setlinewidth(0.5)"]; }

class EvaluationDevice(name='', **kw)

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

  See also

  `taurus.core.evaluation`

  Warning

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

  Import from `taurus.core.evaluation` as:

      from taurus.core.evaluation import EvaluationDevice

  decode(event_value)
  getAttribute(attrname)

    Returns the attribute object given its name