A conditon based upon comparing a variable and a value. More...
#include <programmable_signals.h>
Public Member Functions | |
SignalVariableCondition (SignalConditionCode code) | |
virtual bool | Evaluate (SignalVM &vm) |
Data Fields | |
SignalComparator | comparator |
uint32 | value |
A conditon based upon comparing a variable and a value.
This condition can be considered similar to the conditonal jumps in vehicle orders.
The variable is specified by the conditon code, the comparison by comparator
, and the value to compare against by value
. The condition returns the result of that value.
Definition at line 193 of file programmable_signals.h.