PyANGKernel.GKTriggerCondition¶
- class GKTriggerCondition¶
A single trigger condition
Details
Contains a single expression to evaluate. It can be linked with additional conditions in order to define a logical expression
Synopsis¶
Methods¶
def
__init__()def
evaluate()def
getAttributte()def
getOperator()def
getTargetId()def
getTargetType()def
getValue()def
isGroupLink()def
setAttributte()def
setOperator()def
setTargetId()def
setTrigger()def
setValue()
Note
This documentation may contain snippets that were automatically translated from C++ to Python. We always welcome contributions to the snippet translation. If you see an issue with the translation, you can also let us know by creating a ticket on https:/bugreports.qt.io/projects/PYSIDE
- class GKTriggerConditionOperator¶
- class GKTriggerConditionBoolean¶
- __init__()¶
- evaluate(context, exp)¶
- Parameters:
context –
GKContextexp –
GKExperiment
- Return type:
returns the expression evaluation. It means that returns if current simulation conditions accomplish the expression
returns the column to be checked
- getBooleanOperator()¶
- Return type:
returns the boolean operator, which determines if the condition is linked with others or not
- getOperator()¶
- Return type:
sets the compare operator
returns the object id that will be checked
returns the object type that will be checked (as set from
setTargetId)returns value to compare
returns if the condition is linked with any other condition
inits the evaluation process before evaluate call
sets the column to be checked
- setBooleanOperator(abooloper)¶
- Parameters:
abooloper –
GKTriggerConditionBoolean
sets the boolean operator, which determines if the condition is linked with others or not
- setOperator(aoper)¶
- Parameters:
aoper –
GKTriggerConditionOperator
sets the compare operator
sets the object id (and its type) that will be checked
sets the trigger where it is the condition
- setValue(avalue)¶
- Parameters:
avalue – object
sets value to compare