Model Railroad System
2.2.1
|
Uncompressed graph node values. More...
Public Member Functions | |
NodeValues (int _id=-1, NodeType _type=Undefined, TurnoutGraphic *_tgr=NULL, TurnoutRoutelist *_tpo=NULL, float _length=0.0, IntegerList *_tracklist=NULL, int _turnoutnumber=0, char *_name=NULL, char *_sensescript=NULL, char *_normalactionscript=NULL, char *_reverseactionscript=NULL, int _numheads=0, StringPairList *_aspects=NULL, float _origx=0.0, float _origy=0.0, float _angle=0.0, char *_onscript=NULL, char *_offscript=NULL) | |
Default constructor. More... | |
void | Cleanup () |
Cleanup member function. More... | |
Public Attributes | |
int | id |
Node number. More... | |
NodeType | type |
Type of node. More... | |
TurnoutGraphic * | tgr |
Turnout graphic (if type is turnout). More... | |
TurnoutRoutelist * | tpo |
Turnout route list (if type is turnout). More... | |
float | length |
Length of track. More... | |
IntegerList * | tracklist |
Track segments in block. More... | |
int | turnoutnumber |
Number of the turnout. More... | |
char * | name |
Name of block or switch motor. More... | |
char * | sensescript |
Sense Script (occupation / point). More... | |
char * | normalactionscript |
Normal action script. More... | |
char * | reverseactionscript |
Reverse action script. More... | |
int | numheads |
Number of heads. More... | |
StringPairList * | aspectlist |
Aspect list (name, script pairs). More... | |
float | origx |
X coordinate of the base of the signal. More... | |
float | origy |
Y coordinate of the base of the signal. More... | |
char * | onscript |
On action script. More... | |
char * | offscript |
Off action script. More... | |
float | angle |
Angle of the signal. More... | |
Uncompressed graph node values.
|
inline |
Default constructor.
References angle.
|
inline |
Cleanup member function.
float Parsers::TrackGraph::NodeValues::angle |
Angle of the signal.
StringPairList* Parsers::TrackGraph::NodeValues::aspectlist |
Aspect list (name, script pairs).
int Parsers::TrackGraph::NodeValues::id |
Node number.
float Parsers::TrackGraph::NodeValues::length |
Length of track.
char* Parsers::TrackGraph::NodeValues::name |
Name of block or switch motor.
char* Parsers::TrackGraph::NodeValues::normalactionscript |
Normal action script.
int Parsers::TrackGraph::NodeValues::numheads |
Number of heads.
char* Parsers::TrackGraph::NodeValues::offscript |
Off action script.
char* Parsers::TrackGraph::NodeValues::onscript |
On action script.
float Parsers::TrackGraph::NodeValues::origx |
X coordinate of the base of the signal.
float Parsers::TrackGraph::NodeValues::origy |
Y coordinate of the base of the signal.
char* Parsers::TrackGraph::NodeValues::reverseactionscript |
Reverse action script.
char* Parsers::TrackGraph::NodeValues::sensescript |
Sense Script (occupation / point).
TurnoutGraphic* Parsers::TrackGraph::NodeValues::tgr |
Turnout graphic (if type is turnout).
TurnoutRoutelist* Parsers::TrackGraph::NodeValues::tpo |
Turnout route list (if type is turnout).
IntegerList* Parsers::TrackGraph::NodeValues::tracklist |
Track segments in block.
int Parsers::TrackGraph::NodeValues::turnoutnumber |
Number of the turnout.
NodeType Parsers::TrackGraph::NodeValues::type |
Type of node.