Package jmri.jmrit.logixng
Interface DigitalExpression
-
- All Superinterfaces:
Base
,PropertyChangeProvider
- All Known Subinterfaces:
DigitalExpressionBean
,FemaleDigitalExpressionSocket
,MaleDigitalExpressionSocket
- All Known Implementing Classes:
AbstractDigitalExpression
,And
,Antecedent
,ConnectionName
,DebuggerMaleDigitalExpressionSocket
,DefaultFemaleDigitalExpressionSocket
,DefaultMaleDigitalExpressionSocket
,DigitalCallModule
,DigitalFormula
,ExpressionAudio
,ExpressionBlock
,ExpressionClock
,ExpressionConditional
,ExpressionDispatcher
,ExpressionEntryExit
,ExpressionLight
,ExpressionLinuxLinePower
,ExpressionLocalVariable
,ExpressionMemory
,ExpressionOBlock
,ExpressionPower
,ExpressionReference
,ExpressionReporter
,ExpressionScript
,ExpressionSection
,ExpressionSensor
,ExpressionSensorEdge
,ExpressionSignalHead
,ExpressionSignalMast
,ExpressionSlotUsage
,ExpressionTransit
,ExpressionTurnout
,ExpressionWarrant
,False
,FileAsFlag
,Hold
,LastResultOfDigitalExpression
,LogData
,Not
,Or
,Timer
,TriggerOnce
,True
public interface DigitalExpression extends Base
DigitalExpressionBean is used in LogixNG to answer a question that can give the answers 'true' or 'false'.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jmri.jmrit.logixng.Base
Base.PrintTreeSettings, Base.RunnableWithBase, Base.RunnableWithBaseThrowException
-
-
Field Summary
-
Fields inherited from interface jmri.jmrit.logixng.Base
PRINT_LINE_NUMBERS_FORMAT, PROPERTY_CHILD_COUNT, PROPERTY_CHILD_REORDER, PROPERTY_LAST_RESULT_CHANGED, PROPERTY_SOCKET_CONNECTED, PROPERTY_SOCKET_DISCONNECTED, SEPARATOR, SOCKET_CONNECTED, SOCKET_DISCONNECTED
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
evaluate()
Evaluate this expression.-
Methods inherited from interface jmri.jmrit.logixng.Base
addPropertyChangeListener, addPropertyChangeListener, deepCopyChildren, dispose, doSocketOperation, existsInTree, forEntireTree, forEntireTreeWithException, getCategory, getChild, getChildCount, getComment, getConditionalNG, getDeepCopy, getListenerRef, getListenerRefs, getListenerRefsIncludingChildren, getLogixNG, getLongDescription, getLongDescription, getModule, getNumPropertyChangeListeners, getParent, getPropertyChangeListenersByReference, getRoot, getShortDescription, getShortDescription, getSystemName, getUsageDetail, getUsageTree, getUserName, hasChild, isActive, isEnabled, isSocketOperationAllowed, printTree, printTree, printTree, printTree, printTree, registerListeners, setComment, setParent, setParentForAllChildren, setup, setUserName, unregisterListeners, updateListenerRef, vetoableChange
-
Methods inherited from interface jmri.beans.PropertyChangeProvider
addPropertyChangeListener, addPropertyChangeListener, getPropertyChangeListeners, getPropertyChangeListeners, removePropertyChangeListener, removePropertyChangeListener
-
-
-
-
Method Detail
-
evaluate
boolean evaluate() throws JmriException
Evaluate this expression.- Returns:
- the result of the evaluation
- Throws:
JmriException
- when an exception occurs
-
-