Package jmri.jmrit.tracker
Class MemoryTracker
- java.lang.Object
-
- jmri.jmrit.tracker.MemoryTracker
-
public class MemoryTracker extends java.lang.Object
Tracks train into memory object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Block
block
(package private) NamedBeanHandle<Memory>
namedMemory
-
Constructor Summary
Constructors Constructor Description MemoryTracker(Block b, java.lang.String namePrefix)
Create a Tracker object, providing a list of blocks to watch
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
handleChange()
-
-
-
Field Detail
-
namedMemory
NamedBeanHandle<Memory> namedMemory
-
-
Constructor Detail
-
MemoryTracker
public MemoryTracker(Block b, java.lang.String namePrefix) throws java.lang.IllegalArgumentException
Create a Tracker object, providing a list of blocks to watch- Parameters:
b
- block to track.namePrefix
- system name prefix.- Throws:
java.lang.IllegalArgumentException
-
-
Method Detail
-
handleChange
void handleChange()
-
-