Class TSSigTyp

java.lang.Object
  extended by TSOpts
      extended by TSSigTyp
All Implemented Interfaces:
java.io.Serializable

 class TSSigTyp
extends TSOpts

.

======================================================================
 Class TSSigTyp -- Definition of a Signal-Type-Entry
 ##TSSigTyp (Eyecatcher)
======================================================================
 


Field Summary
private  TSSigAsp[] ARef
           
private  int Cnt
           
private  TSSigDrSt[] DRef
           
protected static java.lang.String IdStr
           
private  java.lang.String Lne
           
private  TSSigSgL[] LRef
           
private  TSSigLTx LTxt
           
private  java.lang.String Name
           
private  int NCA
           
private  double SInf
           
private  int Typ
           
private static java.lang.String[] Types
           
 
Constructor Summary
protected TSSigTyp()
          .
protected TSSigTyp(java.lang.String nme)
          .
 
Method Summary
protected  TSSigAsp chgAsp(int ix, TSSigAsp nA)
          .
protected  TSSigDrSt chgDrSt(int ix, TSSigDrSt nD)
          .
protected  java.lang.String chgLne(java.lang.String lne)
          .
protected  TSSigLTx chgLTx(TSSigLTx nT)
          .
protected  int chgNCA(int nV)
          .
protected  TSSigSgL chgSgL(int ix, TSSigSgL nL)
          .
protected  double chgSInf(double Inf)
          .
protected  int chgTyp(int t)
          .
protected  java.lang.String chkName(java.lang.String nme)
          .
protected  boolean chkNme(java.lang.String nme)
          .
protected static int chkTyp(java.lang.String t)
          .
protected  java.lang.String crDef(int n, boolean me)
          .
protected  int get$SgA(int c)
          .
protected  int get$SgD(int c)
          .
protected  int get$SgL(int c)
          .
protected  java.lang.String getNme()
          .
protected  int incCnt(int inc)
          .
protected  java.lang.String toStr()
          .
 
Methods inherited from class TSOpts
$init, chkMsk, chkMsk, clrMsk, clrMsk, cntMsk, cntMsk, fndMsk, getMsk, orMsk, orMsk, prtMsk, resMsk, setMsk, setMsk, tstMsk
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

IdStr

protected static final java.lang.String IdStr
See Also:
Constant Field Values

Types

private static java.lang.String[] Types

Name

private java.lang.String Name

Typ

private int Typ

NCA

private int NCA

Cnt

private int Cnt

SInf

private double SInf

LTxt

private TSSigLTx LTxt

LRef

private TSSigSgL[] LRef

DRef

private TSSigDrSt[] DRef

ARef

private TSSigAsp[] ARef

Lne

private java.lang.String Lne
Constructor Detail

TSSigTyp

protected TSSigTyp()
.
 Used options (stored within mask of 'TSOpt'):
  0 to 15 - not used
       16 - Signal-Script available
       17 -
       18 - SignalFlags: Semaphore
       19 - SignalFlags: No_Gantry
       20 - SignalFlags: ABS
       21 - SignalFlags: DIR_Display
       22 -
       31 - Reserved (used for temporary marker)
=====================================================================
 Constructor: (1) Create default-entry
=====================================================================
  


TSSigTyp

protected TSSigTyp(java.lang.String nme)
.
=====================================================================
 Constructor: (2) Create standard-entry
=====================================================================
  

Method Detail

chgAsp

protected final TSSigAsp chgAsp(int ix,
                                TSSigAsp nA)
.
=====================================================================
 Method "chgAsp"
 Get and modify entry within SignalAspect-table
 Replace entry if new value is specified
 ##chgAsp.TSSigTyp (Eyecatcher)
=====================================================================
  


chgLne

protected final java.lang.String chgLne(java.lang.String lne)
.
=====================================================================
 Method "chgLne"
 Set or Change addiltional line-definitions
 ##chgLne.TSSigTyp (Eyecatcher)
=====================================================================
  


chgLTx

protected final TSSigLTx chgLTx(TSSigLTx nT)
.
=====================================================================
 Method "chgLTx"
 Get and modify current entry of Light-Texture
 Replace entry if new value is specified
 ##chgLTx.TSSigTyp (Eyecatcher)
=====================================================================
  


chgDrSt

protected final TSSigDrSt chgDrSt(int ix,
                                  TSSigDrSt nD)
.
=====================================================================
 Method "chgDrSt"
 Get and modify entry within SignalDrawState-table
 Replace entry if new value is specified
 ##chgSgL.TSSigTyp (Eyecatcher)
=====================================================================
  


chgSgL

protected final TSSigSgL chgSgL(int ix,
                                TSSigSgL nL)
.
=====================================================================
 Method "chgSgL"
 Get and modify entry within SignalLight-table
 Replace entry if new value is specified
 ##chgSgL.TSSigTyp (Eyecatcher)
=====================================================================
  


chgNCA

protected int chgNCA(int nV)
.
=====================================================================
 Method "chgNCA"
 get or modify 'NumClearAhead'-value
 ##chgNCA.TSSigTyp (Eyecatcher)
=====================================================================
  


chgSInf

protected double chgSInf(double Inf)
.
=====================================================================
 Methode "chgSInf"
 Wert fuer 'SemaphoreInfo' modifizieren oder liefern
 ##chgSInf.TSSigTyp (Eyecatcher)
=====================================================================
  


chgTyp

protected int chgTyp(int t)
.
=====================================================================
 Methode "chgTyp"
 Typ-Kennung der Definition pflegen
 ##chgTyp.TSSigTyp (Eyecatcher)
=====================================================================
  


chkName

protected java.lang.String chkName(java.lang.String nme)
.
=====================================================================
 Methode "chkName"
 Check supplied name against Signaltype-name
 Return message if not equal (including case)
 ##chkName.TSSigTyp (Eyecatcher)
=====================================================================
  


chkNme

protected boolean chkNme(java.lang.String nme)
.
=====================================================================
 Methode "chkNme"
 Pruefen, ob Typ-Item passt
 ##chkNme.TSSigTyp (Eyecatcher)
=====================================================================
  


chkTyp

protected static int chkTyp(java.lang.String t)
.
=====================================================================
 Methode "chkTyp"
 Typ-Kennung eines Signal-Typ-Eintrags heraussuchen
 ##chkTyp.TSSigTyp (Eyecatcher)
=====================================================================
  


crDef

protected java.lang.String crDef(int n,
                                 boolean me)
.
=====================================================================
 Methode "crDef"
 Zeilendefinition(en) fuer die Ausgabe erzeugen
 ##crDef.TSSigTyp (Eyecatcher)
=====================================================================
  


get$SgA

protected final int get$SgA(int c)
.
=====================================================================
 Method "get$SgA"
 Get current size of SignalAspect-table
 Create (another) new table with 'c' empty slots if 'c>0'
 ##get$SgA.TSSigTyp (Eyecatcher)
=====================================================================
  


get$SgD

protected final int get$SgD(int c)
.
=====================================================================
 Method "get$SgD"
 Get current size of SignalDrawState-table
 Create (another) new table with 'c' empty slots if 'c>0'
 ##get$SgD.TSSigTyp (Eyecatcher)
=====================================================================
  


get$SgL

protected final int get$SgL(int c)
.
=====================================================================
 Method "get$SgL"
 Get current size of SignalLight-table
 Create (another) new table with 'c' empty slots if 'c>0'
 ##get$SgL.TSSigTyp (Eyecatcher)
=====================================================================
  


getNme

protected final java.lang.String getNme()
.
=====================================================================
 Methode "getNme"
 aktueller Name holen fuer Auswertung / Logging
 ACHTUNG: Methode wird in 'getSScr(), 'TSSigSh' und 'TSSigSObj' benutzt
 ##getNme.TSSigTyp (Eyecatcher)
=====================================================================
  


incCnt

protected final int incCnt(int inc)
.
=====================================================================
 Method "incCnt"
 Increment reference-counter
 (using argument'0', reference-counter may be returned only)
 ##incCnt.TSSigTyp (Eyecatcher)
=====================================================================
  


toStr

protected final java.lang.String toStr()
.
=====================================================================
 Method "toStr"
 Build a string-representation of all values of this class
 ##toStr.TSSigTyp (Eyecatcher)
=====================================================================
  

Overrides:
toStr in class TSOpts