use of jmri.jmrit.signalling.entryexit.DestinationPoints in project JMRI by JMRI.
the class EntryExitPairs method processRoutesToSet.
/**
* Activate each SourceToDest set in routesToSet
*/
synchronized void processRoutesToSet() {
if (routesToSet.isEmpty()) {
return;
}
Source s = routesToSet.get(0).s;
DestinationPoints dp = routesToSet.get(0).dp;
boolean dir = routesToSet.get(0).direction;
currentDealing = routesToSet.get(0).ref;
routesToSet.remove(0);
dp.addPropertyChangeListener(propertyDestinationListener);
s.activeBean(dp, dir);
}
Aggregations