|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Section | |
|---|---|
| jmri | Provides basic interfaces and certain core implementations for the JMRI layout management concepts. |
| jmri.jmrit.dispatcher | |
| Uses of Section in jmri |
|---|
| Methods in jmri that return Section | |
|---|---|
Section |
SectionManager.createNewSection(String userName)
|
Section |
SectionManager.createNewSection(String systemName,
String userName)
Method to create a new Section if the Section does not exist Returns null if a Section with the same systemName or userName already exists, or if there is trouble creating a new Section. |
Section |
SectionManager.getBySystemName(String name)
|
Section |
SectionManager.getByUserName(String key)
|
Section |
TransitSection.getSection()
Access methods |
Section |
SectionManager.getSection(String name)
Method to get an existing Section. |
Section |
Transit.getSectionFromBlockAndSeq(Block b,
int seq)
Returns a Section from one of its Blocks and its sequence number |
Section |
Transit.getSectionFromConnectedBlockAndSeq(Block b,
int seq)
Returns a Section from one of its EntryPoint Blocks and its sequence number |
| Methods in jmri that return types with arguments of type Section | |
|---|---|
ArrayList<Section> |
Transit.getSectionListBySeq(int seq)
Get a List of Sections with a given sequence number |
| Methods in jmri with parameters of type Section | |
|---|---|
boolean |
Transit.containsSection(Section s)
Test if a Section is in the Transit |
void |
SectionManager.deleteSection(Section y)
Remove an existing Section |
int |
Transit.getDirectionFromSectionAndSeq(Section s,
int seq)
Gets the direction of a Section in the transit from its sequence number Returns 0 if direction was not found. |
EntryPoint |
Section.getEntryPointFromSection(Section s,
int dir)
Returns the EntryPoint for entry from specified Section for travel in specified direction Returns 'null' if not found. |
EntryPoint |
Section.getExitPointToSection(Section s,
int dir)
Returns the EntryPoint for exit to specified Section for travel in specified direction Returns 'null' if not found. |
ArrayList<Integer> |
Transit.getSeqListBySection(Section s)
Get a List of sequence numbers for a given Section |
TransitSection |
Transit.getTransitSectionFromSectionAndSeq(Section s,
int seq)
Gets a TransitSection in the transit from its Section and Section sequence number Returns null if TransitSection was not found. |
| Constructors in jmri with parameters of type Section | |
|---|---|
TransitSection(Section s,
int seq,
int direction)
Main constructor method |
|
TransitSection(Section s,
int seq,
int direction,
boolean alt)
Convenience constructor |
|
| Uses of Section in jmri.jmrit.dispatcher |
|---|
| Methods in jmri.jmrit.dispatcher that return Section | |
|---|---|
protected Section |
AutoAllocate.autoNextSectionChoice(ArrayList<Section> sList,
AllocationRequest ar)
Entered to request a choice of Next Section when a Section is being allocated and there are alternate Section choices for the next Section. |
Section |
ActiveTrain.getEndBlockSection()
|
Section |
ActiveTrain.getLastAllocatedSection()
|
Section |
AllocatedSection.getNextSection()
|
Section |
ActiveTrain.getNextSectionToAllocate()
|
protected Section |
ActiveTrain.getSecondAllocatedSection()
|
Section |
AllocationRequest.getSection()
Access methods |
Section |
AllocatedSection.getSection()
Access methods |
protected Section |
AllocationPlan.getTargetSection(int i)
|
| Methods in jmri.jmrit.dispatcher with parameters of type Section | |
|---|---|
AllocatedSection |
DispatcherFrame.allocateSection(AllocationRequest ar,
Section ns)
Allocates a Section to an Active Train according to the information in an AllocationRequest If successful, returns an AllocatedSection and removes the AllocationRequest from the queue. |
protected boolean |
AutoTurnouts.checkTurnoutsInSection(Section s,
int seqNum,
Section nextSection,
ActiveTrain at,
LayoutEditor le)
Check that all turnouts are correctly set for travel in the designated Section to the next Section. |
protected AllocationRequest |
DispatcherFrame.findAllocationRequestInQueue(Section s,
int seq,
int dir,
ActiveTrain at)
|
int |
ActiveTrain.getAllocationDirectionFromSectionAndSeq(Section s,
int seqNo)
|
int |
ActiveTrain.getRunningDirectionFromSectionAndSeq(Section s,
int seqNo)
|
String |
DispatcherFrame.getSectionName(Section sec)
|
protected boolean |
DispatcherFrame.requestAllocation(ActiveTrain activeTrain,
Section section,
int direction,
int seqNumber,
boolean showErrorMessages,
JmriJFrame frame)
Creates an Allocation Request, and registers it with Dispatcher Required input entries: activeTrain - ActiveTrain requesting the allocation section - Section to be allocated direction - direction of travel in the allocated Section seqNumber - sequence number of the Section in the Transit of the ActiveTrain. |
void |
ActiveTrain.setEndBlockSection(Section eSection)
|
protected void |
AllocationPlan.setTargetSection(Section s,
int seq,
int i)
|
protected boolean |
AutoTurnouts.setTurnoutsInSection(Section s,
int seqNum,
Section nextSection,
ActiveTrain at,
LayoutEditor le,
boolean alwaysSet)
Set all turnouts for travel in the designated Section to the next Section. |
| Method parameters in jmri.jmrit.dispatcher with type arguments of type Section | |
|---|---|
protected Section |
AutoAllocate.autoNextSectionChoice(ArrayList<Section> sList,
AllocationRequest ar)
Entered to request a choice of Next Section when a Section is being allocated and there are alternate Section choices for the next Section. |
| Constructors in jmri.jmrit.dispatcher with parameters of type Section | |
|---|---|
AllocatedSection(Section s,
ActiveTrain at,
int seq,
Section next,
int nextSeqNo)
Main constructor method |
|
AllocationRequest(Section s,
int num,
int dir,
ActiveTrain at)
Main constructor method |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||