Model Railroad System  2.2.1
Classes | Namespaces | Macros
Azatrax.h File Reference
#include "config.h"

Classes

class  azatrax::Azatrax
 Azatrax I/O Class. More...
 
struct  azatrax::Azatrax::StateDataPacket
 Raw USB Data Packet. More...
 

Namespaces

 azatrax
 Azatrax C++ LibUSB 1.0 Interface.
 

Macros

#define ErrorCode   int
 
#define stopwatchFract   status3
 
#define stopwatchSeconds   status4
 

Macro Definition Documentation

◆ ErrorCode

#define ErrorCode   int

◆ stopwatchFract

#define stopwatchFract   status3

◆ stopwatchSeconds

#define stopwatchSeconds   status4
azatrax::SL2::~SL2
~SL2()
Definition: sl2.h:83
RaildriverIO::GetBlueButton16
bool GetBlueButton16() const
Get Blue Button 16.
Definition: RaildriverIO.h:440
FCFSupport::System::SetPrintAtwice
void SetPrintAtwice(bool flag)
Set the print second copy of the alphabetical listing flag.
Definition: System.h:527
cmri::USIC
@ USIC
Classic Universal Serial Interface Card.
Definition: cmri.tcl:78
FCFSupport::System::LoadCarFile
bool LoadCarFile(char **outmessage=NULL)
(Re-)Load the car file.
azatrax::SL2::status3_union::input_1_enabled
unsigned int input_1_enabled
Input 1 enabled?
Definition: sl2.h:233
Parsers::TrackGraph::EdgeY
float EdgeY(int nid, int edgenum) const
Returns the $Y$ coordinate of the specificed edge of the node.
TTSupport::Train::StopI
const Stop * StopI(int i) const
Return the ith stop object.
Definition: Train.h:437
FCFSupport::Car::Marks
const char * Marks() const
Return the car's reporting marks (railroad).
Definition: Car.h:183
Parsers::ParseFile::line_buffer
char line_buffer[buffersize]
Input line buffer.
Definition: ParseFile.h:388
Parsers::TurnoutBodyElt::Pos::x
float x
$X$ coordinate.
Definition: TurnoutBody.h:133
FCFSupport::System::CarsInTransit
int CarsInTransit() const
Return the number of cars still in transit.
Definition: System.h:500
RaildriverIO::GetZoomUp
bool GetZoomUp() const
Get Zoom Up.
Definition: RaildriverIO.h:531
FCFSupport::Train::Order
const char * Order(int index) const
Return the Ith order.
Definition: Train.h:288
FCFSupport::System::IndRipTrack
const FCFSupport::Industry * IndRipTrack()
Return a pointer to the RIP track (workbench).
Definition: System.h:558
yyltype::first_line
int first_line
Definition: MRRXtrkCad.tab.h:168
FCFSupport::SwitchListElement::StationOrIndustry::station
const Station * station
A station stop, for Box Moves and Way Freights.
Definition: SwitchList.h:81
Parsers::LayoutFile::IsCompressedNode
bool IsCompressedNode(int cnid) const
Is cid a node in the compressed graph?
Definition: ParseFile.h:575
Parsers::LayoutFile::Parse
virtual int Parse()
Parseer function.
TTSupport::Train::SetTransitStorageTrack
void SetTransitStorageTrack(int istop, string trackname)
Set an intermediate storage track.
azatrax::SL2::Motor_2_State
bool Motor_2_State() const
Motor 2 state, return true if Q3 and Q4 are on.
Definition: sl2.h:159
lcc::EventID_or_null
An EventID or empty string.
Definition: lcc.tcl:226
Parsers::SegVector::GrType
GrType
Graphic types.
Definition: TrackGraph.h:164
TTSupport::TimeTableSystem::FirstCab
CabNameMap::const_iterator FirstCab() const
First cab.
Definition: TimeTableSystem.h:956
FCFSupport::PDFFileStructures::PageLabelTree::AddPageLabelTree
void AddPageLabelTree(PageLabelTree *node)
Add a page label tree node.
Definition: PDFPrinterSupport.h:899
FCFSupport::PDFFileStructures::InformationDirectory::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write an object directly.
FCFSupport::PDFFileStructures::Rectangle::x2
double x2
Second X coordinate.
Definition: PDFPrinterSupport.h:643
linuxgpio::out
@ out
Output Pin.
Definition: LinuxGpio.tcl:47
azatrax::SR4::BlinkRelays
ErrorCode BlinkRelays(bool Q1, bool Q2, bool Q3, bool Q4, uint8_t speed)
Blink relay contacts.
Definition: sr4.h:96
Parsers::BezierBody::BezierBody
BezierBody(BezierBodyElt *e, BezierBody *n)
Basic constructor.
Definition: BezierBody.h:216
Parsers::TurnoutGraphic::minX
float minX
Minimum $X$ coordinate.
Definition: TrackGraph.h:252
gettext::_m
_m(msgid,...)
Handle messages with a context hint prefix (eg Label|lab).
lcc::AbstractMRMessage
AbstractMRMessage()
@Brief Macro to create common methods and variables for an AbstractMRMessage
FCFSupport::Train::onduty
int onduty
The onduty time for this train, in minutes since midnight.
Definition: Train.h:372
azatrax::MRD::status1_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: mrd.h:229
Parsers::TurnoutRoutelist::numRoutelists
int numRoutelists
Number of routes.
Definition: TrackGraph.h:347
lcc::middle
@ middle
Middle frame datagram.
Definition: lcc.tcl:117
RaildriverIO::GetEBrakeDown
bool GetEBrakeDown() const
Get Emergency Brake Down.
Definition: RaildriverIO.h:594
Parsers::IntegerList::IntegerList
IntegerList(int car=0, IntegerList *cdr=NULL)
Base constructor.
Definition: IntegerList.h:95
azatrax::MRD::status1_union::latch_1
unsigned int latch_1
Latch 1.
Definition: mrd.h:237
RaildriverIO::GetBlueButton28
bool GetBlueButton28() const
Get Blue Button 28.
Definition: RaildriverIO.h:524
FCFSupport::Car::SetNotDone
void SetNotDone()
Flag this car as not done.
Definition: Car.h:279
TTSupport::TimeTableSystem::FirstPrintOption
OptionHashMap::const_iterator FirstPrintOption() const
First Print option.
Definition: TimeTableSystem.h:983
FCFSupport::Car::MovementsThisSession
int MovementsThisSession() const
Return the number of movements this session.
Definition: Car.h:294
Parsers::CornuBodyElt::theEnd
TrackBodyElt * theEnd
Pointer to T or E line data.
Definition: CornuBody.h:103
FCFSupport::PDFFileStructures::CatalogDictionary::AddPageTree
void AddPageTree(PageTree *thepagetree)
Add a tree of pages.
Definition: PDFPrinterSupport.h:1177
FCFSupport::Train::SetShift
void SetShift(int newshift)
Set the train's shift.
Definition: Train.h:245
TTSupport::Occupied::From
double From() const
Return the start time;.
Definition: Station.h:122
TTSupport::Cab::Read
istream & Read(istream &stream)
Read an object from a stream.
FCFSupport::Car::IsDoneP
bool IsDoneP() const
Is this car done?
Definition: Car.h:273
FEETperMM
const double FEETperMM
Definition: MRRXtrkCad.tab.h:36
RaildriverIO::WIPER_M
@ WIPER_M
Wiper switch.
Definition: RaildriverIO.h:122
FCFSupport::Owner::Initials
const char * Initials() const
Return this owner's initials.
Definition: Owner.h:109
FCFSupport::Train::maxcars
int maxcars
The maximum number of cars on this train.
Definition: Train.h:360
TTSupport::TimeTableSystem::AddTrain
Train * AddTrain(string name, string number, int speed, int classnumber, int departure, int start=0, int end=-1)
Add a train to the system, short version.
FCFSupport::PDFPrinterDevice::rootDictionary
PDFFileStructures::CatalogDictionary * rootDictionary
PDF Root catalog.
Definition: PDFPrinter.h:145
FCFSupport::System::CarAssignment
void CarAssignment(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *log, const FCFSupport::ShowBannerCallback *banner, char **outmessage=NULL)
Car assignment procedure.
FCFSupport::Train::orders
vector< string > orders
List of train orders.
Definition: Train.h:339
TTSupport::Occupied::Read
istream & Read(istream &stream)
Read ourselves from an input stream.
FCFSupport::PDFFileStructures::ResourceDictionary::AddProperties
void AddProperties(const string name, IndirectObject *obj)
Add an Properties resource.
Definition: PDFPrinterSupport.h:541
azatrax::Azatrax::cmd_Q1posQ2neg
@ cmd_Q1posQ2neg
(SL2 only) Sets output terminal Q1 to positive, Q2 to negative.
Definition: Azatrax.h:171
FCFSupport::PDFFileStructures::CatalogDictionary::~CatalogDictionary
~CatalogDictionary()
Destructor.
Definition: PDFPrinterSupport.h:1167
TTSupport::Station::LastStorageTrack
StorageTrackMap::const_iterator LastStorageTrack() const
Return a const_iterator for the last element in the storage track map.
Definition: Station.h:676
Parsers::TurnoutBody
List of turnout body lines (T, E, P, S, C, and J lines).
Definition: TurnoutBody.h:281
azatrax::SR4::Sense_1_Latch
bool Sense_1_Latch() const
Sense 1, return true if input line 1 was activated since last get status.
Definition: sr4.h:175
FCFSupport::Car::Trips
int Trips() const
Return the number of trips this car has had.
Definition: Car.h:315
azatrax::MRD::NonTurnoutDirectionSensing
@ NonTurnoutDirectionSensing
Non Turnout, Direction Sensing.
Definition: mrd.h:95
TTSupport::Station::Name
const char * Name() const
Return the name of the station.
Definition: Station.h:585
FCFSupport::PDFFileStructures::PageLabelDictionary::UpperRoman
@ UpperRoman
Uppercase roman numerals.
Definition: PDFPrinterSupport.h:824
FCFSupport::PDFFileStructures::ResourceDictionary::AddShading
void AddShading(const string name, IndirectObject *obj)
Add an Shading resource.
Definition: PDFPrinterSupport.h:517
YY_MRRXtrkCad_LLOC
#define YY_MRRXtrkCad_LLOC
Definition: MRRXtrkCad.tab.h:200
Parsers::CornuBody
List of Cornu body lines (T, E, S, and C lines).
Definition: CornuBody.h:196
FCFSupport::PDFFileStructures::FreedObject::WriteDirect
virtual ostream & WriteDirect(ostream &stream) const
Dummy function for direct writing (should never be called).
Definition: PDFPrinterSupport.h:298
azatrax::SR4::status2_union::sense_4
unsigned int sense_4
Sense 4.
Definition: sr4.h:303
Printer.h
FCFSupport::Car::SetDestination
void SetDestination(Industry *newdest)
Set the destination of this car.
Definition: Car.h:312
FCFSupport::PDFFileStructures::PageLabelTree::~PageLabelTree
~PageLabelTree()
Destructor.
Definition: PDFPrinterSupport.h:895
FCFSupport::TrainDisplayCallback::GrabTrainDisplay
virtual void GrabTrainDisplay() const
Grab the train display.
Definition: CallBack.h:230
azatrax::MRD::AllowingExternalChanges
bool AllowingExternalChanges() const
Allowing External Changes?
Definition: mrd.h:197
LabelSelectColor::cget
cget(path, option)
Configuration option accessor procedure: access one option directly.
Parsers::TrackGraph::NodeValues::tpo
TurnoutRoutelist * tpo
Turnout route list (if type is turnout).
Definition: TrackGraph.h:598
FCFSupport::Car::location
Industry * location
This car's location.
Definition: Car.h:356
FCFSupport::System::ReportCarTypes
void ReportCarTypes(CarTypeReport rtype, char carType, FCFSupport::PrinterDevice *printer, char **outmessage=NULL) const
Report on car types.
FCFSupport::LogMessageCallback::~LogMessageCallback
virtual ~LogMessageCallback()
Destructor.
Definition: CallBack.h:150
TTSupport::TimeTableSystem::notes
vector< string > notes
Notes.
Definition: TimeTableSystem.h:1131
FCFSupport::PDFFileStructures::PageLabelTree::Size
int Size() const
Return the number of sub-nodes in this page label tree.
Definition: PDFPrinterSupport.h:914
FCFSupport::SwitchListElement::DropStopIndustry
const Industry * DropStopIndustry() const
Return the industry this switch list element is dropping off at.
Definition: SwitchList.h:162
Parsers::TrackGraph::SwitchMotor
@ SwitchMotor
Switch Motor.
Definition: TrackGraph.h:526
Azatrax.h
RaildriverIO::AutoBrake
unsigned char AutoBrake
Automatic Brake lever, 0-255.
Definition: RaildriverIO.h:725
Parsers::IntegerList::iElt
int iElt
The current element.
Definition: IntegerList.h:79
TTSupport::Train
This class implements a train.
Definition: Train.h:307
FCFSupport::PDFPrinterDevice::Put
virtual bool Put(const string text)
Put a string.
FCFSupport::System::GetIndustryCarCounts
void GetIndustryCarCounts()
Update industry car counts.
azatrax::SL2::status3_union::input_4_enabled
unsigned int input_4_enabled
Input 4 enabled?
Definition: sl2.h:239
TTSupport::TimeTableSystem::FindTrainByName
Train * FindTrainByName(string name) const
Find a train by name.
RaildriverIO::SpeakerCommand
static const int SpeakerCommand
Speaker command code.
Definition: RaildriverIO.h:696
FCFSupport::PostScriptPrinterDevice::maxLines
int maxLines
The maximum number of lines per page.
Definition: PostScriptPrinter.h:155
LabelSelectColor::ColorPopup
ColorPopup(path)
Procedure bound to the palette button to select a color.
FCFSupport::CarType
The CarType class represents a type of railroad car (rolling stock).
Definition: CarType.h:68
azatrax::MRD::TurnoutMotor
@ TurnoutMotor
Turnout, Motor (sustained action)
Definition: mrd.h:99
FCFSupport::System::CarsFile
const char * CarsFile() const
Return the Cars file's full path name.
Definition: System.h:252
TTSupport::TimeRange::operator==
bool operator==(const TimeRange &other) const
Equality to operator.
Definition: Station.h:219
TTSupport::TimeTableSystem::name
string name
The name of the time table system.
Definition: TimeTableSystem.h:1110
azatrax::MRD::status2_union::resetStatus
unsigned int resetStatus
Reset Status.
Definition: mrd.h:253
FCFSupport::PrinterDevice::pageSize
PageSize pageSize
Document page size.
Definition: Printer.h:411
TTSupport::StorageTrack
The StorageTrack class implements a storage track.
Definition: Station.h:286
FCFSupport::TrainDisplayCallback::ReleaseTrainDisplay
virtual void ReleaseTrainDisplay() const
Release the train display.
Definition: CallBack.h:234
FCFSupport::PDFFileStructures::TypedDictionary::WriteDictionaryType
ostream & WriteDictionaryType(ostream &stream) const
Write the dictionary's type.
Definition: PDFPrinterSupport.h:383
TTSupport::Train::classnumber
int classnumber
The train's class.
Definition: Train.h:466
FCFSupport::Car::marks
string marks
This car's reporting marks.
Definition: Car.h:362
azatrax::Azatrax::mySerialNumber
char mySerialNumber[10]
Serial number buffer.
Definition: Azatrax.h:407
FCFSupport::PDFFileStructures::PageTree::pagenodes
vector< TypedDictionary * > pagenodes
The children of this page tree node.
Definition: PDFPrinterSupport.h:804
RaildriverIO::GetBlueButton15
bool GetBlueButton15() const
Get Blue Button 15.
Definition: RaildriverIO.h:433
azatrax::SL2::status2_union::sense_3
unsigned int sense_3
Sense 3.
Definition: sl2.h:219
FCFSupport::PrinterDevice::Letter
@ Letter
US Letter page size.
Definition: Printer.h:223
Parsers::CornuBodyElt::segCount
static int segCount
Counter for S and C segments.
Definition: CornuBody.h:97
FCFSupport::PrinterDevice
Base class for printer devices (hard copy output).
Definition: Printer.h:215
Parsers::BezierBodyElt::BezierStraightSegment
@ BezierStraightSegment
S line.
Definition: BezierBody.h:89
RaildriverIO::GetWiper
unsigned char GetWiper() const
Get Wiper value (0-255).
Definition: RaildriverIO.h:330
LabelSpinBox::create
create(path,...)
Procedure to create a LabelSpinBox.
FCFSupport::PDFFileStructures::CatalogDictionary::CatalogDictionary
CatalogDictionary(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:1160
FCFSupport::Car::Type
char Type() const
Return the car type.
Definition: Car.h:176
len1
#define len1
Definition: TurnoutBody.h:74
FCFSupport::PDFFileStructures::ResourceDictionary::properties
IndirectObjectDictionary properties
A Dictionary that maps resource names to property list dictionaries for marked content.
Definition: PDFPrinterSupport.h:579
TTSupport::Stop::Write
ostream & Write(ostream &stream) const
Write object to a stream.
RaildriverIO::GetRangeUp
bool GetRangeUp() const
Get Range Up.
Definition: RaildriverIO.h:573
Parsers::TrackGraph::NodeValues::NodeValues
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.
Definition: TrackGraph.h:643
FCFSupport::CarGroup::CarGroup
CarGroup()
Default constructor.
Definition: CarType.h:185
FCFSupport::PDFFileStructures::Rectangle::y2
double y2
Second Y coordinate.
Definition: PDFPrinterSupport.h:646
CENTIMETERSperMM
const double CENTIMETERSperMM
Definition: MRRXtrkCad.tab.h:39
azatrax::SR4::status2_union::sense_1
unsigned int sense_1
Sense 1.
Definition: sr4.h:297
azatrax::MRD::status2_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: mrd.h:249
Parsers::MRRXtrkCad::NOTE
@ NOTE
Definition: ParserClassesGroup.h:136
FCFSupport::Station::Name
const char * Name() const
Return the station's name.
Definition: Station.h:115
azatrax::SR4::OutputRelayInputControl
ErrorCode OutputRelayInputControl(bool I1, bool I2, bool I3, bool I4)
Enable/Disable descrete input lines from affecting outputs.
Definition: sr4.h:164
TTSupport::StorageTrack::StoreTrain
const Occupied * StoreTrain(string train, double from, double to, string train2)
Insert train onto storage track for a time.
Parsers::CornuBodyElt::CornuBodyEltType
CornuBodyEltType
Element types.
Definition: CornuBody.h:80
FCFSupport::LQ24PrinterDevice::LQ24PrinterDevice
LQ24PrinterDevice(const string filename="", const string title="", PageSize pageSize=Letter, char **outmessage=NULL)
Constructor.
FCFSupport::PDFFileStructures::Rectangle::~Rectangle
~Rectangle()
Destructor.
Definition: PDFPrinterSupport.h:612
CornuBody.h
TTSupport::Occupied::TrainNum
const char * TrainNum() const
Return the train that arrives.
Definition: Station.h:116
FCFSupport::PrinterDevice::PrinterPageSize
PageSize PrinterPageSize() const
Return the page size.
Definition: Printer.h:301
FCFSupport::System::PrintLocOneIndustry
void PrintLocOneIndustry(const FCFSupport::Industry *Ix, const FCFSupport::Station *Sx, bool &firstOne, FCFSupport::PrinterDevice *printer) const
Print a location report for a single industry.
FCFSupport::Car
This class holds all of the information for a single car.
Definition: Car.h:71
cmri::CMri
Main C/MRI interface class.
Definition: cmri.tcl:141
FCFSupport::PDFFileStructures::CrossReferenceTable::lastObjectNumber
static unsigned long int lastObjectNumber
The last used object number.
Definition: PDFPrinterSupport.h:136
Parsers::MRRXtrkCad::O
@ O
Definition: ParserClassesGroup.h:125
FCFSupport::Station::Station
Station(const Station &other)
Copy constructor, copy from another station instance.
Definition: Station.h:82
azatrax::MRD::Sense_2
bool Sense_2() const
Sensor two active.
Definition: mrd.h:155
RaildriverIO::AUTOBRAKE
@ AUTOBRAKE
Automatic Brake lever.
Definition: RaildriverIO.h:197
Parsers::TurnoutBody::element
TurnoutBodyElt * element
Current element.
Definition: TurnoutBody.h:285
RaildriverIO::GetBlueButton12
bool GetBlueButton12() const
Get Blue Button 12.
Definition: RaildriverIO.h:412
Parsers::TurnoutBodyElt::MakeTurnoutCurveSegment
static TurnoutBodyElt * MakeTurnoutCurveSegment(float r, float x, float y, float a0, float a1)
Create a turnout curve segment (C lines).
Definition: TurnoutBody.h:222
RaildriverIO::GetBlueButton5
bool GetBlueButton5() const
Get Blue Button 5.
Definition: RaildriverIO.h:363
RaildriverIO::GetWhistleUp
bool GetWhistleUp() const
Get Whistle Up.
Definition: RaildriverIO.h:629
FCFSupport::PDFFileStructures::Type1FontDictionary::baseFont
string baseFont
Base font name.
Definition: PDFPrinterSupport.h:1103
Parsers::TrackGraph::CompressedEdgeCount
int CompressedEdgeCount(int cnid) const
Number of compressed graph edges for node cnid.
FCFSupport::Train::name
string name
Name of the train.
Definition: Train.h:345
FCFSupport::System::CarsMoved
int CarsMoved() const
Return the number of cars moved.
Definition: System.h:476
YY_MRRXtrkCad_LVAL
#define YY_MRRXtrkCad_LVAL
Definition: MRRXtrkCad.tab.h:196
FCFSupport::System::CarTypesOrderIndex
int CarTypesOrderIndex(char type) const
Car type order index.
azatrax::SR4::status1_union::Q4_state
unsigned int Q4_state
Q4 state.
Definition: sr4.h:285
TTSupport::TimeTableSystem::TimeScale
int TimeScale() const
Return time scale.
Definition: TimeTableSystem.h:879
Parsers::LayoutFile::Angle
float Angle(int nid) const
Return the angle of the signal.
Definition: ParseFile.h:529
Parsers::MRRXtrkCad::yylex
virtual int yylex()
FCFSupport::PostScriptPrinterDevice::Tab
virtual bool Tab(int column)
Tab over to the specified column.
FCFSupport::Train::StationOrIndustry::industry
Industry * industry
Industry, for Manifest freights.
Definition: Train.h:334
FCFSupport::System::FirstCarType
CarTypeMap::const_iterator FirstCarType() const
Iterator of the first car type in the car type map.
Definition: System.h:917
RaildriverIO::GetBailOff
unsigned char GetBailOff() const
Get Bail Off value (0-255).
Definition: RaildriverIO.h:320
FCFSupport::System::PrintOneCarLocation
void PrintOneCarLocation(const Car *car, FCFSupport::PrinterDevice *printer) const
Print one car location report.
ScrollTabNotebook
Tabbed Notebook with scrollable tabs.
Definition: snitScrollNotebook.tcl:22
FCFSupport::System::trainLength
int trainLength
Train length.
Definition: System.h:1036
FCFSupport::PDFFileStructures::IndirectObject::ObjectNumber
unsigned long int ObjectNumber() const
Return this object's object number.
Definition: PDFPrinterSupport.h:218
FCFSupport::Division::Division
Division()
Default constructor.
Definition: Division.h:78
RaildriverIO::GetBlueButton13
bool GetBlueButton13() const
Get Blue Button 13.
Definition: RaildriverIO.h:419
TTSupport::Cab
This class maintains information about cabs.
Definition: Cab.h:76
TTSupport::TimeTableSystem::trains
TrainNumberMap trains
Train number/symbol map.
Definition: TimeTableSystem.h:1128
FCFSupport::Industry::MaxCarLen
int MaxCarLen() const
The maximum car length this industry can handle.
Definition: Industry.h:236
FCFSupport::PDFFileStructures::CrossReferenceTable::WriteTable
streampos WriteTable(ostream &stream) const
Write this cross reference table out.
FCFSupport::PathName::Split
stringVector Split() const
Return a list of pathname components.
TTSupport::Occupied::Write
ostream & Write(ostream &stream) const
Write ourselves to an output stream.
FCFSupport::PDFFileStructures::PDFStream::PDFStream
PDFStream(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:663
TTSupport::TimeTableSystem::MakeTimeTableGroupByClass
bool MakeTimeTableGroupByClass(ostream &out, TrainList &allTrains, TrainList &forwardTrains, TrainList &backwardTrains, char **outmessage=NULL)
Make a time table grouped by class.
Parsers::BezierBodyElt::radius
float radius
A radius value.
Definition: BezierBody.h:122
RaildriverIO::GetSand
bool GetSand() const
Get Sand.
Definition: RaildriverIO.h:608
azatrax::Azatrax::cmd_EnableExternal
@ cmd_EnableExternal
Enable External Changes (MRD2 only)
Definition: Azatrax.h:169
FCFSupport::System::PrintTrainOrderHeader
void PrintTrainOrderHeader(const FCFSupport::Train *train, FCFSupport::PrinterDevice *printer)
Print a train order header.
Parsers::TrackBodyElt
Track endpoint elements (T and E lines).
Definition: TrackBody.h:76
yyltype::first_column
int first_column
Definition: MRRXtrkCad.tab.h:169
TTSupport::PathName::Split
stringVector Split() const
Return a list of pathname components.
Parsers::TrackGraph::Track
@ Track
Plain trackage: straight, curved, or easement.
Definition: TrackGraph.h:514
FCFSupport::System::TheCar
FCFSupport::Car * TheCar(int i) const
Get a car by index.
Definition: System.h:399
YARDSperMM
const double YARDSperMM
Definition: MRRXtrkCad.tab.h:37
lcc::EventID
An event id structure.
Definition: lcc.tcl:160
TTSupport::TimeRange::Write
ostream & Write(ostream &stream) const
Write ourselves to an output stream.
LabelSpinBox
This is a specialized form of the LabelFrame widget containing a SpinBox Widget.
Definition: labelspinbox.tcl:30
Parsers::LayoutFile::CompressedNodeSegments
IntegerList * CompressedNodeSegments(int cnid) const
Raw nodes in a compressed graph node.
Definition: ParseFile.h:567
FCFSupport::System::CarsNotMoved
int CarsNotMoved() const
Return the number of cars not moved at all.
Definition: System.h:482
azatrax::SR4::Q2_State
bool Q2_State() const
Q2 state, return true if Q2 is closed.
Definition: sr4.h:205
azatrax::Azatrax::cmd_OutputRelayInputControl
@ cmd_OutputRelayInputControl
(SR4 and SL2 only) 2 bytes - Enables/disables discrete input lines from controlling outputs For SL2: ...
Definition: Azatrax.h:261
FCFSupport::PostScriptPrinterDevice::partline
bool partline
Partial line flag.
Definition: PostScriptPrinter.h:158
FCFSupport::Industry::MyStation
Station * MyStation() const
Return the industry's station.
Definition: Industry.h:201
FCFSupport::PrinterDevice::Put
virtual bool Put(const string text)
Print a string of text.
Definition: Printer.h:378
TTSupport::Stop::NumberOfNotes
int NumberOfNotes() const
Return the number of notes.
Definition: Train.h:216
FCFSupport::Car::Car
Car(char t, const char *m, const char *n, const char *d, int l, int p, int wc, int lw, int ldw, bool lp, bool mp, bool fp, const Owner *own, bool dp, const Train *lt, int mvs, Industry *loc, Industry *dest, int trps, int asgns)
Full constructor.
Definition: Car.h:163
Parsers::TrackGraph::NodeTurnoutRoutelist
const TurnoutRoutelist * NodeTurnoutRoutelist(int nid) const
Returns the TurnoutRoutelist of the node.
TTSupport::PathName::operator=
PathName & operator=(PathName other)
Assignment operator, from another pathname.
Definition: PathName.h:101
azatrax::SR4::Sense_2_Latch
bool Sense_2_Latch() const
Sense 2, return true if input line 2 was activated since last get status.
Definition: sr4.h:181
Parsers::TurnoutGraphic
Structure holding a turnout's graphical information.
Definition: TrackGraph.h:249
TTSupport::Stop::notes
vector< int > notes
The vector of note numbers.
Definition: Train.h:283
FCFSupport::Industry::emptyTypes
string emptyTypes
The vector of empty car type characters.
Definition: Industry.h:287
Parsers::MRRXtrkCad::P
@ P
Definition: ParserClassesGroup.h:149
FCFSupport::WorkInProgressCallback::ProgressDone
virtual void ProgressDone(const string Message) const
Mark the process meter as done.
Definition: CallBack.h:108
FCFSupport::Division::NumberOfStations
int NumberOfStations() const
Return the number of stations in this division.
Definition: Division.h:132
FCFSupport::PrinterDevice::IsOpenP
bool IsOpenP() const
Is the printer open?
Definition: Printer.h:298
FCFSupport::PDFFileStructures::PageLabelTreeKidVector
vector< PageLabelTree * > PageLabelTreeKidVector
Map of PageLabelTree kids.
Definition: PDFPrinterSupport.h:870
NewCreateTimeTable
TimeTableSystem * NewCreateTimeTable(const char *name, int timescale, int timeinterval)
Tcl constructor to create a new TimeTable.
OvalWidgets::canvas
var canvas
Canvas the widget is on.
Definition: OvalWidgets2.tcl:489
FCFSupport::System::FindDivisionBySymbol
const Division * FindDivisionBySymbol(char symbol) const
Find a division by its symbol.
FCFSupport::Car::SetFixedRouteP
void SetFixedRouteP(bool f)
Set whether this car is on a fixed route.
Definition: Car.h:264
FCFSupport::PDFFileStructures::ResourceDictionary::pattern
IndirectObjectDictionary pattern
A Dictionary that maps resource names to pattern objects.
Definition: PDFPrinterSupport.h:564
FCFSupport::System::SearchForCarIndexesByNumber
vector< int > SearchForCarIndexesByNumber(string number, bool subStringP) const
Search for cars with a specificed number.
FCFSupport::LogMessageCallback::Error
@ Error
Error messages.
Definition: CallBack.h:138
FCFSupport::System::totalShifts
int totalShifts
The total number of shifts.
Definition: System.h:1009
FCFSupport::Car::LtWt
int LtWt() const
Return the car's empty weight.
Definition: Car.h:231
TTSupport::eqstr
Definition: TimeTableSystem.h:123
Parsers::TurnoutBodyElt::TurnoutBodyEltType
TurnoutBodyEltType
Element types.
Definition: TurnoutBody.h:86
Parsers::MRRXtrkCad::CURVE
@ CURVE
Definition: ParserClassesGroup.h:130
Division.h
FCFSupport::PDFPrinterDevice::partline
bool partline
Partial line flag.
Definition: PDFPrinter.h:178
FCFSupport::Station::operator=
Station & operator=(Station &other)
Assignment operator, copy from another station instance.
Definition: Station.h:91
FCFSupport::Industry::CarsLen
int CarsLen() const
Return the length of all of the cars.
Definition: Industry.h:261
RaildriverIO::GetPantograph
bool GetPantograph() const
Get Pantograph.
Definition: RaildriverIO.h:615
Parsers::BezierBody::BezierSegmentCount
int BezierSegmentCount()
Count segments (S, C, and J lines).
Definition: BezierBody.h:238
CTCPanel::standardMethods
standardMethods()
Macro to add a standard set of methods to an object type.
FCFSupport::PDFFileStructures::ResourceDictionary::shading
IndirectObjectDictionary shading
A Dictionary that maps resource names to shading dictionaries.
Definition: PDFPrinterSupport.h:568
FCFSupport::TextPrinterDevice::Put
virtual bool Put(const string text)
Print a string of text.
Parsers::MRRXtrkCad::Q
@ Q
Definition: ParserClassesGroup.h:154
Parsers::MRRXtrkCad::CAR
@ CAR
Definition: ParserClassesGroup.h:134
FCFSupport::Car::ldlmt
int ldlmt
This car's loaded weight.
Definition: Car.h:383
Parsers::TurnoutBodyElt::RouteName
char * RouteName
Route name (P lines).
Definition: TurnoutBody.h:118
FCFSupport::System::DeleteAllExistingCars
void DeleteAllExistingCars()
Delete all existing cars.
azatrax::MRD::OperatingMode
OperatingMode_Type OperatingMode() const
Operating mode.
Definition: mrd.h:206
FCFSupport::Car::SetLength
void SetLength(int l)
Set the car's length.
Definition: Car.h:216
FCFSupport::PDFFileStructures::InformationDirectory::creationDate
time_t creationDate
The creationDate.
Definition: PDFPrinterSupport.h:1264
Parsers::TrackGraph::EdgeX
float EdgeX(int nid, int edgenum) const
Returns the $X$ coordinate of the specificed edge of the node.
FCFSupport::PathName::Tail
string Tail() const
Return the last pathname component.
FCFSupport::System::OtherCarOkForTrain
bool OtherCarOkForTrain(Car *car, Train *train)
Check to see if this other car can be picked up.
FCFSupport::LQ24PrinterDevice::SetTypeSlant
virtual bool SetTypeSlant(TypeSlant slant)
Set the type slant.
FCFSupport::System::FindCarInCarVector
CarVector::iterator FindCarInCarVector(CarVector &cvect, Car *car)
Find a car in a car vector.
RaildriverIO::AUTOBRAKE_M
@ AUTOBRAKE_M
Automatic Brake lever.
Definition: RaildriverIO.h:103
FCFSupport::PDFFileStructures::CrossReferenceTable::objectMap
map< unsigned long int, IndirectObject *, less< unsigned long int > > objectMap
The object table type.
Definition: PDFPrinterSupport.h:140
NScale
const double NScale
Definition: MRRXtrkCad.tab.h:41
RaildriverIO::GetPanRight
bool GetPanRight() const
Get Pan Right.
Definition: RaildriverIO.h:552
TTSupport::TimeRange::To
double To() const
Return the high end of the range.
Definition: Station.h:197
FCFSupport::System::CarsAtDest_CarsInTransit
int CarsAtDest_CarsInTransit() const
Return the number of cars at their destinations plus the number of cars in transit.
Definition: System.h:506
FCFSupport::Industry
The Industry class represents an industry.
Definition: Industry.h:89
TTSupport::StorageTrack::~StorageTrack
~StorageTrack()
Destructor.
Definition: Station.h:300
FCFSupport::Division::area
char area
The division's area.
Definition: Division.h:165
Parsers::TurnoutBody::TurnoutSegmentCount
int TurnoutSegmentCount()
Count segments (S, C, and J lines).
Definition: TurnoutBody.h:330
yyltype::timestamp
int timestamp
Definition: MRRXtrkCad.tab.h:167
TTSupport::TimeTableSystem::LastTrain
TrainNumberMap::const_iterator LastTrain() const
Last train.
Definition: TimeTableSystem.h:975
FCFSupport::PDFPrinterDevice::lines
int lines
Number of lines.
Definition: PDFPrinter.h:169
LabelComboBox::get
get(path,...)
Procedure to get the ComboBox value.
FCFSupport::Car::IncrementTrips
void IncrementTrips()
Increment the number of trips this car has had.
Definition: Car.h:321
TTSupport::TimeTableSystem::TimeInterval
int TimeInterval() const
Return time interval.
Definition: TimeTableSystem.h:882
FCFSupport::PDFFileStructures::PostScriptStandardType1FontDictionary::~PostScriptStandardType1FontDictionary
~PostScriptStandardType1FontDictionary()
Destructor.
Definition: PDFPrinterSupport.h:1146
LabelSelectColor::create
create(path,...)
Creation procedure.
yy_MRRXtrkCad_stype::spl
StringPairList * spl
Definition: MRRXtrkCad.tab.h:81
FCFSupport::TextPrinterDevice::currentColumn
int currentColumn
Current column.
Definition: TextPrinter.h:136
TclSocketCAN
module TclSocketCAN
Definition: TclSocketCAN.i:59
Parsers::TurnoutBodyElt::~TurnoutBodyElt
~TurnoutBodyElt()
Destructor.
Definition: TurnoutBody.h:169
cmri::SMINI
@ SMINI
SMINI Super Mini node.
Definition: cmri.tcl:86
Parsers::TurnoutBody::CleanUpTurnoutBody
static void CleanUpTurnoutBody(TurnoutBody *trb)
Free up memory.
Definition: TurnoutBody.h:354
Parsers::LayoutFile::CompressGraph
void CompressGraph()
Create a compressed graph.
Definition: ParseFile.h:546
azatrax::MRD::HasRelays
bool HasRelays() const
Has Relays?
Definition: mrd.h:173
azatrax::SR4
SR4 I/O Class.
Definition: sr4.h:71
yy_MRRXtrkCad_stype::tb
TrackBody * tb
Definition: MRRXtrkCad.tab.h:72
FCFSupport::Owner::~Owner
~Owner()
The destructor does nothing special.
Definition: Owner.h:106
Parsers::TurnoutBodyElt::ang0
float ang0
An angle value.
Definition: TurnoutBody.h:149
yy_MRRXtrkCad_stype
Definition: MRRXtrkCad.tab.h:68
RaildriverIO::Eventmask_bits
Eventmask_bits
Event Masks.
Definition: RaildriverIO.h:79
Parsers::CornuBodyElt::theType
CornuBodyEltType theType
Element type.
Definition: CornuBody.h:100
FCFSupport::PDFFileStructures::CatalogDictionary::labels
PageLabelTree * labels
Page labels.
Definition: PDFPrinterSupport.h:1211
FCFSupport::System::NumberOfStations
int NumberOfStations() const
The number of stations loaded.
Definition: System.h:281
TTSupport::StorageTrack::UsedTimeRange
bool UsedTimeRange(double from, double to) const
Return true if the time range is in use.
RaildriverIO::GetBlueButton23
bool GetBlueButton23() const
Get Blue Button 23.
Definition: RaildriverIO.h:489
Parsers::TrackGraph::OrigY
float OrigY(int nid) const
Return the $y$ coordinate of the signal base.
FCFSupport::System::SetPrintDispatch
void SetPrintDispatch(bool flag)
Set the print dispatcher report sheet.
Definition: System.h:548
azatrax::SR4::Input_3_Enabled
bool Input_3_Enabled() const
Input 3 enabled? Return true if I3 can affect outputs.
Definition: sr4.h:235
Parsers::TrackGraph::Point
Position structure.
Definition: TrackGraph.h:754
Parsers::CornuBody::ConcatCornuBody
static CornuBody * ConcatCornuBody(CornuBody *trba, CornuBody *trb)
Definition: CornuBody.h:223
FCFSupport::PDFFileStructures::CrossReferenceTable::HighestObjectNumber
unsigned long int HighestObjectNumber() const
Return the highest object number.
Definition: PDFPrinterSupport.h:125
Parsers::RouteVec
Route structure.
Definition: TrackGraph.h:323
TTSupport::Station::storageTracks
StorageTrackMap storageTracks
Storage track map.
Definition: Station.h:693
FCFSupport::PDFFileStructures::Dictionary::Dictionary
Dictionary(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:316
LabelComboBox::icursor
icursor(path,...)
Pass through procedure for the ComboBox icursor function.
Parsers::TurnoutRoutelist::routes
RouteVec * routes
Route vector.
Definition: TrackGraph.h:351
FCFSupport::Car::ClearAssignments
void ClearAssignments()
Clear the number of assignments this car has had.
Definition: Car.h:330
Parsers::SegVector::gPos2
SegPos gPos2
Second graphic position.
Definition: TrackGraph.h:185
Parsers::MRRXtrkCad::TITLE
@ TITLE
Definition: ParserClassesGroup.h:119
RaildriverIO::~RaildriverIO
~RaildriverIO()
Destructor.
LabelComboBox::getlistbox
getlistbox(path,...)
Procedure to get the listbox of the ComboBox widget.
FCFSupport::Industry::Name
const char * Name() const
Return the industry's name.
Definition: Industry.h:206
FCFSupport::PDFFileStructures::NamedIndirectObjectMap
map< string, IndirectObject *, less< string > > NamedIndirectObjectMap
A `‘vector’' of named indirect objects, implemented as a map.
Definition: PDFPrinterSupport.h:404
FCFSupport::System::All
@ All
Report on all car types.
Definition: System.h:778
FCFSupport::System::trainEmpties
int trainEmpties
The number of empties on a train.
Definition: System.h:1048
FCFSupport::System::FindDivisionIndex
int FindDivisionIndex(const FCFSupport::Division *division) const
Find a division's index.
FCFSupport::System::LoadStatsFile
bool LoadStatsFile(char **outmessage=NULL)
Load the stats file.
TTSupport::TrainList
list< Train * > TrainList
List of trains.
Definition: TimeTableSystem.h:147
TTSupport::CabNameMap
map< string, Cab *, less< string > > CabNameMap
Cab name map, cabs indexed by name.
Definition: Cab.h:136
FCFSupport::System::ReLoadCarFile
void ReLoadCarFile(char **outmessage)
Reload car file.
Definition: System.h:698
Parsers::BezierBody::Element
const BezierBodyElt * Element() const
Return current element.
Definition: BezierBody.h:264
FCFSupport::PDFFileStructures::IndirectObject::WriteObjectToFile
ostream & WriteObjectToFile(ostream &stream)
Write an object indirectly.
Definition: PDFPrinterSupport.h:182
TTSupport::Station::duplicateStationIndex
int duplicateStationIndex
Duplicate station index.
Definition: Station.h:699
FCFSupport::LQ24PrinterDevice::oneColumnWidthFraction
double oneColumnWidthFraction
One column's width fraction.
Definition: LQ24Printer.h:163
Parsers::TrackGraph::EdgeValues::a
float a
A value of edge.
Definition: TrackGraph.h:559
FCFSupport::LQ24PrinterDevice::FF
@ FF
Form feed.
Definition: LQ24Printer.h:172
FCFSupport::System::FindIndustryByName
const FCFSupport::Industry * FindIndustryByName(string name) const
Find an industry by its name.
FCFSupport::System::IndRipTrackConst
const FCFSupport::Industry * IndRipTrackConst() const
Const version of the pointer to the RIP track (workbench).
Definition: System.h:561
SwitchList.h
TTSupport::Train::UpdateStopLayover
void UpdateStopLayover(int istop, double layover)
Update stop layover.
Parsers::CornuBodyElt::CornuEnd
@ CornuEnd
T or E line.
Definition: CornuBody.h:86
FCFSupport::Car::moves
int moves
The number of moves this car has made.
Definition: Car.h:389
FCFSupport::Train::Manifest
@ Manifest
A Manifest Freight train.
Definition: Train.h:146
TTSupport::Station::name
string name
Station name.
Definition: Station.h:690
Parsers::CornuBodyElt::pos1
Pos pos1
First position.
Definition: CornuBody.h:118
FCFSupport::PDFFileStructures::PageTree::resources
ResourceDictionary * resources
Resources for this page tree.
Definition: PDFPrinterSupport.h:795
FCFSupport::Car::divisions
string divisions
This car's division list.
Definition: Car.h:368
FCFSupport::System::ReportCarOwners
void ReportCarOwners(string ownerInitials, const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL) const
Report on a specified car owner.
TTSupport::PathName::Tail
string Tail() const
Return the last pathname component.
FCFSupport::PDFFileStructures::Type1FontDictionary
Type 1 Font dictionary.
Definition: PDFPrinterSupport.h:1032
Parsers::TurnoutBody::Element
const TurnoutBodyElt * Element() const
Return current element.
Definition: TurnoutBody.h:368
FCFSupport::Division::TheStation
const FCFSupport::Station * TheStation(int i) const
Return a selected station in the division.
Definition: Division.h:136
FCFSupport::System::INDUSTRY
@ INDUSTRY
Report by industry.
Definition: System.h:805
lcc::threebits
int threebits
Definition: lcc.tcl:34
RaildriverIO::ReportBuffer
unsigned char ReportBuffer[14]
Event Buffer.
Definition: RaildriverIO.h:710
Parsers::TrackGraph::nodes
Graph nodes
Graph adjacency_list.
Definition: TrackGraph.h:714
FCFSupport::DivisionVector
vector< Division * > DivisionVector
A vector of divisions.
Definition: Division.h:172
FCFSupport::PathName::Extension
string Extension() const
Return only the extension.
Parsers::BezierBodyElt::segmentId
int segmentId
Segment index (S or C lines).
Definition: BezierBody.h:106
TTSupport::StorageTrack::StorageTrack
StorageTrack(const StorageTrack &other)
Clone a StorageTrack – copy constructor.
Definition: Station.h:387
FCFSupport::PostScriptPrinterDevice::SetTypeSpacing
virtual bool SetTypeSpacing(TypeSpacing spacing)
Set the the spacing.
lcc::byte
int byte
Definition: lcc.tcl:54
FCFSupport::Station::MyDivision
Division * MyDivision() const
Return the station's division.
Definition: Station.h:118
FCFSupport::PDFFileStructures::PageLabelDictionary::None
@ None
None.
Definition: PDFPrinterSupport.h:818
FCFSupport::Industry::LoadsAccepted
const char * LoadsAccepted() const
The types of loads this industry can handle.
Definition: Industry.h:239
azatrax::SR4::status3_union::theBits
struct azatrax::SR4::status3_union::@8 theBits
Status byte as bit fields.
azatrax::MRD::status2_union::reserved
unsigned int reserved
Reserved bits.
Definition: mrd.h:261
FCFSupport::System::carsNotMoved
int carsNotMoved
The number of cars not moved.
Definition: System.h:1075
Parsers::TurnoutBodyElt::segmentId
int segmentId
Segment index (S, C, or J lines).
Definition: TurnoutBody.h:124
Parsers::TurnoutGraphic::segments
SegVector * segments
Segment vector.
Definition: TrackGraph.h:268
FCFSupport::LogMessageCallback::Warning
@ Warning
Warning messages.
Definition: CallBack.h:135
len0
#define len0
Definition: TurnoutBody.h:73
Parsers::MRRXtrkCad::F
@ F
Definition: ParserClassesGroup.h:144
azatrax::SL2::status2_union::reservered
unsigned int reservered
Reserved bits.
Definition: sl2.h:223
FCFSupport::System::RanAllTrains
int RanAllTrains() const
Ran all trains?
Definition: System.h:432
FCFSupport::Division::Symbol
char Symbol() const
Return the division's Symbol.
Definition: Division.h:126
Parsers::MRRXtrkCad::YY_MRRXtrkCad_NULL_TOKEN
@ YY_MRRXtrkCad_NULL_TOKEN
Definition: ParserClassesGroup.h:107
FCFSupport::Train::SetPrint
void SetPrint(bool flag)
Set the train's print flag.
Definition: Train.h:275
FCFSupport::System::SessionNumber
int SessionNumber() const
Return the session number.
Definition: System.h:409
FCFSupport::SwitchList::ResetSwitchList
void ResetSwitchList()
Reset the switch list pointer.
CTCPanel::verifyBoolMethod
verifyBoolMethod()
Macro to add a verify boolean method to a snit type.
azatrax::Azatrax::_GrowSize
@ _GrowSize
Definition: Azatrax.h:267
TTSupport::Cab::operator=
Cab & operator=(const Cab &other)
Assignment operator.
Definition: Cab.h:110
Parsers::BezierBodyElt::InitTSegId
static void InitTSegId()
Segment count initializer.
Definition: BezierBody.h:129
Parsers::MRRXtrkCad::yychar
int yychar
Definition: ParserClassesGroup.h:177
FCFSupport::Industry::StatsLen
int StatsLen() const
Return the stats length.
Definition: Industry.h:264
Parsers::TurnoutBodyElt::TurnoutRoute
@ TurnoutRoute
P line.
Definition: TurnoutBody.h:95
azatrax::Azatrax::StateDataPacket::status3
uint8_t status3
Status byte 3 (SR4-U, SL2-U) / Stopwatch 1/100ths of a second (MRD2 only)
Definition: Azatrax.h:429
TrackBody.h
TTSupport::PathName::PathSeparator
char PathSeparator() const
Return the pathname separater character.
FCFSupport::WorkInProgressCallback::ProgressUpdate
virtual void ProgressUpdate(int Percent, const string Message) const
Update the progress meter.
Definition: CallBack.h:103
TTSupport::TimeTableSystem::MakeTimeTableGroupManually
bool MakeTimeTableGroupManually(ostream &out, int maxTrains, TrainList &allTrains, TrainList &forwardTrains, TrainList &backwardTrains, char **outmessage=NULL)
Make a time table grouped manually.
FCFSupport::Car::Number
const char * Number() const
Return the car's number.
Definition: Car.h:193
FCFSupport::Industry::Reload
bool Reload() const
Can this industry reload cars?
Definition: Industry.h:218
azatrax::Azatrax::cmd_OutputRelayPulse
@ cmd_OutputRelayPulse
(SR4 only) 3 bytes - Pulses output relay contacts to momentary 'on' state.
Definition: Azatrax.h:242
RaildriverIO::THROTTLE_M
@ THROTTLE_M
Throttle lever.
Definition: RaildriverIO.h:97
Parsers::TurnoutBodyElt::InitTSegId
static void InitTSegId()
Segment count initializer.
Definition: TurnoutBody.h:162
FCFSupport::SwitchListElement
This class implements each switch list element.
Definition: SwitchList.h:73
FCFSupport::PathName::operator=
PathName & operator=(PathName other)
Assignment operator, from another pathname.
Definition: PathName.h:105
TTSupport::Cab::Write
ostream & Write(ostream &stream) const
Write object to a stream.
FCFSupport::System::ReadDivisions
bool ReadDivisions(istream &stream, map< int, int, less< int > > &homemap, char **outmessage=NULL)
Read in the division map.
Parsers::TrackGraph::c_idMap
CompressedIdNodeMap c_idMap
Node Id map.
Definition: TrackGraph.h:818
Parsers::LayoutFile::NumEdges
int NumEdges(int nid) const
Returns the number of edges for the specificed node id.
Definition: ParseFile.h:464
FCFSupport::System::CarTypesOrder
char CarTypesOrder(int i) const
Access a car type by index.
Definition: System.h:360
FCFSupport::Industry::MyMirror
Industry * MyMirror() const
This industry's mirror industry (if any).
Definition: Industry.h:224
TTSupport::StationTimes::arrival
double arrival
The arrival time, in scale time units.
Definition: TimeTableSystem.h:213
Parsers::MRRXtrkCad::E
@ E
Definition: ParserClassesGroup.h:146
TTSupport::TimeTableSystem::StationName
const char * StationName(int i) const
Return the Ith station name.
Definition: TimeTableSystem.h:523
TTSupport::Stop::storageTrackName
string storageTrackName
The storage track name.
Definition: Train.h:289
FCFSupport::PDFFileStructures::PDFNameArray
PDF Name array.
Definition: PDFPrinterSupport.h:346
Parsers::TrackGraph::CompressedNode
graph_traits< CompressedGraph >::vertex_descriptor CompressedNode
Compressed Graph Vertex type.
Definition: TrackGraph.h:808
yyltype::last_line
int last_line
Definition: MRRXtrkCad.tab.h:170
FCFSupport::PathName::PathName
PathName()
Default constructor.
Definition: PathName.h:83
FCFSupport::PDFPrinterDevice::currentColumn
int currentColumn
Current column.
Definition: PDFPrinter.h:190
Parsers::LayoutFile::CompressedNodePositionY
double CompressedNodePositionY(int cnid) const
X Coordinate of a Compressed Node position.
Definition: ParseFile.h:587
FCFSupport::System::TrainCarPickupCheck
bool TrainCarPickupCheck(Car *car, Train *train, bool boxMove, CarVector &consist, bool &didAction, int Px, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Check to see if we can really pick up this car.
RaildriverIO::GetBlueButton7
bool GetBlueButton7() const
Get Blue Button 7.
Definition: RaildriverIO.h:377
FCFSupport::System::printYards
bool printYards
Flag for printing yard switch lists.
Definition: System.h:1102
FCFSupport::System::ShowTrainTotals
void ShowTrainTotals(const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner) const
Show train totals.
TTSupport::Station::DuplicateStationIndex
int DuplicateStationIndex() const
Return the duplicate station index.
Definition: Station.h:595
FCFSupport::Industry::name
string name
The name of the industry.
Definition: Industry.h:281
azatrax::SL2::Sense_2
bool Sense_2() const
Sense 2, return true if input line 2 was activated since last get status.
Definition: sl2.h:123
FCFSupport::Industry::priority
int priority
The industry's priority.
Definition: Industry.h:299
TTSupport::StationTimes::Departure
double Departure() const
Accessor for the departure time.
Definition: TimeTableSystem.h:205
TTSupport::TimeTableSystem::NumberOfNotes
int NumberOfNotes() const
Return the number of notes.
Definition: TimeTableSystem.h:744
FCFSupport::CarGroup::CarGroup
CarGroup(CarGroup &other)
Copy constructor.
Definition: CarType.h:189
FCFSupport::Train::Print
bool Print() const
Return the train's print flag.
Definition: Train.h:271
RaildriverIO::Digital2
unsigned char Digital2
Blue Buttons 9-16.
Definition: RaildriverIO.h:743
FCFSupport::PDFFileStructures::CatalogDictionary
Master catalog of the PDF file.
Definition: PDFPrinterSupport.h:1153
RaildriverIO::GetBlueButton3
bool GetBlueButton3() const
Get Blue Button 3.
Definition: RaildriverIO.h:349
Parsers::TrackGraph::NodeValues::sensescript
char * sensescript
Sense Script (occupation / point).
Definition: TrackGraph.h:613
FCFSupport::System::TrainsFile
const char * TrainsFile() const
Return the trains file's full path name.
Definition: System.h:240
Parsers::LayoutFile::NameOfNode
const char * NameOfNode(int nid) const
Return a block's or switchmotor's name.
Definition: ParseFile.h:502
Parsers::TrackGraph::Sensor
@ Sensor
Sensor.
Definition: TrackGraph.h:532
Parsers::SegVector::ePos2
SegPos ePos2
Second end point position.
Definition: TrackGraph.h:191
FCFSupport::PostScriptPrinterDevice::title
string title
The document title.
Definition: PostScriptPrinter.h:146
lcc::headerword
int headerword
Definition: lcc.tcl:74
Parsers::TrackBodyElt::a
float a
Angle of track endpoint.
Definition: TrackBody.h:89
Parsers::TurnoutGraphic::minY
float minY
Minimum $Y$ coordinate.
Definition: TrackGraph.h:255
azatrax::SL2::Input_3_Enabled
bool Input_3_Enabled() const
Input 3 enabled? Return true if I3 can affect outputs.
Definition: sl2.h:177
FCFSupport::SwitchListElement::LastTrain
const Train * LastTrain() const
Return the train train for the car this switch list element is for.
Definition: SwitchList.h:159
Parsers::MRRXtrkCad::BLOCK
@ BLOCK
Definition: ParserClassesGroup.h:155
Parsers::TrackGraph::CompressedGraphPrimMinimumSpanningTree
CompressedEdgePairVector CompressedGraphPrimMinimumSpanningTree()
Run the prim_minimum_spanning_tree algorithm and return a Parent Vector.
FCFSupport::Train::Passenger
@ Passenger
A Passenger train.
Definition: Train.h:149
TTSupport::Train::ClassNumber
int ClassNumber() const
Return the class number.
Definition: Train.h:350
Parsers::CornuBodyElt::TheType
CornuBodyEltType TheType() const
Type accessor.
Definition: CornuBody.h:135
azatrax::Azatrax::cmd_ClearExternallyChanged
@ cmd_ClearExternallyChanged
Clear Externally Changed (MRD2 only)
Definition: Azatrax.h:165
Parsers::CornuBody::CornuEnds
TrackBody * CornuEnds()
Create a track endpoint list.
Definition: CornuBody.h:235
RaildriverIO::GetBlueButton2
bool GetBlueButton2() const
Get Blue Button 2.
Definition: RaildriverIO.h:342
Parsers::BezierBodyElt::GetStraightSegment
int GetStraightSegment(float &x1, float &y1, float &x2, float &y2) const
Fetch straight segment data.
Definition: BezierBody.h:157
FCFSupport::Industry::divisionControlList
string divisionControlList
The division control list.
Definition: Industry.h:290
FCFSupport::PDFFileStructures::ResourceDictionary::ResourceDictionary
ResourceDictionary(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:476
FCFSupport::System::PrintDispatcher
void PrintDispatcher(string banner, char trainType, FCFSupport::PrinterDevice *printer) const
Print dispatcher report sheets.
Parsers::MRRXtrkCad::END
@ END
Definition: ParserClassesGroup.h:117
Parsers::TrackGraph::NodeType
NodeType
Node types.
Definition: TrackGraph.h:508
TTSupport::StorageTrack::UpdateStoredTrain
const Occupied * UpdateStoredTrain(double from, double to, string train)
Replace a stored arrrival train.
FCFSupport::Car::SetOkToMirrorP
void SetOkToMirrorP(bool m)
Set this car's mirror status.
Definition: Car.h:258
lcc::twobits
int twobits
Definition: lcc.tcl:29
FCFSupport::TrainDisplayCallback::InitializeTrainDisplay
virtual void InitializeTrainDisplay(string name, int stationCount, int maxLength, int maxCars) const
Initialize the train status display.
Definition: CallBack.h:221
Parsers::TrackGraph::heads
IntegerList * heads
Uncompressed graph heads (strong components).
Definition: TrackGraph.h:720
azatrax::SL2::status2_union::sense_1
unsigned int sense_1
Sense 1.
Definition: sl2.h:215
TTSupport::TimeTableSystem::AddStation
int AddStation(string name, double smile)
Add a new station to the system.
Parsers::MRRXtrkCad::LAYERS
@ LAYERS
Definition: ParserClassesGroup.h:126
Parsers::TrackGraph::SenseScript
const char * SenseScript(int nid) const
Return a block's or switchmotor's sense script.
FCFSupport::System::ReadGroupLimit
bool ReadGroupLimit(istream &stream, const char *label, int &value, const char *filename, char **outmessage=NULL)
Utility to read a group limit.
Parsers::MRRXtrkCad::STRAIGHT
@ STRAIGHT
Definition: ParserClassesGroup.h:133
FCFSupport::System::System
System()
The default constructor.
Definition: System.h:205
Parsers::TrackGraph::NodeValues::origx
float origx
X coordinate of the base of the signal.
Definition: TrackGraph.h:628
RaildriverIO::WIPER
@ WIPER
Wiper switch.
Definition: RaildriverIO.h:216
FCFSupport::System::OrdersFile
const char * OrdersFile() const
Return the train orders file's full path name.
Definition: System.h:243
Parsers::TrackBody
List of track endpoints (T and E lines).
Definition: TrackBody.h:134
FCFSupport::Owner::Comment
const char * Comment() const
Return commentary about this owner.
Definition: Owner.h:115
lcc::GridConnectReply
A Grid Connect formatted CAN message (reply).
Definition: lcc.tcl:906
azatrax::SL2::status1_union::motor_2_direction
unsigned int motor_2_direction
Motor 2 direction.
Definition: sl2.h:201
lcc::OpenLCBMessage
OpenLCB Message type.
Definition: lcc.tcl:1169
FCFSupport::Train::StationStop
Station * StationStop(int index) const
Return the Ith station stop this train makes.
Definition: Train.h:312
azatrax::Azatrax::cmd_Q3posQ4neg
@ cmd_Q3posQ4neg
(SL2 only) Sets output terminal Q3 to positive, Q4 to negative.
Definition: Azatrax.h:177
Parsers::TurnoutRoutelist
Turnout route list structure.
Definition: TrackGraph.h:344
yy_MRRXtrkCad_stype::tbb
BezierBody * tbb
Definition: MRRXtrkCad.tab.h:76
Parsers
File-based parser classes.
Definition: ParserClassesGroup.h:93
TTSupport::Stop::SetCab
void SetCab(Cab *newcab)
Update the cab.
Definition: Train.h:213
Parsers::TrackGraph::Roots
const IntegerList * Roots()
Compressed graph roots.
Definition: TrackGraph.h:1122
localtime_r
struct tm * localtime_r(const time_t *, struct tm *)
azatrax::SR4::Sense_3_Live
bool Sense_3_Live() const
Sense 3, return true if input line 3 is now activated.
Definition: sr4.h:259
azatrax::SR4::Sense_3_Latch
bool Sense_3_Latch() const
Sense 3, return true if input line 3 was activated since last get status.
Definition: sr4.h:187
yy_MRRXtrkCad_stype::il
IntegerList * il
Definition: MRRXtrkCad.tab.h:80
FCFSupport::System::CarsAtDest
int CarsAtDest() const
Return the number of cars that are at their destinations.
Definition: System.h:479
FCFSupport::CarType::comment
string comment
The commentary string.
Definition: CarType.h:142
IScale
const double IScale
Definition: MRRXtrkCad.tab.h:43
LabelComboBox::configure
configure(path,...)
Procedure to configure a LabelComboBox.
FCFSupport::SwitchList::operator[]
SwitchListElement & operator[](int ielement)
Random index access to the switch list.
FCFSupport::Car::SetLdLmt
void SetLdLmt(int ldw)
Set the car's load limit.
Definition: Car.h:240
RaildriverIO::GetBlueButton9
bool GetBlueButton9() const
Get Blue Button 9.
Definition: RaildriverIO.h:391
RaildriverIO::DIGITAL6
@ DIGITAL6
Cab Buttons, Whistle.
Definition: RaildriverIO.h:260
lcc::bytelist
listtype bytelist
Definition: lcc.tcl:94
TTSupport::TimeTableSystem::timeinterval
int timeinterval
Time interval.
Definition: TimeTableSystem.h:1119
FCFSupport::CarGroup::group
char group
The car group code.
Definition: CarType.h:223
PDFPrinterSupport.h
azatrax::Azatrax::AllConnectedDevices
static char ** AllConnectedDevices()
List serial numbers of all connected devices.
TTSupport::Stop
This class implements a stop.
Definition: Train.h:139
TTSupport::TimeTableSystem::stations
StationVector stations
Station stop vector.
Definition: TimeTableSystem.h:1122
RaildriverIO::DIGITAL1
@ DIGITAL1
Blue Buttons 1-8.
Definition: RaildriverIO.h:228
Parsers::CornuBodyElt::InitTSegId
static void InitTSegId()
Segment count initializer.
Definition: CornuBody.h:129
TTSupport::Train::SetOriginStorageTrack
void SetOriginStorageTrack(string trackname)
Set the origin storage track.
FCFSupport::System::TheIndustry
FCFSupport::Industry * TheIndustry(int i)
Industry indexing function.
Definition: System.h:338
Parsers::ParseFile::source_line
int source_line
Source line number.
Definition: ParseFile.h:382
Parsers::BezierBody
List of Bezier body lines (T, E, S, and C lines).
Definition: BezierBody.h:196
azatrax::MRD::ClearExternallyChanged
ErrorCode ClearExternallyChanged() const
Clear ‘ExternallyChanged’ status bit.
Definition: mrd.h:122
Parsers::SegVector::tgType
GrType tgType
Segment type.
Definition: TrackGraph.h:178
FCFSupport::CarType::CarType
CarType(const char *c, const char *t, char g)
Full constructor.
Definition: CarType.h:118
Parsers::MRRXtrkCad::MAPSCALE
@ MAPSCALE
Definition: ParserClassesGroup.h:120
lcc::valid
@ valid
Currently valid.
Definition: lcc.tcl:136
FCFSupport::PDFFileStructures::IndirectObject::fileOffset
streampos fileOffset
The file position.
Definition: PDFPrinterSupport.h:265
RaildriverIO::GetBlueButton18
bool GetBlueButton18() const
Get Blue Button 18.
Definition: RaildriverIO.h:454
RaildriverIO::DIGITAL2_M
@ DIGITAL2_M
Blue Buttons 9-16.
Definition: RaildriverIO.h:140
FCFSupport::PDFFileStructures::PageLabelDictionary::~PageLabelDictionary
~PageLabelDictionary()
Destructor.
Definition: PDFPrinterSupport.h:851
azatrax::MRD::MRD
MRD(const char *serialnumber, char **outmessage=NULL)
Base constructor.
Definition: mrd.h:79
Parsers::MRRXtrkCad::C
@ C
Definition: ParserClassesGroup.h:151
Parsers::TrackBodyElt::y
float y
$Y$ coordinate of track endpoint.
Definition: TrackBody.h:86
Parsers::CornuBodyElt::None
@ None
Placeholder.
Definition: CornuBody.h:83
Parsers::TrackGraph::IsCompressedNode
bool IsCompressedNode(int cnid) const
Is cid a node in the compressed graph?
FCFSupport::System::ShowTrainCars
void ShowTrainCars(const Train *Tx, const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner) const
Show cars moved by a specific train.
TTSupport::Train::Train
Train(TimeTableSystem *timetable=NULL, string name="", string number="", int speed=0, int classnumber=0, int departure=0, int start=0, int end=-1)
Create and initialize a train object.
LabelComboBox::unpost
unpost(path,...)
Pass through procedure for the ComboBox unpost function.
FCFSupport::CarType::CarTypeConsts
CarTypeConsts
Some specific constants relating to car types.
Definition: CarType.h:82
FCFSupport::PDFFileStructures::PageLabelDictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write an object directly.
Parsers::BezierBody::CleanUpBezierBody
static void CleanUpBezierBody(BezierBody *trb)
Free up memory.
Definition: BezierBody.h:250
Parsers::TrackGraph::EdgeValues::x
float x
X value of edge.
Definition: TrackGraph.h:553
TTSupport::Train::RemoveNoteFromStop
void RemoveNoteFromStop(int istop, int note)
Remove a note from a stop.
FCFSupport::System::PrintAlpha
bool PrintAlpha() const
Print the alphabetical listing flag.
Definition: System.h:516
FCFSupport::Car::fixedP
bool fixedP
This car's fixed route flag.
Definition: Car.h:401
Parsers::TrackGraph::CompressedNodeValues::segments
std::list< int > segments
List of uncompressed node ids.
Definition: TrackGraph.h:779
FCFSupport::PDFFileStructures::IndirectFloatVector
Indirect array of floats.
Definition: PDFPrinterSupport.h:992
Parsers::MRRXtrkCad::D
@ D
Definition: ParserClassesGroup.h:141
Parsers::TrackBodyElt::ConnectedTrackEnd
static TrackBodyElt * ConnectedTrackEnd(int ind, float X, float Y, float A)
Create a connected track endpoint.
Definition: TrackBody.h:100
Parsers::BezierBodyElt::MakeStraightSegment
static BezierBodyElt * MakeStraightSegment(float x1, float y1, float x2, float y2)
Create a straight segment (S lines).
Definition: BezierBody.h:145
FCFSupport::PDFFileStructures::CrossReferenceTable::CrossReferenceTable
CrossReferenceTable()
Constructor.
LabelComboBox::_destroy
_destroy(path)
Destructor function.
Parsers::TrackGraph::NodeValues::reverseactionscript
char * reverseactionscript
Reverse action script.
Definition: TrackGraph.h:619
Parsers::LayoutFile::SignalAspects
const StringPairList * SignalAspects(int nid) const
Return a Signal's aspect list.
Definition: ParseFile.h:517
Parsers::BezierBody::BezierEnds
TrackBody * BezierEnds()
Create a track endpoint list.
Definition: BezierBody.h:226
FCFSupport::PostScriptPrinterDevice::PostScriptPrinterDevice
PostScriptPrinterDevice(const string filename="", const string title_="", PageSize pageSize=Letter, char **outmessage=NULL)
Constructor.
azatrax::Azatrax::StateDataPacket::stopwatchMinutes
uint8_t stopwatchMinutes
Stopwatch minutes (MRD2 only)
Definition: Azatrax.h:437
TT_StringListToList
int TT_StringListToList(Tcl_Interp *interp, const char *stringList)
Tcl function to convert a serialized string list to a Tcl list.
FCFSupport::Industry::type
char type
The industry type.
Definition: Industry.h:329
FCFSupport::PostScriptPrinterDevice::printerStream
ofstream printerStream
Output stream.
Definition: PostScriptPrinter.h:143
FCFSupport::PDFPrinterDevice
PDF Printer device.
Definition: PDFPrinter.h:71
FCFSupport::PDFFileStructures::Dictionary
PDF Dictionary class.
Definition: PDFPrinterSupport.h:308
yyltype
Definition: MRRXtrkCad.tab.h:164
yy_MRRXtrkCad_stype::tbe
TrackBodyElt * tbe
Definition: MRRXtrkCad.tab.h:73
FCFSupport::Industry::CarsNum
int CarsNum() const
Return the number of cars.
Definition: Industry.h:258
FCFSupport::PDFFileStructures::Type1FontDictionary::encodingDictionary
TypedDictionary * encodingDictionary
Encoding as a dictionary.
Definition: PDFPrinterSupport.h:1121
Parsers::TrackGraph::TurnoutNumber
int TurnoutNumber(int nid) const
Return a switchmotor's turnout number.
FCFSupport::System::LastIndustry
IndustryMap::const_iterator LastIndustry() const
Iterator of one past the last industry in the industry map.
Definition: System.h:914
FCFSupport::Train::MaxWeight
int MaxWeight() const
Return the train's maximum weight class.
Definition: Train.h:254
TTSupport::Train::Departure
int Departure() const
Return the departure time.
Definition: Train.h:340
FCFSupport::System::carDest
Industry * carDest
A temporary for a car's location.
Definition: System.h:1063
FCFSupport::PathName::operator>
bool operator>(const PathName other) const
Greater than operator.
Definition: PathName.h:131
yyltype::text
char * text
Definition: MRRXtrkCad.tab.h:172
FCFSupport::System::printDispatch
bool printDispatch
Flag for printing a dispatcher's report.
Definition: System.h:1117
FCFSupport::System::PrintCarTypesSummaryHeader
void PrintCarTypesSummaryHeader(FCFSupport::PrinterDevice *printer) const
Print car type summary header.
Parsers::TurnoutBodyElt::GetTurnoutRoute
void GetTurnoutRoute(char *&pName, IntegerList *&cList) const
Fetch turnout route data.
Definition: TurnoutBody.h:194
Parsers::TrackGraph::NodeValues::normalactionscript
char * normalactionscript
Normal action script.
Definition: TrackGraph.h:616
TTSupport::TimeTableSystem::FindStationByName
int FindStationByName(string name)
Find a station by name.
azatrax::SL2::SetQ1negQ2pos
ErrorCode SetQ1negQ2pos() const
Sets output terminal Q1 to negative, Q2 to positive.
Definition: sl2.h:87
FCFSupport::PDFFileStructures::TypedDictionary
Typed dictionary.
Definition: PDFPrinterSupport.h:362
Parsers::TrackGraph::HighestNode
int HighestNode() const
Returns the highest numbered node id.
TTSupport::Train::UpdateStopCab
void UpdateStopCab(int istop, Cab *cab)
Update the cab.
TTSupport::Station::~Station
~Station()
Destructor.
Definition: Station.h:582
Parsers::TrackGraph::ReverseActionScript
const char * ReverseActionScript(int nid) const
Return a block's or switchmotor's reverse action script.
FCFSupport::System::PrintCarTypesHeader
void PrintCarTypesHeader(FCFSupport::PrinterDevice *printer) const
Print the car type header.
Parsers::TurnoutBodyElt::L
float L
$L$ value (for J lines).
Definition: TurnoutBody.h:158
FCFSupport::Train::MaxClear
int MaxClear() const
Return the train's maximum clearance plate.
Definition: Train.h:251
FCFSupport::SwitchListElement::operator=
SwitchListElement & operator=(const SwitchListElement &other)
Assignment operator.
Definition: SwitchList.h:108
FCFSupport::System::carMovements
int carMovements
The number of cars movements.
Definition: System.h:1090
YY_MRRXtrkCad_INHERIT::YY_MRRXtrkCad_NERRS
int YY_MRRXtrkCad_NERRS
Definition: MRRXtrkCad.tab.h:527
FCFSupport::Train::StationOrIndustry
Union of stations or industries, used for stops.
Definition: Train.h:328
Parsers::BezierBody::element
BezierBodyElt * element
Current element.
Definition: BezierBody.h:199
azatrax::MRD::DisableExternal
ErrorCode DisableExternal() const
Disable external changes of turnout state.
Definition: mrd.h:127
TTSupport::OccupiedMap
map< TimeRange, Occupied, less< TimeRange > > OccupiedMap
The Occupied Map type, ordered by time ranges.
Definition: Station.h:271
Parsers::TurnoutBodyElt::TurnoutEnd
@ TurnoutEnd
T or E line.
Definition: TurnoutBody.h:92
RaildriverIO::Digital5
unsigned char Digital5
Pan, Cab buttons.
Definition: RaildriverIO.h:753
azatrax::SR4::status3_union::input_3_enabled
unsigned int input_3_enabled
Input 3 enabled?
Definition: sr4.h:319
FCFSupport::System::IndustriesFile
const char * IndustriesFile() const
Return the industry file's full path name.
Definition: System.h:237
TT_ListToStringListString
int TT_ListToStringListString(Tcl_Interp *interp, Tcl_Obj *list)
Tcl function to convert a Tcl list to a serialized string list.
FCFSupport::SwitchList::LimitCars
int LimitCars() const
Return the limit count.
Definition: SwitchList.h:282
FCFSupport::Car::WeightClass
int WeightClass() const
Return the car's weight class.
Definition: Car.h:225
TTSupport::TimeRange::from
double from
Start time.
Definition: Station.h:260
TTSupport::Train::RemoveNoteFromTrain
void RemoveNoteFromTrain(int note)
Remove a note.
Definition: Train.h:376
RaildriverIO::DIGITAL2
@ DIGITAL2
Blue Buttons 9-16.
Definition: RaildriverIO.h:234
Parsers::TurnoutBodyElt::Pos
Position structure.
Definition: TurnoutBody.h:130
FCFSupport::PrinterDevice::OpenPrinter
virtual bool OpenPrinter(const string filename, PageSize pageSize_=Letter, char **outmessage=NULL)
Member function to open the printer.
Definition: Printer.h:284
TTSupport::Cab::~Cab
~Cab()
Clean things up.
Definition: Cab.h:92
Parsers::TrackGraph::SignalAspects
const StringPairList * SignalAspects(int nid) const
Return a Signal's aspect list.
FCFSupport::Train::maxweight
int maxweight
The maximum weight class for this train.
Definition: Train.h:366
azatrax::SR4::status2_union
Status byte 2 union type (Input sense)
Definition: sr4.h:291
Parsers::MRRXtrkCad::ROOMSIZE
@ ROOMSIZE
Definition: ParserClassesGroup.h:121
FCFSupport::System::TrainByIndex
Train * TrainByIndex(int i)
Train indexing function.
Definition: System.h:305
TTSupport::Cab::Name
const char * Name() const
Return the name of the cab.
Definition: Cab.h:95
Train.h
Parsers::LayoutFile::Roots
const IntegerList * Roots()
Compressed graph roots.
Definition: ParseFile.h:581
yy_MRRXtrkCad_stype::tcb
CornuBody * tcb
Definition: MRRXtrkCad.tab.h:78
Parsers::LayoutFile::OnScript
const char * OnScript(int nid) const
Return the on action script.
Definition: ParseFile.h:533
lcc::CanAlias
Implements a CAN Alias.
Definition: lcc.tcl:1055
FCFSupport::System::TheCarGroup
CarGroup * TheCarGroup(int i) const
Get a car class instance pointer given a car group index.
Definition: System.h:378
azatrax::MRD::ExternallyChanged
bool ExternallyChanged() const
Externally changed?
Definition: mrd.h:191
xpressnet::Forward
@ Forward
Forward.
Definition: xpressnet.tcl:527
FCFSupport::System::PrintCarHeading
void PrintCarHeading(FCFSupport::PrinterDevice *printer) const
Print the car heading.
FCFSupport::PDFFileStructures::PageLabelTree::PageLabelTree
PageLabelTree(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:889
FCFSupport::Industry::trackLen
int trackLen
The track length.
Definition: Industry.h:293
RaildriverIO::DIGITAL1_M
@ DIGITAL1_M
Blue Buttons 1-8.
Definition: RaildriverIO.h:134
FCFSupport::System::TrainLocalDrops
void TrainLocalDrops(Train *train, int Px, CarVector &consist, bool &didAction, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Drop cars from a local (box move or way freight).
FCFSupport::PathName::FullPath
string FullPath() const
Return the full pathname.
Definition: PathName.h:163
Parsers::LayoutFile
File to parse an XTrkCad layout file and create a track graph.
Definition: ParseFile.h:429
TTSupport::Train::Number
const char * Number() const
Return the number (or symbol) of the train.
Definition: Train.h:337
FCFSupport::System::LastOwner
OwnerMap::const_iterator LastOwner() const
Iterator of one past the last owner in the owner map.
Definition: System.h:926
FCFSupport::System::trains
TrainMap trains
Train map.
Definition: System.h:976
FCFSupport::PostScriptPrinterDevice::SetTypeSlant
virtual bool SetTypeSlant(TypeSlant slant)
Set the type slant.
RaildriverIO::GetBlueButton21
bool GetBlueButton21() const
Get Blue Button 21.
Definition: RaildriverIO.h:475
FCFSupport::System::FormatDutyTime
const string FormatDutyTime(int dutytimeminutes) const
Format the on duty time in a human readable format.
FCFSupport::System::printem
bool printem
Flag for printing train movements.
Definition: System.h:1120
RaildriverIO::GetBlueButton22
bool GetBlueButton22() const
Get Blue Button 22.
Definition: RaildriverIO.h:482
Parsers::MRRXtrkCad::TEXT
@ TEXT
Definition: ParserClassesGroup.h:137
TTSupport::TimeRange::to
double to
End time.
Definition: Station.h:263
TTSupport::doubleVector
vector< double > doubleVector
A Vector of doubles.
Definition: TimeTableSystem.h:97
FCFSupport::PDFFileStructures::PageTree::~PageTree
~PageTree()
Destructor.
Definition: PDFPrinterSupport.h:767
TTSupport::Occupied::Until
double Until() const
Return the end time.
Definition: Station.h:125
RaildriverIO::GetEBrakeUp
bool GetEBrakeUp() const
Get Emergency Brake Up.
Definition: RaildriverIO.h:587
Parsers::TrackGraph::CompressedNodeValues::FindSegmentIndex
std::list< int >::size_type FindSegmentIndex(int segment) const
Return the segment index for a given segment.
Definition: TrackGraph.h:782
Parsers::CornuBodyElt::GetCurveSegment
int GetCurveSegment(float &r, float &x, float &y, float &a0, float &a1) const
Fetch curve segment data.
Definition: CornuBody.h:179
Parsers::TrackBody::~TrackBody
~TrackBody()
Destructor.
Definition: TrackBody.h:149
FCFSupport::PDFPrinterDevice::currentPage
PDFFileStructures::Page * currentPage
Current PDF Page.
Definition: PDFPrinter.h:148
FCFSupport::PDFFileStructures::IndirectObject::table
CrossReferenceTable * table
The cross referece table we are in.
Definition: PDFPrinterSupport.h:268
TTSupport::TimeTableSystem::ReadNote
string ReadNote(istream &in) const
Read in a note.
FCFSupport::PDFFileStructures::IndirectObject::HasOffset
bool HasOffset() const
Does the object have a file offset?
Definition: PDFPrinterSupport.h:229
RaildriverIO::RDInput
union RaildriverIO::@9 RDInput
Event data.
FCFSupport::System::RunOneLocal
void RunOneLocal(Train *train, bool boxMove, CarVector &consist, const FCFSupport::TrainDisplayCallback *traindisplay, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
One one local train.
Parsers::LayoutFile::NodeTurnoutGraphic
const TurnoutGraphic * NodeTurnoutGraphic(int nid) const
Returns the TurnoutGraphic of the node.
Definition: ParseFile.h:485
FCFSupport::PDFFileStructures::InformationDirectory::~InformationDirectory
~InformationDirectory()
Destructor.
Definition: PDFPrinterSupport.h:1243
Parsers::ParseFile::fp
FILE * fp
Input file pointer.
Definition: ParseFile.h:379
Parsers::BezierBodyElt::BezierBodyEltType
BezierBodyEltType
Element types.
Definition: BezierBody.h:80
Parsers::TrackGraph::NodeValues::id
int id
Node number.
Definition: TrackGraph.h:589
FCFSupport::System::StringToIntRange
bool StringToIntRange(string str, int &result, int minv, int maxv, const char *message, char **outmessage=NULL) const
Convert a string to an integer and check its range.
FileEntry::_openFile
_openFile(path)
Prodedure bound to the file open button.
TTSupport::TimeTableSystem::Note
const char * Note(int i)
Return the ith note (1-based!) as a string.
Definition: TimeTableSystem.h:751
FCFSupport::PDFFileStructures::Dictionary::~Dictionary
virtual ~Dictionary()
Destructor.
Definition: PDFPrinterSupport.h:323
azatrax::SR4::RelaysOn
ErrorCode RelaysOn(bool Q1, bool Q2, bool Q3, bool Q4)
Set output relay contacts on.
Definition: sr4.h:128
FCFSupport::PathName::operator>=
bool operator>=(const PathName other) const
Greater than or equal operator.
Definition: PathName.h:143
Parsers::TurnoutBody::next
TurnoutBody * next
Next element.
Definition: TurnoutBody.h:288
FCFSupport::PDFFileStructures::CrossReferenceTable::AddIndirectObjectToTable
void AddIndirectObjectToTable(IndirectObject *obj)
Add an indirect object to the cross reference table.
azatrax::SR4::status3_union
Status byte 3 union type (Input Control Status)
Definition: sr4.h:309
FCFSupport::Train::Train
Train()
Default constructor.
Definition: Train.h:155
azatrax::Azatrax::StateDataPacket::packetCount
uint8_t packetCount
Packet counter (All Devices)
Definition: Azatrax.h:419
TTSupport::Stop::Flag
FlagType Flag() const
Return the flag.
Definition: Train.h:249
FCFSupport::Industry::carsNum
int carsNum
The number of cars.
Definition: Industry.h:311
LabelSelectColor::_path_command
_path_command(path, cmd, larg)
Path command for this megawidget.
TTSupport::Stop::flag
FlagType flag
The type of stop, originating, terminating, or passing through.
Definition: Train.h:286
TTSupport::TimeRange::ContainsTime
bool ContainsTime(double time) const
Does this interval contain the specified time?
Definition: Station.h:201
FCFSupport::Division::operator=
Division & operator=(Division &other)
Assignment operator.
Definition: Division.h:93
TTSupport::TimeTableSystem::~TimeTableSystem
~TimeTableSystem()
Destructor.
FCFSupport::Industry::assignLen
int assignLen
The assignable length.
Definition: Industry.h:296
TTSupport::TimeTableSystem::CreateLaTeXTimetable
bool CreateLaTeXTimetable(string filename, char **outmessage=NULL)
Create a LaTeX file for generating a (hard copy) Employee Timetable.
FCFSupport::System::TheOwner
Owner * TheOwner(const char *initials)
Get a car owner class instance pointer given a car owner's initials.
Definition: System.h:387
FCFSupport::PDFFileStructures::Dictionary::WriteDirect
virtual ostream & WriteDirect(ostream &stream) const
Write an object directly.
Definition: PDFPrinterSupport.h:327
FCFSupport::SwitchList::~SwitchList
~SwitchList()
Destructor.
FCFSupport::System::ReportIndustries
void ReportIndustries(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL) const
Report on all industries.
Parsers::LayoutFile::HighestNode
int HighestNode() const
Returns the highest numbered node id.
Definition: ParseFile.h:543
Parsers::TrackBodyElt::index
int index
Index of connected track (T lines only).
Definition: TrackBody.h:80
FCFSupport::Car::UnLoad
void UnLoad()
Unload the car.
Definition: Car.h:252
FCFSupport::System::PrintDashedLine
void PrintDashedLine(FCFSupport::PrinterDevice *printer) const
Print a dashed line.
Parsers::SegVector::ePos1
SegPos ePos1
First end point position.
Definition: TrackGraph.h:188
Parsers::MRRXtrkCad::yyerror
virtual void yyerror(char *msg)
Parsers::MRRXtrkCad::yyerror1
void yyerror1(const char *message, const char *s) const
FCFSupport::WorkInProgressCallback
Work In Progress Callback.
Definition: CallBack.h:77
FCFSupport::PathName::~PathName
~PathName()
Destructor.
Definition: PathName.h:101
Parsers::TrackGraph::Control
@ Control
Control.
Definition: TrackGraph.h:535
Parsers::TrackGraph::NodeValues::name
char * name
Name of block or switch motor.
Definition: TrackGraph.h:610
FCFSupport::System::carsMoved
int carsMoved
The number of cars moved.
Definition: System.h:1069
Parsers::TrackGraph::circleLayoutP
bool circleLayoutP
Has CompressedGraphCircleLayout been run?
Definition: TrackGraph.h:827
Parsers::MRRXtrkCad::~MRRXtrkCad
virtual ~MRRXtrkCad()
Definition: ParserClassesGroup.h:191
FCFSupport::System::ReportLocIndustry
void ReportLocIndustry(IndustryMap::const_iterator Ix, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL)
Print a location report for one industry.
Parsers::BezierBodyElt::Pos::x
float x
$X$ coordinate.
Definition: BezierBody.h:113
azatrax::MRD::TurnoutSolenoid
@ TurnoutSolenoid
Turnout, Solenoid (momentary action)
Definition: mrd.h:97
FCFSupport::Industry::mirror
Industry * mirror
The mirror industry or NULL if there is no mirror industry.
Definition: Industry.h:278
Parsers::CornuBodyElt::GetStraightSegment
int GetStraightSegment(float &x1, float &y1, float &x2, float &y2) const
Fetch straight segment data.
Definition: CornuBody.h:157
RaildriverIO::GetBlueButton26
bool GetBlueButton26() const
Get Blue Button 26.
Definition: RaildriverIO.h:510
lcc::CANGridConnect
Base class to connect to a CAN bus using GridConnect formatted message over.
Definition: lcc.tcl:1240
FCFSupport::Train::operator=
Train & operator=(Train &other)
Assignment operator.
Definition: Train.h:182
FCFSupport::PDFFileStructures::ResourceDictionary::AddExternalGraphicsState
void AddExternalGraphicsState(const string name, IndirectObject *obj)
Add an External Graphics State resource.
Definition: PDFPrinterSupport.h:493
FCFSupport::LQ24PrinterDevice::Tab
virtual bool Tab(int column)
Tab over to the specified column.
FCFSupport::System::SystemFile
const char * SystemFile() const
Return the system file's full path name.
Definition: System.h:234
FCFSupport::System::totalPickups
int totalPickups
The total number of pickups.
Definition: System.h:1015
CTCPanel::verifyPositionMethod
verifyPositionMethod()
Macro to add a verify position method to a snit type.
FCFSupport::Station::comment
string comment
The station's comment.
Definition: Station.h:150
FCFSupport::Train::Done
bool Done() const
Return the train's done flag.
Definition: Train.h:278
azatrax::Azatrax::myProductId
unsigned short int myProductId
Product id.
Definition: Azatrax.h:409
azatrax::SR4::status1_union::reservered
unsigned int reservered
reserved bits
Definition: sr4.h:287
azatrax::SR4::Input_4_Enabled
bool Input_4_Enabled() const
Input 4 enabled? Return true if I4 can affect outputs.
Definition: sr4.h:241
Parsers::MRRXtrkCad::MAIN
@ MAIN
Definition: ParserClassesGroup.h:138
azatrax::Azatrax::Azatrax
Azatrax(const char *serialnumber, unsigned short int idProduct, char **outmessage=NULL)
Base constructor.
FCFSupport::TrainMap
map< int, Train *, less< int > > TrainMap
A map of trains, indexed by integer (train index).
Definition: Train.h:388
FCFSupport::Car::CarOwner
const Owner * CarOwner() const
Return the car's owner.
Definition: Car.h:267
FCFSupport::Car::LoadedP
bool LoadedP() const
Is the car loaded?
Definition: Car.h:243
Parsers::TrackGraph::idMap
IdNodeMap idMap
Node Id map.
Definition: TrackGraph.h:717
FCFSupport::Train::NumberOfStops
int NumberOfStops() const
Return the number of stops this train makes.
Definition: Train.h:294
FCFSupport::System::PrintOneCarType
void PrintOneCarType(bool totalsOnly, char carType, const CarType *ct, int &OnLineShippersOfType, int &OffLineShippersOfType, int &OnLineReceiversOfType, int &OffLineReceiversOfType, int &allTotalMoves, int &allTotalAssigns, FCFSupport::PrinterDevice *printer) const
Print one car type.
TTSupport::TimeTableSystem::FindTrainByNumber
Train * FindTrainByNumber(string number) const
Find a train by number (or symbol).
RaildriverIO::GetBlueButton25
bool GetBlueButton25() const
Get Blue Button 25.
Definition: RaildriverIO.h:503
FCFSupport::CarType::Group
char Group() const
Return the car type's group code.
Definition: CarType.h:134
Parsers::TrackGraph::CompressedGraphKruskalMinimumSpanningTree
CompressedEdgePairVector CompressedGraphKruskalMinimumSpanningTree()
Run the kruskal_minimum_spanning_tree algorithm and return a vector of edge pairs.
FCFSupport::System::AddOwner
void AddOwner(const char *initials)
Create a new owner given a set of initials.
Definition: System.h:391
FCFSupport::CarType::operator=
CarType & operator=(CarType &other)
Assignment operaror.
Definition: CarType.h:106
FCFSupport::PDFFileStructures::InformationDirectory::creater
string creater
The creater.
Definition: PDFPrinterSupport.h:1258
BezierBody.h
azatrax::Azatrax::cmd_Q1Q2open
@ cmd_Q1Q2open
(SL2 only) Outputs Q1 & Q2 both set to open circuit (disconnects switch machine #1)
Definition: Azatrax.h:175
Parsers::BezierBodyElt::Pos
Position structure.
Definition: BezierBody.h:111
azatrax::SL2::status1_union::theBits
struct azatrax::SL2::status1_union::@3 theBits
Status byte as bit fields.
TTSupport::Station::SetDuplicateStationIndex
void SetDuplicateStationIndex(int index)
Set the duplication station index.
Definition: Station.h:599
azatrax::Azatrax::SerialNumber
const char * SerialNumber() const
Serial Number.
Definition: Azatrax.h:308
FCFSupport::ShowBannerCallback::ShowBannerCallback
ShowBannerCallback()
Constructor.
Definition: CallBack.h:176
azatrax::SL2::status3_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: sl2.h:229
FCFSupport::System::wayFreight
bool wayFreight
Way freight flag.
Definition: System.h:1030
Parsers::TurnoutBodyElt::theType
TurnoutBodyEltType theType
Element type.
Definition: TurnoutBody.h:112
Parsers::CornuBodyElt::Pos::x
float x
$X$ coordinate.
Definition: CornuBody.h:113
azatrax::Azatrax::cmd_GetStateData
@ cmd_GetStateData
Get State Data (All devices)
Definition: Azatrax.h:193
Parsers::SegVector::ang1
float ang1
Second angle.
Definition: TrackGraph.h:200
FCFSupport::Car::SetType
void SetType(char t)
Set the car type.
Definition: Car.h:180
FCFSupport::System::PrintLocCommon
void PrintLocCommon(FCFSupport::PrinterDevice *printer)
Print a header for all location reports.
FCFSupport::PDFFileStructures::InformationDirectory::modificationDate
time_t modificationDate
The modificationDate.
Definition: PDFPrinterSupport.h:1267
FCFSupport::System::SetPrintem
void SetPrintem(bool flag)
Set the print train enroute switch list.
Definition: System.h:555
Parsers::ParseFile::ParseError
virtual void ParseError(const char *)=0
The parser's error handler, supplied by derived classes.
FCFSupport::Station::AppendIndustry
int AppendIndustry(FCFSupport::Industry *industry)
Append an industry to this station's list of industries.
Definition: Station.h:136
FCFSupport::System::ShowCarsInDivision
void ShowCarsInDivision(const Division *division, const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner) const
Show cars in a specificed division.
FCFSupport::System::FirstDivision
DivisionMap::const_iterator FirstDivision() const
Iterator of the first division in the division map.
Definition: System.h:893
TTSupport::TimeRange::operator=
TimeRange & operator=(const TimeRange &other)
Assign a TimeRange to another TimeRange.
Definition: Station.h:244
Parsers::TrackGraph::Heads
const IntegerList * Heads()
Uncompressed graph heads.
Definition: TrackGraph.h:1115
FCFSupport::LQ24PrinterDevice::ChCodes
ChCodes
Special character codes.
Definition: LQ24Printer.h:168
TTSupport::Train::Read
istream & Read(istream &stream, const CabNameMap cabs)
Read an object from a stream.
FCFSupport::System::SetPrintList
void SetPrintList(bool flag)
Set the print switch list order flag.
Definition: System.h:534
TTSupport::Train::speed
int speed
The train's speed.
Definition: Train.h:463
FCFSupport::LQ24PrinterDevice::PutLine
virtual bool PutLine(const string line)
Print out a string and follow it with a new line sequence.
FCFSupport::PDFFileStructures::FreedObject
A deleted indirect object.
Definition: PDFPrinterSupport.h:278
FCFSupport::Station::Station
Station(const char *n, Division *d, const char *c)
Full constructor.
Definition: Station.h:105
FCFSupport::System::trainLongest
int trainLongest
The longest a train has been.
Definition: System.h:1051
Parsers::TrackGraph::CompressedEdgePairVector
std::vector< CompressedEdgePair > CompressedEdgePairVector
Definition: TrackGraph.h:539
FCFSupport::PDFFileStructures::InformationDirectory::title
string title
The title.
Definition: PDFPrinterSupport.h:1246
FCFSupport::CarType::CarType
CarType()
Default constructor.
Definition: CarType.h:94
FCFSupport::stringVector
vector< string > stringVector
A Vector of strings.
Definition: PathName.h:69
FCFSupport::Division::symbol
char symbol
The division's symbol.
Definition: Division.h:162
TTSupport::StorageTrack::IncludesTime
const Occupied * IncludesTime(double time) const
Return the occupation that includes the specified time;.
Parsers::TrackBody::TrackBody
TrackBody(TrackBodyElt *Element, TrackBody *Next)
Constructor.
Definition: TrackBody.h:145
TTSupport::TimeTableSystem::NumberOfCabs
int NumberOfCabs() const
The nymber of cabs.
Definition: TimeTableSystem.h:626
azatrax::SL2::SetQ3negQ4pos
ErrorCode SetQ3negQ4pos() const
Sets output terminal Q3 to negative, Q4 to positive.
Definition: sl2.h:93
Parsers::MRRXtrkCad::JOINT
@ JOINT
Definition: ParserClassesGroup.h:135
FileEntry::bind
bind(path,...)
Bind function.
RaildriverIO::Wiper
unsigned char Wiper
Wiper switch, 0-255.
Definition: RaildriverIO.h:734
lcc::databuf
listtype databuf
Definition: lcc.tcl:150
TTSupport::Train::AddNoteToTrain
void AddNoteToTrain(int note)
Add a note.
Definition: Train.h:366
FCFSupport::PostScriptPrinterDevice::PutLine
virtual bool PutLine(const string line="")
Print out a string and follow it with a new line sequence.
FCFSupport::PDFFileStructures::CatalogDictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write an object directly.
FCFSupport::CarType::Comment
const char * Comment() const
Return the car type's commentary.
Definition: CarType.h:128
Parsers::ParseFile::buffersize
static const int buffersize
Size of line buffer.
Definition: ParseFile.h:385
lcc::length
int length
Definition: lcc.tcl:49
Parsers::SegVector::length
float length
Length of segment.
Definition: TrackGraph.h:218
YY_MRRXtrkCad_INHERIT
Definition: MRRXtrkCad.tab.h:359
FCFSupport::System::ReadIndustries
bool ReadIndustries(char **outmessage=NULL)
Read in the industries file.
RaildriverIO::PIEngineering
static const unsigned short int PIEngineering
Rail Driver vendor code.
Definition: RaildriverIO.h:666
Parsers::TrackBody::next
TrackBody * next
Next element.
Definition: TrackBody.h:141
Parsers::CornuBodyElt::CornuStraightSegment
@ CornuStraightSegment
S line.
Definition: CornuBody.h:89
azatrax::Azatrax::cmd_Identify_2
@ cmd_Identify_2
Identify LED 2 (MRD2 only)
Definition: Azatrax.h:187
RaildriverIO::GetHeadlight
unsigned char GetHeadlight() const
Get Headlight value (0-255).
Definition: RaildriverIO.h:325
FCFSupport::PDFPrinterDevice::SetTypeSlant
virtual bool SetTypeSlant(TypeSlant slant)
Set the type slant.
lcc::nid
char * nid
Node ID regexp pattern. A Node Id is six bytes as pairs of hex digits separacted by colons (:).
Definition: lcc.tcl:1028
Parsers::LayoutFile::OrigX
float OrigX(int nid) const
Return the $x$ coordinate of the signal base.
Definition: ParseFile.h:521
azatrax::MRD::status1_union::modtype
unsigned int modtype
Module type.
Definition: mrd.h:241
azatrax::Azatrax::idAzatraxVendor
@ idAzatraxVendor
Azatrax vendor id.
Definition: Azatrax.h:277
Parsers::ParseFile::Parse
virtual int Parse()=0
The parser itself, supplied by derived classes.
FCFSupport::SwitchList::AddSwitchListElement
void AddSwitchListElement(const Industry *pickloc, const Car *pickcar, const Train *picktrain, const Train *lasttrain, const Industry *istop)
Add a switch list element for a manifest freight (industry stop).
FCFSupport::System::Random
double Random()
Return a random number between 0.0 and 1.0.
Definition: System.h:575
FCFSupport::System::switchList
SwitchList switchList
Switch lists.
Definition: System.h:1000
FCFSupport::PDFFileStructures::PDFStream
Stream object.
Definition: PDFPrinterSupport.h:654
azatrax::SL2::status2_union::sense_2
unsigned int sense_2
Sense 2.
Definition: sl2.h:217
FCFSupport::Car::SetDone
void SetDone()
Flag this car as done.
Definition: Car.h:276
FCFSupport::Owner
The Owner class describes a car owner.
Definition: Owner.h:67
FCFSupport::TextPrinterDevice::~TextPrinterDevice
virtual ~TextPrinterDevice()
Destructor.
azatrax::Azatrax::stateDataPacket
struct azatrax::Azatrax::StateDataPacket stateDataPacket
FCFSupport::System::TrainByName
Train * TrainByName(const char *name)
Train indexing (by name) function.
Definition: System.h:320
Parsers::TrackGraph::Undefined
@ Undefined
Undefined type.
Definition: TrackGraph.h:511
Parsers::TurnoutBodyElt::pos2
Pos pos2
Second position.
Definition: TurnoutBody.h:143
Parsers::TrackGraph::CompressedNodePositionX
double CompressedNodePositionX(int cnid) const
X Coordinate of a Compressed Node position.
FCFSupport::Division::~Division
~Division()
Destructor.
Definition: Division.h:117
Parsers::ParseFile::ParseFile
ParseFile(const char *filename)
Constructor.
Definition: ParseFile.h:409
FCFSupport::System::NumberOfCars
int NumberOfCars() const
Definition: System.h:382
FCFSupport::PDFFileStructures::Rectangle
A rectangle object.
Definition: PDFPrinterSupport.h:590
FCFSupport::System::NumberOfDivisions
int NumberOfDivisions() const
return the number of divisions loaded.
Definition: System.h:258
lcc::twelvebits
int twelvebits
Definition: lcc.tcl:59
FCFSupport::System::UpperCase
const string UpperCase(const string str) const
Convert a string to all uppercase letters.
Parsers::MRRXtrkCad::T
@ T
Definition: ParserClassesGroup.h:145
Cab.h
FCFSupport::TrainDisplayCallback
Callback to manage a train status display.
Definition: CallBack.h:199
RaildriverIO::theBytes
struct RaildriverIO::@9::bytes theBytes
LabelSelectColor::_destroy
_destroy(path)
Destructor function.
Parsers::BezierBodyElt::segCount
static int segCount
Counter for S and C segments.
Definition: BezierBody.h:97
CTCPanel::verifyOrientation8Method
verifyOrientation8Method()
Macro to add a verify 8-way orientation method to a snit type.
FCFSupport::SwitchListElement::pickLoc
const Industry * pickLoc
The pickup industry.
Definition: SwitchList.h:197
TTSupport::TimeTableSystem::FindCab
Cab * FindCab(string name) const
Find a cab (by name).
Parsers::TrackGraph::CompressedNodeValues::id
int id
Node number.
Definition: TrackGraph.h:770
TTSupport::Stop::StorageTrackName
const char * StorageTrackName() const
Return storage track name.
Definition: Train.h:252
FCFSupport::PDFFileStructures::PageLabelDictionary::UpperLetters
@ UpperLetters
Uppercase letters.
Definition: PDFPrinterSupport.h:830
FCFSupport::PDFFileStructures::PageTree::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write an object directly.
azatrax::Azatrax::GetProductId
static unsigned short int GetProductId(libusb_device *dev, const char *serialnumber, unsigned short int idProductMatch=0)
Return the matching product id for this device and serial number.
lcc::eightbytes
listtype eightbytes
Definition: lcc.tcl:84
FCFSupport::Car::FixedRouteP
bool FixedRouteP() const
Is this car on a fixed route?
Definition: Car.h:261
FCFSupport::System::Printem
bool Printem() const
Print train enroute switch list.
Definition: System.h:551
Parsers::ParseFile::source_file
char * source_file
Name of the source file.
Definition: ParseFile.h:400
Parsers::MRRXtrkCad::L
@ L
Definition: ParserClassesGroup.h:142
azatrax::SL2::status3_union::reserved
unsigned int reserved
Reserved bits.
Definition: sl2.h:241
azatrax::Azatrax::StateDataPacket::commandEcho
uint8_t commandEcho
Command Echo byte.
Definition: Azatrax.h:417
FCFSupport::Division::Area
char Area() const
Return the division's area.
Definition: Division.h:129
FCFSupport::PDFFileStructures::Page::mediaBox
Rectangle * mediaBox
This page's media box.
Definition: PDFPrinterSupport.h:732
FCFSupport::SwitchListElementVector
vector< SwitchListElement > SwitchListElementVector
A vector of switch list elements.
Definition: SwitchList.h:219
lcc::AbstractMessage
AbstractMessage()
Define common variables and accessor methods.
Parsers::CornuBody::Element
const CornuBodyElt * Element() const
Return current element.
Definition: CornuBody.h:273
ScrollTabNotebook::tabrow
tabrow
Row containing the tabs.
Definition: snitScrollNotebook.tcl:34
TTSupport::Occupied::until
double until
The end time of the occupation.
Definition: Station.h:171
Parsers::RouteVec::routeLength
float routeLength
Length of the route.
Definition: TrackGraph.h:332
FCFSupport::Train::shift
int shift
The train's shift.
Definition: Train.h:357
TTSupport::PathName::~PathName
~PathName()
Destructor.
Definition: PathName.h:97
FCFSupport::LQ24PrinterDevice::Put
virtual bool Put(const string text)
Print a string of text.
azatrax::Azatrax
Azatrax I/O Class.
Definition: Azatrax.h:115
FCFSupport::SwitchListElement::SwitchListElement
SwitchListElement()
Default constructor.
Definition: SwitchList.h:88
azatrax::SR4::PulseRelays
ErrorCode PulseRelays(bool Q1, bool Q2, bool Q3, bool Q4, uint8_t duration)
Pulse output relay contacts.
Definition: sr4.h:145
azatrax::MRD::Stopwatch
void Stopwatch(uint8_t &fract, uint8_t &seconds, uint8_t &minutes, uint8_t &hours) const
Stopwatch time.
Definition: mrd.h:217
FCFSupport::PDFFileStructures::Type1FontDictionary::Type1FontDictionary
Type1FontDictionary(const string basefont, int firstchar, int lastchar, IndirectFloatVector *widths_, TypedDictionary *fontdescriptor, TypedDictionary *encoding, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:1073
FCFSupport::Train::TrainType
TrainType
Types of trains.
Definition: Train.h:134
FCFSupport::PDFPrinterDevice::ClosePrinter
virtual bool ClosePrinter(char **outmessage=NULL)
Close the printer.
FCFSupport::System::ResetIndustryStats
void ResetIndustryStats()
Reset industry statistics.
FCFSupport::PrinterDevice::isOpenP
bool isOpenP
Is open flag.
Definition: Printer.h:408
FCFSupport::PDFFileStructures::InformationDirectory::author
string author
The author.
Definition: PDFPrinterSupport.h:1249
azatrax::Azatrax::cmd_Identify_1
@ cmd_Identify_1
Identify LED 1 (All devices)
Definition: Azatrax.h:185
Parsers::TurnoutBodyElt::TurnoutCurveSegment
@ TurnoutCurveSegment
C line.
Definition: TurnoutBody.h:101
Parsers::LayoutFile::LowestNode
int LowestNode() const
Returns the lowest numbered node id.
Definition: ParseFile.h:540
FCFSupport::PDFFileStructures::CrossReferenceTable::~CrossReferenceTable
~CrossReferenceTable()
Destructor.
Definition: PDFPrinterSupport.h:113
azatrax::MRD::ResetStatus
bool ResetStatus() const
Reset status?
Definition: mrd.h:179
TTSupport::StorageTrack::LastOccupied
OccupiedMap::const_iterator LastOccupied() const
Return a const iterator for the last occupation.
Definition: Station.h:418
FCFSupport::PDFFileStructures::FreedObject::FreedObject
FreedObject(unsigned long int objNum, unsigned short int genNum, CrossReferenceTable *tab)
Constructor.
Definition: PDFPrinterSupport.h:286
FCFSupport::PDFFileStructures::PDFNameArray::~PDFNameArray
~PDFNameArray()
Destructor.
Definition: PDFPrinterSupport.h:353
FCFSupport::PDFPrinterDevice::title
string title
Title string.
Definition: PDFPrinter.h:163
FCFSupport::Industry::cars
CarVector cars
The vector of cars at this industry.
Definition: Industry.h:272
yyltype
struct yyltype yyltype
FCFSupport::System::FindIndustryIndex
int FindIndustryIndex(const FCFSupport::Industry *industry) const
Find an industry's index.
Parsers::TrackGraph::CompressGraph
void CompressGraph()
Create a compressed graph.
azatrax::Azatrax::idMRDProduct
@ idMRDProduct
MRD2 Product id.
Definition: Azatrax.h:279
azatrax::SL2::status3_union
Status byte 3 union type (Input control state)
Definition: sl2.h:227
TTSupport::Train::Speed
int Speed() const
Return the train's speed.
Definition: Train.h:347
RaildriverIO::INDEPENDBRK_M
@ INDEPENDBRK_M
Independent Brake lever.
Definition: RaildriverIO.h:109
FCFSupport::Industry::station
Station * station
The station this industry is at.
Definition: Industry.h:275
FCFSupport::System::SetPrintAlpha
void SetPrintAlpha(bool flag)
Set the print alphabetical listing flag.
Definition: System.h:520
Parsers::CornuBodyElt::MakeCurveSegment
static CornuBodyElt * MakeCurveSegment(float r, float x, float y, float a0, float a1)
Create a curve segment (C lines).
Definition: CornuBody.h:165
azatrax::Azatrax::cmd_RestoreLEDFunction
@ cmd_RestoreLEDFunction
Restore LED Function (All devices)
Definition: Azatrax.h:183
azatrax::Azatrax::NumberOfOpenDevices
static int NumberOfOpenDevices()
Open device count.
Definition: Azatrax.h:135
RaildriverIO::ProductCodeId
unsigned char ProductCodeId
Product Code Id, usually 210.
Definition: RaildriverIO.h:760
FCFSupport::TrainDisplayCallback::UpdateTrainDisplay
virtual void UpdateTrainDisplay(string currentStationName, string currentStopName, int trainLength, int numberCars, int trainTons, int trainLoads, int trainEmpties, int trainLongest, int currentStop) const
Update the train display.
Definition: CallBack.h:248
FCFSupport::System::LastDivision
DivisionMap::const_iterator LastDivision() const
Iterator of one past the last division in the division map.
Definition: System.h:896
FCFSupport::LQ24PrinterDevice::OpenPrinter
virtual bool OpenPrinter(const string filename, PageSize pageSize=Letter, char **outmessage=NULL)
Member function to open the printer.
Parsers::TrackGraph::NodeValues::origy
float origy
Y coordinate of the base of the signal.
Definition: TrackGraph.h:631
FCFSupport::Industry::TheCar
FCFSupport::Car * TheCar(int i) const
Return the indexed car at this industry.
Definition: Industry.h:246
TTSupport::TimeTableSystem::SMile
double SMile(int i) const
Return the Ith station's scale mile location.
Definition: TimeTableSystem.h:533
FCFSupport::System::PrintAllCarTypes
void PrintAllCarTypes(bool totalsOnly, FCFSupport::PrinterDevice *printer) const
Print all car types.
TTSupport::StorageTrack::UpdateStoredTrainDeparture
const Occupied * UpdateStoredTrainDeparture(double from, double to, double newDeparture)
Update a train's departure time.
FCFSupport::Car::loadedP
bool loadedP
This car's loaded flag.
Definition: Car.h:395
FCFSupport::PDFFileStructures::PDFStream::WriteDirect
virtual ostream & WriteDirect(ostream &stream) const
Write an object directly.
Parsers::TrackGraph::CompressedEdgeValues
Compressed graph edge values.
Definition: TrackGraph.h:737
RaildriverIO::DIGITAL3_M
@ DIGITAL3_M
Blue Buttons 17-24.
Definition: RaildriverIO.h:146
Parsers::TurnoutBody::TurnoutBody
TurnoutBody(TurnoutBodyElt *e, TurnoutBody *n)
Basic constructor.
Definition: TurnoutBody.h:307
Parsers::TrackGraph::Signal
@ Signal
Signal.
Definition: TrackGraph.h:529
Parsers::TrackGraph::NormalActionScript
const char * NormalActionScript(int nid) const
Return a switchmotor's normal action script.
FCFSupport::System::CarLocationType
CarLocationType
Types of location report.
Definition: System.h:802
FCFSupport::System::carsMovedTwice
int carsMovedTwice
The number of cars moved two times.
Definition: System.h:1081
FCFSupport::PathName::PathSeparator
char PathSeparator() const
Return the pathname separater character.
Parsers::TrackGraph::OrigX
float OrigX(int nid) const
Return the $x$ coordinate of the signal base.
Parsers::TrackGraph::NodeValues::numheads
int numheads
Number of heads.
Definition: TrackGraph.h:622
FCFSupport::System::SetPrintLtwice
void SetPrintLtwice(bool flag)
Set the print a second copy of the switch list order flag.
Definition: System.h:541
azatrax::SL2::status3_union::input_2_enabled
unsigned int input_2_enabled
Input 2 enabled?
Definition: sl2.h:235
TTSupport::Train::stops
StopVector stops
The train's stops.
Definition: Train.h:475
azatrax::Azatrax::sendByte
ErrorCode sendByte(uint8_t commandByte) const
Send a command byte.
Parsers::MRRXtrkCad::MRRXtrkCad
MRRXtrkCad(const char *filename)
The constructor function.
TTSupport::TimeRange::operator>=
bool operator>=(const TimeRange &other) const
Greater than or equal operator.
Definition: Station.h:231
TTSupport::StorageTrack::occupations
OccupiedMap occupations
Map of occupations.
Definition: Station.h:425
FCFSupport::System::ReadCarTypes
bool ReadCarTypes(char **outmessage=NULL)
Read in the car types file.
FCFSupport::LQ24PrinterDevice::ESC
@ ESC
Escape.
Definition: LQ24Printer.h:186
FCFSupport::Station::TheIndustry
FCFSupport::Industry * TheIndustry(int i) const
Return the Ith industry at this station.
Definition: Station.h:128
TTSupport::TrainStationTimes
map< string, StationTimes, less< string > > TrainStationTimes
Map of station times, indexed by train number.
Definition: TimeTableSystem.h:234
RaildriverIO::GetAutoBrake
unsigned char GetAutoBrake() const
Get Auto Brake value (0-255).
Definition: RaildriverIO.h:308
FCFSupport::PathName::operator==
bool operator==(const PathName other) const
Equality operator.
Definition: PathName.h:119
FCFSupport::PrinterDevice::SetTypeSlant
virtual bool SetTypeSlant(TypeSlant slant)
Set the type slant.
Definition: Printer.h:346
FCFSupport::Industry::remLen
int remLen
The remaining length.
Definition: Industry.h:323
Parsers::BezierBodyElt::pos2
Pos pos2
Second position.
Definition: BezierBody.h:120
Parsers::TrackGraph::LowestNode
int LowestNode() const
Returns the lowest numbered node id.
FCFSupport::System::ReadStations
bool ReadStations(istream &stream, char **outmessage=NULL)
Read in the station map.
FCFSupport::PDFFileStructures::IndirectFloatVector::IndirectFloatVector
IndirectFloatVector(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:999
FCFSupport::Car::ClearTrips
void ClearTrips()
Clear the number of trips this car has had.
Definition: Car.h:318
FCFSupport::WorkInProgressCallback::~WorkInProgressCallback
virtual ~WorkInProgressCallback()
Destructor.
Definition: CallBack.h:88
FCFSupport::Car::destination
Industry * destination
This car's destination.
Definition: Car.h:359
FCFSupport::Car::lasttrain
const Train * lasttrain
The last train to handle this car.
Definition: Car.h:350
TTSupport::TimeTableSystem::MakeTimeTableOneTable
bool MakeTimeTableOneTable(ostream &out, TrainList &allTrains, TrainList &forwardTrains, TrainList &backwardTrains, string header, string sectionTOP, char **outmessage=NULL)
Make a time table as a single table.
RaildriverIO::Eventcodes
Eventcodes
Event Codes.
Definition: RaildriverIO.h:174
Parsers::TrackBodyElt::TrackBodyElt
TrackBodyElt(int ind=-1, float X=-1.0, float Y=-1.0, float A=0.0)
Constructor.
Definition: TrackBody.h:93
RaildriverIO::DIGITAL4_M
@ DIGITAL4_M
Blue Buttons 25-28, Zoom, Pan.
Definition: RaildriverIO.h:153
Parsers::TurnoutBodyElt::TurnoutBodyElt
TurnoutBodyElt()
Constructor.
Definition: TurnoutBody.h:165
FCFSupport::PDFFileStructures::Page::resources
ResourceDictionary * resources
The page's resources.
Definition: PDFPrinterSupport.h:729
Parsers::LayoutFile::EdgeLength
float EdgeLength(int nid, int edgenum) const
Returns the length of an edge.
Definition: ParseFile.h:479
Parsers::CornuBodyElt::Pos
Position structure.
Definition: CornuBody.h:111
lcc::complete
@ complete
One frame datagram.
Definition: lcc.tcl:109
Parsers::SegVector::radius
float radius
Radius value.
Definition: TrackGraph.h:194
FCFSupport::System::PrintOneCarInfo
void PrintOneCarInfo(const Car *car, FCFSupport::PrinterDevice *printer) const
Print one car's information.
Parsers::BezierBodyElt::None
@ None
Placeholder.
Definition: BezierBody.h:83
Parsers::TrackGraph::CompressedEdgeLength
float CompressedEdgeLength(int cnid, int edgenum) const
Length of a compressed graph edge.
FCFSupport::Car::Assignments
int Assignments() const
Return the number of assignments this car has had.
Definition: Car.h:324
FCFSupport::Train::stops
vector< StationOrIndustry > stops
List of stops.
Definition: Train.h:342
TTSupport::Stop::Layover
double Layover() const
Return layover period.
Definition: Train.h:192
FCFSupport::System::SystemName
const char * SystemName() const
Return the system name.
Definition: System.h:231
FCFSupport::PrinterDevice::SetTypeSpacing
virtual bool SetTypeSpacing(TypeSpacing spacing)
Set the the spacing.
Definition: Printer.h:338
FCFSupport::PDFPrinterDevice::Tab
virtual bool Tab(int column)
Move to the specified tab column.
FCFSupport::PDFFileStructures::Page::contents
PDFStreamVector contents
This page's contents vector.
Definition: PDFPrinterSupport.h:738
FCFSupport::PDFFileStructures::InformationDirectory::InformationDirectory
InformationDirectory(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:1228
CTCPanel::leverMethods
leverMethods(hasCenter)
Macro to add lever methods to object types.
Parsers::LayoutFile::CompressedNodePositionX
double CompressedNodePositionX(int cnid) const
X Coordinate of a Compressed Node position.
Definition: ParseFile.h:584
TTSupport::TimeTableSystem::SetNote
bool SetNote(int i, string note)
Set the ith note (1-based!).
Definition: TimeTableSystem.h:777
FCFSupport::System::CarTypeReport
CarTypeReport
Types of car type reports.
Definition: System.h:776
TTSupport::Stop::Transit
@ Transit
Definition: Train.h:146
Parsers::TrackBodyElt::UnConnectedTrackEnd
static TrackBodyElt * UnConnectedTrackEnd(float X, float Y, float A)
Create a unconnected track endpoint.
Definition: TrackBody.h:110
azatrax::MRD
MRD I/O Class.
Definition: mrd.h:71
i
include typemaps i
Definition: TclSocketCAN.i:69
Parsers::TurnoutBodyElt::MakeTurnoutJointSegment
static TurnoutBodyElt * MakeTurnoutJointSegment(float x, float y, float a, float l0, float l1, float r, float l)
Create a turnout joint segment (J lines).
Definition: TurnoutBody.h:245
FCFSupport::Car::SetLocation
void SetLocation(Industry *newloc)
Set the location of this car.
Definition: Car.h:306
TTSupport::Station::Write
ostream & Write(ostream &stream) const
Write object to a stream.
Parsers::MRRXtrkCad::INTEGER
@ INTEGER
Definition: ParserClassesGroup.h:109
ForEveryTrain
int ForEveryTrain(Tcl_Interp *interp, TimeTableSystem *timetable, Tcl_Obj *variable, Tcl_Obj *body)
Tcl looping construct for Trains.
RaildriverIO::Digital6
unsigned char Digital6
Cab Buttons, Whistle Switch.
Definition: RaildriverIO.h:757
azatrax::SL2::SetQ1posQ2neg
ErrorCode SetQ1posQ2neg() const
Sets output terminal Q1 to positive, Q2 to negative.
Definition: sl2.h:85
TTSupport::TimeTableSystem::LastCab
CabNameMap::const_iterator LastCab() const
Last cab.
Definition: TimeTableSystem.h:962
FCFSupport::LQ24PrinterDevice
Class for an LQ24 compatible printer.
Definition: LQ24Printer.h:65
yy_MRRXtrkCad_stype::trb
TurnoutBody * trb
Definition: MRRXtrkCad.tab.h:74
FCFSupport::System::originYard
Industry * originYard
Origin Yard.
Definition: System.h:1057
Parsers::TurnoutBodyElt::TheType
TurnoutBodyEltType TheType() const
Type accessor.
Definition: TurnoutBody.h:172
Parsers::TrackGraph::KamadaKawaiSpringLayoutP
bool KamadaKawaiSpringLayoutP
Has CompressedGraphKamadaKawaiSpring been run?
Definition: TrackGraph.h:830
TTSupport::Stop::Origin
@ Origin
Definition: Train.h:146
FCFSupport::System::whitespace
static const string whitespace
String of white space characters.
Definition: System.h:1131
FCFSupport::PDFFileStructures::IndirectObjectDictionary::Size
int Size() const
Return the number of elements in this dictionary.
Definition: PDFPrinterSupport.h:434
TTSupport::PathName::PathName
PathName()
Default constructor.
Definition: PathName.h:79
FCFSupport::PDFFileStructures::PageLabelDictionary::start
int start
Page numbering start.
Definition: PDFPrinterSupport.h:868
FCFSupport::PauseCallback
The Pause callback.
Definition: CallBack.h:264
asctime_r
char * asctime_r(const struct tm *, char *)
CarType.h
FCFSupport::CarType::Type
const char * Type() const
Return the car type name.
Definition: CarType.h:131
azatrax::Azatrax::MyProductId
unsigned short int MyProductId() const
My product code.
Definition: Azatrax.h:326
FCFSupport::PathName::operator+=
PathName & operator+=(const PathName other)
Append a pathname.
FCFSupport::PDFFileStructures::Page::~Page
~Page()
Destructor.
Definition: PDFPrinterSupport.h:709
Parsers::TurnoutBody::CleanUpElement
void CleanUpElement()
Free up memory.
Definition: TurnoutBody.h:291
TTSupport::Stop::~Stop
~Stop()
Destructor.
Definition: Train.h:189
FCFSupport::Train::Type
TrainType Type() const
Return the train's type.
Definition: Train.h:281
azatrax::MRD::~MRD
~MRD()
Base destructor.
Definition: mrd.h:104
Parsers::MRRXtrkCad
MRRXtrkCad parser class.
Definition: ParserClassesGroup.h:103
FCFSupport::LQ24PrinterDevice::NewPage
virtual bool NewPage(const string heading="")
Perform a page feed and print a heading.
OldCreateTimeTable
TimeTableSystem * OldCreateTimeTable(const char *filename, char **outmessage)
Tcl constructor to create a time table system from an existing file.
FCFSupport::CarType::~CarType
~CarType()
Destructor.
Definition: CarType.h:125
azatrax::SR4::status3_union::input_4_enabled
unsigned int input_4_enabled
Input 4 enabled?
Definition: sr4.h:321
Parsers::MRRXtrkCad::STRING
@ STRING
Definition: ParserClassesGroup.h:111
FCFSupport::Train::Unknown
@ Unknown
An unknown type of train.
Definition: Train.h:137
TTSupport::PathName::operator+
PathName operator+(const PathName other)
Concatenate pathnames.
FCFSupport::CarGroup::Description
const char * Description() const
Return the descrition string.
Definition: CarType.h:215
FCFSupport::Car::plate
int plate
This car's clearance plate.
Definition: Car.h:374
azatrax::Azatrax::cmd_OutputRelayOn
@ cmd_OutputRelayOn
(SR4 only) 2 bytes - Sets output relay contacts to 'on' state.
Definition: Azatrax.h:226
RaildriverIO::NONE
@ NONE
No bits set.
Definition: RaildriverIO.h:178
FCFSupport::PDFFileStructures::IndirectObject::WriteDirect
virtual ostream & WriteDirect(ostream &stream) const =0
Write an object directly.
FCFSupport::PDFFileStructures::InformationDirectory::producer
string producer
The producer.
Definition: PDFPrinterSupport.h:1261
FCFSupport::Division::AppendStation
void AppendStation(FCFSupport::Station *station)
Append an additional station to this division.
Definition: Division.h:143
FCFSupport::TextPrinterDevice::NewPage
virtual bool NewPage(const string heading="")
Perform a page feed and print a heading.
Parsers::MRRXtrkCad::G
@ G
Definition: ParserClassesGroup.h:147
azatrax::Azatrax::cmd_OutputRelayOff
@ cmd_OutputRelayOff
2 bytes - Sets output relay contacts to 'off' state.
Definition: Azatrax.h:217
Parsers::MRRXtrkCad::B
@ B
Definition: ParserClassesGroup.h:139
Parsers::IntegerList::ElementP
bool ElementP(int v) const
Is value in the list?
Definition: IntegerList.h:149
FCFSupport::System::trim
string trim(string line) const
Helper utility function to trim white space off the ends of a string.
FCFSupport::System::printAlpha
bool printAlpha
Flag for printing alphabetical lists.
Definition: System.h:1105
TTSupport::StorageTrack::FirstOccupied
OccupiedMap::const_iterator FirstOccupied() const
Return a const iterator for the first occupation.
Definition: Station.h:415
Parsers::CornuBodyElt::MakeStraightSegment
static CornuBodyElt * MakeStraightSegment(float x1, float y1, float x2, float y2)
Create a straight segment (S lines).
Definition: CornuBody.h:145
Parsers::MRRXtrkCad::CurrentScale
double CurrentScale
Definition: ParserClassesGroup.h:191
FCFSupport::CarVector
vector< Car * > CarVector
A vector of cars.
Definition: Industry.h:67
Parsers::LayoutFile::IsNodeP
bool IsNodeP(int nid) const
Tests if a node id exists in the graph.
Definition: ParseFile.h:461
RaildriverIO::HEADLIGHT
@ HEADLIGHT
Headlight switch.
Definition: RaildriverIO.h:222
TTSupport::Train::NumberOfStops
int NumberOfStops() const
Return the number of stops.
Definition: Train.h:432
RaildriverIO::GetThrottle
unsigned char GetThrottle() const
Get Throttle value (0-255).
Definition: RaildriverIO.h:303
azatrax::Azatrax::OpenDevice
static Azatrax * OpenDevice(const char *serialnumber, unsigned short int idProduct=0, char **outmessage=NULL)
Open an Azatrax device by serial number.
FCFSupport::PDFFileStructures::IndirectObject
Indirect object base class.
Definition: PDFPrinterSupport.h:153
FCFSupport::PDFFileStructures::PageLabelTree::nums
PageLabelDictionaryNumMap nums
Num nodes.
Definition: PDFPrinterSupport.h:939
FCFSupport::Car::mirrorP
bool mirrorP
This car's mirror flag.
Definition: Car.h:398
azatrax::Azatrax::send3Bytes
ErrorCode send3Bytes(uint8_t commandByte, uint8_t byte2, uint8_t byte3) const
Send a command bytewith 2 data bytes.
lcc::fifteenbits
int fifteenbits
Definition: lcc.tcl:64
FCFSupport::PDFFileStructures::TypedDictionary::~TypedDictionary
~TypedDictionary()
Destructor.
Definition: PDFPrinterSupport.h:378
RaildriverIO::rdriverdev
hid_device * rdriverdev
Rail Driver Device.
Definition: RaildriverIO.h:684
FCFSupport::Owner::Owner
Owner(const char *i, const char *n, const char *c)
The full constructor initalizes the class instance from user supplied parameters.
Definition: Owner.h:99
FCFSupport::CarType::CarType
CarType(CarType &other)
Copy constructor.
Definition: CarType.h:98
Parsers::ParseFile
Virtual base class for file-based parsers.
Definition: ParseFile.h:372
FCFSupport::WorkInProgressCallback::ProgressStart
virtual void ProgressStart(const string Message) const
Start up the work in progress display.
Definition: CallBack.h:94
FCFSupport::System::ShowCarsNotMoved
void ShowCarsNotMoved(const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner) const
Display cars not moved.
Parsers::TrackBody::element
TrackBodyElt * element
Current element.
Definition: TrackBody.h:138
Parsers::LayoutFile::NormalActionScript
const char * NormalActionScript(int nid) const
Return a switchmotor's normal action script.
Definition: ParseFile.h:508
Parsers::LayoutFile::EdgeIndex
int EdgeIndex(int nid, int edgenum) const
Returns the node id of the specificed edge of the node.
Definition: ParseFile.h:467
azatrax::Azatrax::PacketCount
uint8_t PacketCount() const
Packet count.
Definition: Azatrax.h:303
Parsers::MRRXtrkCad::CURRENT
@ CURRENT
Definition: ParserClassesGroup.h:127
FCFSupport::PDFFileStructures::PageLabelDictionary::NumberStyle
NumberStyle
Numbering style.
Definition: PDFPrinterSupport.h:815
FCFSupport::Industry::AssignLen
int AssignLen() const
Return the assignable amount of track at this industry.
Definition: Industry.h:212
FCFSupport::System::FirstStation
StationMap::const_iterator FirstStation() const
Iterator of the first station in the station map.
Definition: System.h:899
RaildriverIO::GetAlert
bool GetAlert() const
Get Alert.
Definition: RaildriverIO.h:601
Parsers::TrackBody::ConsTrackBody
static TrackBody * ConsTrackBody(TrackBodyElt *tbe, TrackBody *tb)
Prepend a track endpoint.
Definition: TrackBody.h:152
FCFSupport::System::LastStation
StationMap::const_iterator LastStation() const
Iterator of one past the last station in the station map.
Definition: System.h:902
TTSupport::StationTimes::StationTimes
StationTimes(double a=-1, double d=-1, Stop::FlagType f=Stop::Transit)
Constructor: create an entry for a time table cell.
Definition: TimeTableSystem.h:176
RaildriverIO::GetBlueButton14
bool GetBlueButton14() const
Get Blue Button 14.
Definition: RaildriverIO.h:426
LabelComboBox
This is a specialized form of the LabelFrame widget containing a ComboBox Widget.
Definition: labelcombobox.tcl:31
FCFSupport::PDFFileStructures::InformationDirectory::subject
string subject
The subject.
Definition: PDFPrinterSupport.h:1252
FCFSupport::PathName::PathName
PathName(string p)
Constructor, given a STL basic_string.
Definition: PathName.h:93
FCFSupport::System::RestartLoop
void RestartLoop()
Reset loop variables.
FCFSupport::Car::SetAssignments
void SetAssignments(int a)
Set the number of assignments this car has had.
Definition: Car.h:327
Parsers::TurnoutBodyElt::MakeTurnoutEnd
static TurnoutBodyElt * MakeTurnoutEnd(TrackBodyElt *tbe)
Create an endpoint (T or E lines).
Definition: TurnoutBody.h:175
FCFSupport::TextPrinterDevice::Tab
virtual bool Tab(int column)
Tab over to the specified column.
CallBack.h
Parsers::TrackGraph::EdgeValues::index
int index
Index of next segment.
Definition: TrackGraph.h:550
FCFSupport::System::ReportAnalysis
void ReportAnalysis(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL) const
Industry analysis report.
FCFSupport::TextPrinterDevice
Derived class for printing on generic plain text printers.
Definition: TextPrinter.h:67
FCFSupport::SwitchList::PickTrainEq
bool PickTrainEq(int Gx, const Train *Tx) const
Is the selected element for the specificed train?
TTSupport::OptionHashMap
std::unordered_map< const char *, std::string, hash, eqstr > OptionHashMap
Definition: TimeTableSystem.h:137
FCFSupport::System::FindStationByName
const FCFSupport::Station * FindStationByName(string name, string comment) const
Station indexing (by name) function.
FCFSupport::PostScriptPrinterDevice::SetTypeWeight
virtual bool SetTypeWeight(TypeWeight weight)
Set the type weight.
FCFSupport::PrinterDevice::Roman
@ Roman
Upright.
Definition: Printer.h:330
FCFSupport::System::totalTons
int totalTons
The total number of tons.
Definition: System.h:1021
FCFSupport::PrinterDevice::Italic
@ Italic
Italic.
Definition: Printer.h:333
FCFSupport::System::GlobStringMatchHelper
bool GlobStringMatchHelper(string::const_iterator string_i, string::const_iterator string_e, string::const_iterator pattern_i, string::const_iterator pattern_e) const
Helper function for glob string matching.
FileEntry::_path_command
_path_command(path, cmd, larg)
Path command for this megawidget.
Parsers::MRRXtrkCad::_VERSION
@ _VERSION
Definition: ParserClassesGroup.h:118
FCFSupport::System::indScrapYard
const FCFSupport::Industry indScrapYard
The pointer to the scrapyard.
Definition: System.h:1134
TTSupport::StationTimes::Arrival
double Arrival() const
Accessor for the arrival time.
Definition: TimeTableSystem.h:202
FCFSupport::SwitchList::theList
SwitchListElementVector theList
The switch list vector.
Definition: SwitchList.h:309
TTSupport::eqstr::operator()
bool operator()(const char *s1, const char *s2) const
Definition: TimeTableSystem.h:125
Parsers::CornuBody::CornuSegmentCount
int CornuSegmentCount()
Count segments (S, C, and J lines).
Definition: CornuBody.h:247
FCFSupport::PDFFileStructures::FreedObject::~FreedObject
virtual ~FreedObject()
Destructor.
Definition: PDFPrinterSupport.h:294
lcc::uint32
int uint32
Definition: lcc.tcl:79
FCFSupport::PDFFileStructures::ResourceDictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write the elements of a dictionary.
Parsers::TrackGraph::CompressedNodeValues::rawnode
Node rawnode
Uncompressed head node for this compressed node.
Definition: TrackGraph.h:773
FCFSupport::System::TrainManifestPickups
void TrainManifestPickups(Train *train, bool boxMove, int Px, CarVector &consist, bool &didAction, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Pick up cars for a manifest freight train.
FCFSupport::CarGroup::MaxCarGroup
@ MaxCarGroup
The maximum number of car groups.
Definition: CarType.h:179
TTSupport::TimeTableSystem::MakeTimeTableOneTableStationsLeft
bool MakeTimeTableOneTableStationsLeft(ostream &out, TrainList &trains, string header, string sectionTOP, char **outmessage=NULL)
Make a time table as a single table, with the stations on the left (single direction trains).
ParseFile.h
Parsers::TurnoutBodyElt
Turnout body elements: T, E, P, S, C, and J lines are collected.
Definition: TurnoutBody.h:82
TTSupport::TimeTableSystem::WriteNewTimeTableFile
bool WriteNewTimeTableFile(string filename="TimeTableFile.tt", bool setfilename=false, char **outmessage=NULL)
Write out a Time Table System to a new file.
FCFSupport::Industry::Industry
Industry()
Default constructor.
Definition: Industry.h:94
FCFSupport::System::StatsPeriod
int StatsPeriod() const
Return the current stats period.
Definition: System.h:465
FCFSupport::TextPrinterDevice::OpenPrinter
virtual bool OpenPrinter(const string filename, PageSize pageSize=Letter, char **outmessage=NULL)
Member function to open the printer.
FCFSupport::LogMessageCallback::MessageType
MessageType
The three types of messages.
Definition: CallBack.h:129
Parsers::TrackGraph::valid_heads
bool valid_heads
Flag to indicate if heads is valid.
Definition: TrackGraph.h:723
YY_MRRXtrkCad_ERROR_BODY
#define YY_MRRXtrkCad_ERROR_BODY
Definition: MRRXtrkCad.tab.h:341
Parsers::MRRXtrkCad::TURNOUT
@ TURNOUT
Definition: ParserClassesGroup.h:131
YY_MRRXtrkCad_CONSTRUCTOR_PARAM
#define YY_MRRXtrkCad_CONSTRUCTOR_PARAM
Definition: MRRXtrkCad.tab.h:50
FCFSupport::System::carsMovedThree
int carsMovedThree
The number of cars moved three times.
Definition: System.h:1084
RaildriverIO::GetBlueButton19
bool GetBlueButton19() const
Get Blue Button 19.
Definition: RaildriverIO.h:461
FCFSupport::System::NextShift
int NextShift()
Increment the shift number.
Definition: System.h:418
ForEveryStation
int ForEveryStation(Tcl_Interp *interp, TimeTableSystem *timetable, Tcl_Obj *variable, Tcl_Obj *body)
Tcl looping construct for Stations.
FCFSupport::System::FindIndustry
IndustryMap::iterator FindIndustry(Industry *industry)
Find an industry in the industry map.
FCFSupport::LQ24PrinterDevice::printerStream
ofstream printerStream
Output stream.
Definition: LQ24Printer.h:145
Parsers::TrackGraph::EdgeValues
Uncompressed graph edge values.
Definition: TrackGraph.h:547
Parsers::TurnoutBody::ConsTurnoutBody
static TurnoutBody * ConsTurnoutBody(TurnoutBodyElt *trbe, TurnoutBody *trb)
Alternitive constructor function.
Definition: TurnoutBody.h:310
TTSupport::TimeTableSystem::filepath
PathName filepath
The pathname of the file the system was loaded from.
Definition: TimeTableSystem.h:1113
FCFSupport::System::ReportLocDivision
void ReportLocDivision(DivisionMap::const_iterator Dx, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL)
Print a location report for one division.
FCFSupport::PDFFileStructures::PageLabelDictionary::Decimal
@ Decimal
Decimal arabic numerals.
Definition: PDFPrinterSupport.h:821
FCFSupport::PDFFileStructures::FontDictionary::FontDictionary
FontDictionary(const string subtype, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:954
TTSupport::Occupied::trainnum2
string trainnum2
The train that departs.
Definition: Station.h:165
FCFSupport::CarTypeMap
map< char, CarType *, less< char > > CarTypeMap
A map of car types indexed by type character.
Definition: CarType.h:158
FCFSupport::PDFFileStructures::TypedDictionary::type
string type
The dictionary's type name.
Definition: PDFPrinterSupport.h:395
Parsers::LayoutFile::ParseError
virtual void ParseError(const char *m)
Parse error handler.
azatrax::SL2::status1_union::motor_1_state
unsigned int motor_1_state
Motor 1 state.
Definition: sl2.h:199
Parsers::TrackGraph::NodeValues::offscript
char * offscript
Off action script.
Definition: TrackGraph.h:637
Parsers::TurnoutBodyElt::None
@ None
Placeholder.
Definition: TurnoutBody.h:89
Parsers::TrackBodyElt::~TrackBodyElt
~TrackBodyElt()
Destructor.
Definition: TrackBody.h:97
FileEntry
This is a specialized form of the LabelEntry widget intended for selecting file names.
Definition: fileentry.tcl:50
FCFSupport::PDFPrinterDevice::CreateNewStream
bool CreateNewStream()
Create new stream.
FCFSupport::PDFFileStructures::Type1FontDictionary::Type1FontDictionary
Type1FontDictionary(const string basefont, int firstchar, int lastchar, IndirectFloatVector *widths_, TypedDictionary *fontdescriptor, const string encoding="", unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:1045
FCFSupport::PDFFileStructures::Type1FontDictionary::encodingName
string encodingName
Encoding as a name.
Definition: PDFPrinterSupport.h:1118
Parsers::TrackGraph::EdgeValues::EdgeValues
EdgeValues(int _index=-1, float _x=0.0, float _y=0.0, float _a=0.0, float _length=0.0)
Default constructor.
Definition: TrackGraph.h:565
FCFSupport::TrainDisplayCallback::TrainDisplayCallback
TrainDisplayCallback()
Constructor.
Definition: CallBack.h:205
FCFSupport::CarGroup::Group
char Group() const
Return the group code.
Definition: CarType.h:212
FCFSupport::Car::IncrmentMovementsThisSession
void IncrmentMovementsThisSession()
Increment the number of movements this session.
Definition: Car.h:300
YY_MRRXtrkCad_MEMBERS
#define YY_MRRXtrkCad_MEMBERS
Definition: MRRXtrkCad.tab.h:56
azatrax::Azatrax::StateDataPacket::status4
uint8_t status4
Status byte 4 (SR4-U, SL2-U) / Stopwatch seconds (MRD2 only)
Definition: Azatrax.h:433
RaildriverIO::GetBlueButton8
bool GetBlueButton8() const
Get Blue Button 8.
Definition: RaildriverIO.h:384
Parsers::CornuBody::ConsCornuBody
static CornuBody * ConsCornuBody(CornuBodyElt *trbe, CornuBody *trb)
Alternitive constructor function.
Definition: CornuBody.h:218
LabelSpinBox::_destroy
_destroy(path)
Destructor function.
FCFSupport::Industry::hazard
char hazard
The hazard type character.
Definition: Industry.h:332
TTSupport::Stop::TheCab
Cab * TheCab() const
Return the cab.
Definition: Train.h:209
FCFSupport::PathName::pathname
string pathname
The pathname string.
Definition: PathName.h:189
FCFSupport::PDFFileStructures::PageLabelDictionaryNumMap
map< int, PageLabelDictionary *, less< int > > PageLabelDictionaryNumMap
Map of PageLabelDictionary numbers.
Definition: PDFPrinterSupport.h:876
FCFSupport::PDFFileStructures::Page::AppendStream
void AppendStream(PDFStream *s)
Append a stream to the page.
Definition: PDFPrinterSupport.h:713
TTSupport::TimeTableSystem::ComputeTimes
void ComputeTimes(TrainTimesAtStation &timesAtStations, TrainList &trains)
Precompute station times, given a list of trains.
FCFSupport::System::NumberOfIndustries
int NumberOfIndustries() const
Return the number of industries loaded.
Definition: System.h:332
FCFSupport::PrinterDevice::Double
@ Double
Double wide characters.
Definition: Printer.h:313
FCFSupport::Station::industries
vector< Industry * > industries
The list of industries at this station.
Definition: Station.h:156
FCFSupport::Train::Train
Train(const char *n, const char *dl, const char *ct, const char *descr, int sh, int mc, int mcl, int mw, int ml, int od, bool p, bool d, TrainType t)
Full constructor.
Definition: Train.h:217
FCFSupport::PDFFileStructures::Rectangle::WriteDirect
virtual ostream & WriteDirect(ostream &stream) const
Write an object directly.
Definition: PDFPrinterSupport.h:628
FCFSupport::PDFFileStructures::IndirectObject::~IndirectObject
virtual ~IndirectObject()
Destructor.
Definition: PDFPrinterSupport.h:173
FCFSupport::PDFPrinterDevice::PutLine
virtual bool PutLine(const string line="")
Put a line of text.
FCFSupport::System::TrainPrintFinalSummary
void TrainPrintFinalSummary(Train *train, FCFSupport::PrinterDevice *printer)
Print a train's final summary.
FCFSupport::LQ24PrinterDevice::currentWeight
TypeWeight currentWeight
Current weight.
Definition: LQ24Printer.h:157
FCFSupport::System::TrainPrintTown
void TrainPrintTown(const FCFSupport::Train *train, const FCFSupport::Station *curStation, FCFSupport::PrinterDevice *printer)
Print the town a train is in.
azatrax::SR4::status2_union::reserved
unsigned int reserved
Reserved bits.
Definition: sr4.h:305
Parsers::BezierBodyElt
Bezier Body elements: T, E, S, and C lines are collected.
Definition: BezierBody.h:76
FCFSupport::Division::home
Industry * home
The division's home yard.
Definition: Division.h:159
RaildriverIO::Throttle
unsigned char Throttle
Throttle / Dynamic Brake lever, 0-255.
Definition: RaildriverIO.h:722
FCFSupport::Car::Plate
int Plate() const
Return the car's clearence plate.
Definition: Car.h:219
TTSupport::Station::FirstStorageTrack
StorageTrackMap::const_iterator FirstStorageTrack() const
Return a const_iterator for the first element in the storage track map.
Definition: Station.h:670
FCFSupport::LQ24PrinterDevice::currentColumnFraction
double currentColumnFraction
Current column fraction.
Definition: LQ24Printer.h:151
FCFSupport::Owner::operator=
Owner & operator=(Owner &other)
The Assignment operator copies the contents of another Owner to this one.
Definition: Owner.h:86
Tcl_Result
apply int Tcl_Result
Definition: TimeTableSystemTcl.h:40
FCFSupport::CarGroup
Car group class.
Definition: CarType.h:165
FCFSupport::PDFFileStructures::FontDictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write this dictionary's elements.
Definition: PDFPrinterSupport.h:975
Parsers::TurnoutBody::TurnoutEnds
TrackBody * TurnoutEnds()
Create a track endpoint list.
Definition: TurnoutBody.h:318
METERSperMM
const double METERSperMM
Definition: MRRXtrkCad.tab.h:38
RaildriverIO::GetPanLeft
bool GetPanLeft() const
Get Pan Left.
Definition: RaildriverIO.h:566
azatrax::Azatrax::StateDataPacket::operatingMode
uint8_t operatingMode
Operating mode (MRD2 only)
Definition: Azatrax.h:441
yy_MRRXtrkCad_stype::sval
char * sval
Definition: MRRXtrkCad.tab.h:70
FCFSupport::System::totalLoads
int totalLoads
The total number of loads.
Definition: System.h:1018
Parsers::LayoutFile::CompressedGraphPrimMinimumSpanningTree
TrackGraph::CompressedEdgePairVector CompressedGraphPrimMinimumSpanningTree()
Run the prim_minimum_spanning_tree algorithm and return a vector of edge pairs.
Definition: ParseFile.h:605
Parsers::MRRXtrkCad::scanEol
bool scanEol
Definition: ParserClassesGroup.h:191
Parsers::MRRXtrkCad::STRUCTURE
@ STRUCTURE
Definition: ParserClassesGroup.h:128
azatrax::MRD::status2_union::externallyChanged
unsigned int externallyChanged
Externally Changed.
Definition: mrd.h:257
FCFSupport::PathName::operator<=
bool operator<=(const PathName other) const
Less than or equal operator.
Definition: PathName.h:137
TTSupport::TimeTableSystem::NumberOfTrains
int NumberOfTrains() const
Return the number of trains.
Definition: TimeTableSystem.h:741
Parsers::CornuBodyElt
Cornu Body elements: T, E, S, and C lines are collected.
Definition: CornuBody.h:76
FCFSupport::Car::Divisions
const char * Divisions() const
Return the car's division list.
Definition: Car.h:203
Parsers::TrackGraph::CompressedEdgeValues::CompressedEdgeValues
CompressedEdgeValues(float _length=0.0)
Default constructor.
Definition: TrackGraph.h:746
Parsers::CornuBody::CornuBody
CornuBody(CornuBodyElt *e, CornuBody *n)
Basic constructor.
Definition: CornuBody.h:216
TTSupport::StationTimes::StationTimes
StationTimes(const StationTimes &other)
Copy constructor: create an entry for a time table cell from an existing StationTimes object.
Definition: TimeTableSystem.h:185
Parsers::SegVector
Segemnt structure.
Definition: TrackGraph.h:161
FCFSupport::System::SaveCars
bool SaveCars(char **outmessage=NULL)
Save cars (and stats).
Parsers::MRRXtrkCad::M
@ M
Definition: ParserClassesGroup.h:143
FCFSupport::System::FirstOwner
OwnerMap::const_iterator FirstOwner() const
Iterator of the first owner in the owner map.
Definition: System.h:923
FCFSupport::PDFPrinterDevice::maxLines
int maxLines
Maximum number of lines.
Definition: PDFPrinter.h:175
FCFSupport::Train::print
bool print
The print flag for this train.
Definition: Train.h:375
azatrax::SR4::~SR4
~SR4()
Definition: sr4.h:84
Parsers::TurnoutBodyElt::GetTurnoutCurveSegment
int GetTurnoutCurveSegment(float &r, float &x, float &y, float &a0, float &a1) const
Fetch turnout curve segment data.
Definition: TurnoutBody.h:236
FCFSupport::PDFFileStructures::QuotePDFString
string QuotePDFString(const string &str)
Quote a string (protect special character with a backslash).
FCFSupport::System::carTypesFile
PathName carTypesFile
Full pathname of the car types file.
Definition: System.h:961
Owner.h
FCFSupport::PrinterDevice::NewPage
virtual bool NewPage(const string heading="")
Perform a page feed and print a heading.
Definition: Printer.h:356
FCFSupport::PDFFileStructures::Type1FontDictionary::lastChar
int lastChar
Last character in widths array.
Definition: PDFPrinterSupport.h:1109
TTSupport::Station::FindTrackTrainIsStoredOn
StorageTrack * FindTrackTrainIsStoredOn(string trainNumber, double fromtime, double totime)
Find track a train is stored on.
FCFSupport::CarType::type
string type
The type name.
Definition: CarType.h:145
RaildriverIO::DIGITAL4
@ DIGITAL4
Blue Buttons 25-28, Zoom, Pan.
Definition: RaildriverIO.h:247
FCFSupport::System::carsInTransit
int carsInTransit
The number of cars in transit.
Definition: System.h:1093
FCFSupport::System::IndustryTakesCar
bool IndustryTakesCar(Industry *Ix, Car *Cx)
Check if an industry takes a certain car.
TTSupport::TimeTableSystem::DuplicateStationIndex
int DuplicateStationIndex(int i) const
The duplicate station index for a given station.
Definition: TimeTableSystem.h:555
SocketCAN
int SocketCAN(Tcl_Interp *interp, const char *candev)
Open a CAN Socket.
FCFSupport::Car::SetPlate
void SetPlate(int p)
Set the car's clearence plate.
Definition: Car.h:222
azatrax::Azatrax::cmd_Q3Q4open
@ cmd_Q3Q4open
(SL2 only) Outputs Q3 & Q4 both set to open circuit (disconnects switch machine #1)
Definition: Azatrax.h:181
FCFSupport::SwitchList::lastIndex
int lastIndex
The last index.
Definition: SwitchList.h:318
Parsers::LayoutFile::CompressedGraphCircleLayout
void CompressedGraphCircleLayout(double radius)
Run the BGL circle_graph_layout for a given radius.
Definition: ParseFile.h:590
TTSupport::Occupied::TrainNum2
const char * TrainNum2() const
Return the train that departs.
Definition: Station.h:119
FCFSupport::SwitchList
The global switch list structure.
Definition: SwitchList.h:226
FCFSupport::System::printList
bool printList
Flag for printing train switch lists.
Definition: System.h:1111
FCFSupport::System::FindTrainByName
const Train * FindTrainByName(const char *name) const
Find a train by its name.
Definition: System.h:325
Parsers::LayoutFile::TurnoutNumber
int TurnoutNumber(int nid) const
Return a switchmotor's turnout number.
Definition: ParseFile.h:499
lcc::MTIHeader
MTI Header type.
Definition: lcc.tcl:334
Parsers::MRRXtrkCad::yyparse
int yyparse(void)
Parsers::IntegerList::Next
const IntegerList * Next() const
Next pointer accessor (Const version).
Definition: IntegerList.h:142
azatrax::Azatrax::cmd_SetChan1
@ cmd_SetChan1
Set channel 1 (MRD2 only)
Definition: Azatrax.h:161
TTSupport::Train::departure
int departure
Departure time.
Definition: Train.h:472
azatrax::SR4::status2_union::sense_3
unsigned int sense_3
Sense 3.
Definition: sr4.h:301
FCFSupport::System::trainIndex
TrainNameMap trainIndex
Train name map.
Definition: System.h:979
FCFSupport::PostScriptPrinterDevice::needPageHeader
bool needPageHeader
Flag to let us know if we need a page header,.
Definition: PostScriptPrinter.h:161
FCFSupport::SwitchListElement::pickCar
const Car * pickCar
The car picked up.
Definition: SwitchList.h:200
azatrax::Azatrax::_InitSize
@ _InitSize
Definition: Azatrax.h:266
FCFSupport::WorkInProgressCallback::WorkInProgressCallback
WorkInProgressCallback()
Constructor.
Definition: CallBack.h:83
FCFSupport::Car::SetMarks
void SetMarks(string m)
Set the car's reporting marks.
Definition: Car.h:189
azatrax::MRD::ResetStopwatch
ErrorCode ResetStopwatch() const
Reset Stopwatch.
Definition: mrd.h:147
TTSupport::Train::NumberOfNotes
int NumberOfNotes() const
Number of notes.
Definition: Train.h:353
FCFSupport::Car::SetNumber
void SetNumber(string n)
Set the car's number.
Definition: Car.h:199
FCFSupport::DivisionMap
map< int, Division *, less< int > > DivisionMap
A map of divisions, by integer index (division index).
Definition: Division.h:175
FCFSupport::PDFFileStructures::IndirectObject::generationNumber
unsigned short int generationNumber
The generation number.
Definition: PDFPrinterSupport.h:262
FCFSupport::System::ranAllTrains
int ranAllTrains
The ran all trains flag.
Definition: System.h:1012
TTSupport::Cab::Cab
Cab(string name_="", string color_="")
Construct a new cab.
Definition: Cab.h:85
Parsers::IntegerList::CopyList
static IntegerList * CopyList(const IntegerList *src)
Definition: IntegerList.h:120
FCFSupport::System::industriesFile
PathName industriesFile
Full pathname of the industries file.
Definition: System.h:949
azatrax::Azatrax::~Azatrax
~Azatrax()
Base destructor.
FCFSupport::Division::name
string name
The name of the division.
Definition: Division.h:153
TTSupport::Station::SMile
double SMile() const
Return the scale mile of the station.
Definition: Station.h:588
Parsers::TrackGraph::IdNodeMap
std::map< int, Node > IdNodeMap
Type of Node Id map.
Definition: TrackGraph.h:710
FCFSupport::System::IndustryIndex
int IndustryIndex(const FCFSupport::Industry *indus) const
Return an industry's index.
FCFSupport::System::messageBuffer
char messageBuffer[2048]
Message buffer, used for error messages mostly.
Definition: System.h:1123
FCFSupport::CarGroup::operator=
CarGroup & operator=(CarGroup &other)
Assignment operator.
Definition: CarType.h:196
Parsers::TurnoutBodyElt::theEnd
TrackBodyElt * theEnd
Pointer to T or E line data.
Definition: TurnoutBody.h:115
FCFSupport::PrinterDevice::PageSize
PageSize
Page size selection, for those printers that support different page sizes.
Definition: Printer.h:220
TTSupport::StorageTrack::StorageTrack
StorageTrack(string name_="Track 0")
Construct a storage track.
Definition: Station.h:294
FileEntry::configure
configure(path,...)
Configuration procedure: configure one or more options for this widget.
azatrax::SR4::status2_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: sr4.h:293
azatrax::MRD::status1_union::theBits
struct azatrax::MRD::status1_union::@1 theBits
Status byte as bit fields.
TTSupport::hash::operator()
std::size_t operator()(const char *s) const
Definition: TimeTableSystem.h:107
Parsers::TrackGraph::EdgeA
float EdgeA(int nid, int edgenum) const
Returns the angle of the specificed edge of the node.
azatrax::SL2::status3_union::input_3_enabled
unsigned int input_3_enabled
Input 3 enabled?
Definition: sl2.h:237
TTSupport::PathName::operator<
bool operator<(const PathName other) const
Less than operator.
Definition: PathName.h:121
FCFSupport::PDFFileStructures::FontDictionary::WriteFontType
ostream & WriteFontType(ostream &stream) const
Write the font's subtype.
Definition: PDFPrinterSupport.h:968
TTSupport::Train::Name
const char * Name() const
Return the name of the train.
Definition: Train.h:334
FCFSupport::Train::MaxCars
int MaxCars() const
Return the train's maximum number of cars.
Definition: Train.h:248
FCFSupport::PostScriptPrinterDevice::NewPage
virtual bool NewPage(const string heading="")
Perform a page feed and print a heading.
Parsers::BezierBodyElt::BezierBodyElt
BezierBodyElt()
Constructor.
Definition: BezierBody.h:131
Parsers::TurnoutBodyElt::pos1
Pos pos1
First position.
Definition: TurnoutBody.h:140
azatrax::MRD::Identify_2
ErrorCode Identify_2() const
Identify 2.
Definition: mrd.h:137
FCFSupport::PDFFileStructures::CrossReferenceTable::objectTable
objectMap objectTable
The table of objects.
Definition: PDFPrinterSupport.h:143
FCFSupport::Division::Division
Division(char s, FCFSupport::Industry *h, char a, const char *n)
Constructor given a set of field values.
Definition: Division.h:108
azatrax::Azatrax::commands
commands
Command codes.
Definition: Azatrax.h:159
azatrax::MRD::Identify_1_2
ErrorCode Identify_1_2() const
Identify 1 and 2.
Definition: mrd.h:142
FCFSupport::LogMessageCallback::LogMessageCallback
LogMessageCallback()
Constructor.
Definition: CallBack.h:145
azatrax::Azatrax::idSL2Product
@ idSL2Product
SL2 Product id.
Definition: Azatrax.h:281
YY_MRRXtrkCad_LEX
#define YY_MRRXtrkCad_LEX
Definition: MRRXtrkCad.tab.h:192
FCFSupport::PathName::Dirname
string Dirname() const
Return only the directory name.
Parsers::TrackGraph::IsNone
bool IsNone(Node node)
Check if node is the none node;.
Definition: TrackGraph.h:840
FCFSupport::PDFFileStructures::ResourceDictionary::AddProcSet
void AddProcSet(string pname)
Add a procedure set.
Definition: PDFPrinterSupport.h:486
FCFSupport::System::deliver
bool deliver
Deliver flag.
Definition: System.h:1033
azatrax::Azatrax::ProductIdCode
static unsigned short int ProductIdCode(const char *productName)
Product id code.
Definition: Azatrax.h:333
TTSupport::TimeRange::Read
istream & Read(istream &stream)
Read ourselves from an input stream.
Parsers::MRRXtrkCad::HO
@ HO
Definition: ParserClassesGroup.h:123
FCFSupport::PDFFileStructures::ResourceDictionary::AddFont
void AddFont(const string name, IndirectObject *obj)
Add an Font resource.
Definition: PDFPrinterSupport.h:533
FCFSupport::System::SkipCommentsGets
bool SkipCommentsGets(istream &stream, string &buffer, const char *message, char **outmessage=NULL)
Utility to get a line after skipping any intervening comments.
RaildriverIO::IndependBrake
unsigned char IndependBrake
Independent Brake lever, 0-255.
Definition: RaildriverIO.h:728
TTSupport::TimeTableSystem::TimeTableSystem
TimeTableSystem()
The default constructor.
Definition: TimeTableSystem.h:446
Parsers::TrackGraph::backpointers
std::map< Node, CompressedNode > backpointers
Backpointer map.
Definition: TrackGraph.h:833
Parsers::CornuBody::CleanUpCornuBody
static void CleanUpCornuBody(CornuBody *trb)
Free up memory.
Definition: CornuBody.h:259
LabelComboBox::cget
cget(path, option)
Procedure to get a configuation option.
Industry.h
TTSupport::StationTimes::departure
double departure
The departure time, in scale time units.
Definition: TimeTableSystem.h:217
FCFSupport::PostScriptPrinterDevice
Derived class for printing on Postscript printers.
Definition: PostScriptPrinter.h:66
RaildriverIO::BAILOFF_M
@ BAILOFF_M
Independent Brake bail off.
Definition: RaildriverIO.h:116
FCFSupport::PrinterDevice::TypeWeight
TypeWeight
Type weight.
Definition: Printer.h:317
FCFSupport::LQ24PrinterDevice::SetTypeSpacing
virtual bool SetTypeSpacing(TypeSpacing spacing)
Set the the spacing.
Parsers::TrackGraph::IsNodeP
bool IsNodeP(int nid) const
Tests if a node id exists in the graph.
FCFSupport::PDFFileStructures::PageLabelTree
A tree of page label dictionaries.
Definition: PDFPrinterSupport.h:882
Parsers::ParseFile::errorstream
ostream * errorstream
Stream for error reporting.
Definition: ParseFile.h:391
TTSupport::Stop::stationindex
int stationindex
The station index.
Definition: Train.h:277
FCFSupport::System::carsFile
PathName carsFile
Full pathname of the cars file.
Definition: System.h:964
TTSupport::Occupied::Occupied
Occupied(string trainnum_="", double from_=0.0, double until_=0.0, string trainnum2_="")
Constructor: record a train occupying a storage track.
Definition: Station.h:107
Parsers::TrackGraph::Node
graph_traits< Graph >::vertex_descriptor Node
Vertex type.
Definition: TrackGraph.h:707
Parsers::MRRXtrkCad::scanToEND
bool scanToEND
Definition: ParserClassesGroup.h:191
FCFSupport::Industry::DivisionControlList
const char * DivisionControlList() const
This indusry's division control list.
Definition: Industry.h:233
FCFSupport::PDFFileStructures::Page::cropBox
Rectangle * cropBox
This page's crop box.
Definition: PDFPrinterSupport.h:735
FCFSupport::SwitchListElement::PickTrain
const Train * PickTrain() const
Return the pickup train for this switch list element.
Definition: SwitchList.h:156
FCFSupport::System::RunOnePassenger
void RunOnePassenger(Train *train, bool boxMove, const FCFSupport::TrainDisplayCallback *traindisplay, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
One one passenger train.
FCFSupport::System::CarsMovedThree
int CarsMovedThree() const
Return the number of cars moved three times.
Definition: System.h:491
FCFSupport::PDFFileStructures::PostScriptStandardType1FontDictionary::PostScriptStandardType1FontDictionary
PostScriptStandardType1FontDictionary(const string name, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:1138
Parsers::TrackGraph::Transform2D
Two dimensional transform class.
Definition: TrackGraph.h:877
Parsers::TrackGraph::NodeValues::angle
float angle
Angle of the signal.
Definition: TrackGraph.h:640
YY_MRRXtrkCad_PARSE
#define YY_MRRXtrkCad_PARSE
Definition: MRRXtrkCad.tab.h:188
TTSupport::TimeTableSystem::AddNote
int AddNote(string newnote)
Add a note to the notes vector.
Definition: TimeTableSystem.h:761
azatrax::SR4::Sense_4_Live
bool Sense_4_Live() const
Sense 4, return true if input line 4 is now activated.
Definition: sr4.h:265
FCFSupport::PDFFileStructures::Rectangle::Y1
double Y1() const
Return the first Y coordinate.
Definition: PDFPrinterSupport.h:618
FCFSupport::Industry::Type
char Type() const
Return the type of the industry.
Definition: Industry.h:198
FCFSupport::SwitchList::SwitchList
SwitchList()
Constructor.
FCFSupport::LogMessageCallback::LogMessage
virtual void LogMessage(MessageType Type, const string Message) const
Log message callback function.
Definition: CallBack.h:157
FCFSupport::SwitchListElement::SwitchListElement
SwitchListElement(const Industry *pickloc, const Car *pickcar, const Train *picktrain, const Train *lasttrain, const Industry *istop)
Constructor, given a manifest freight's stop at an industry.
Definition: SwitchList.h:123
azatrax::MRD::status2_union::allowExternalChanges
unsigned int allowExternalChanges
Allow External Changes.
Definition: mrd.h:259
FCFSupport::PDFFileStructures::TypedDictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write this dictionary's elements.
Definition: PDFPrinterSupport.h:389
TTSupport::Cab::Cab
Cab(const Cab &other)
Copy constructor.
Definition: Cab.h:103
FCFSupport::SwitchListElement::SwitchListElement
SwitchListElement(const SwitchListElement &other)
Copy constructor.
Definition: SwitchList.h:98
FCFSupport::System::cars
CarVector cars
Car vector.
Definition: System.h:997
RaildriverIO::GetZoopDown
bool GetZoopDown() const
Get Zoom Down.
Definition: RaildriverIO.h:538
Parsers::ParseFile::lp
char * lp
Input line buffer pointer.
Definition: ParseFile.h:376
FCFSupport::PDFFileStructures::PageLabelTree::kids
PageLabelTreeKidVector kids
Kid nodes.
Definition: PDFPrinterSupport.h:936
azatrax::SL2::status1_union::motor_1_direction
unsigned int motor_1_direction
Motor 1 direction.
Definition: sl2.h:197
lcc::fivebits
int fivebits
Definition: lcc.tcl:39
FileEntry::cget
cget(path, option)
Configuration option accessor procedure: access one option directly.
FCFSupport::Station::division
Division * division
The station's division.
Definition: Station.h:153
FCFSupport::Industry::maxCarLen
int maxCarLen
The maximum car length.
Definition: Industry.h:308
FCFSupport::Car::ClearMovementsThisSession
void ClearMovementsThisSession()
Clear the number of movements this session.
Definition: Car.h:297
FCFSupport::Car::prevtrain
const Train * prevtrain
The previous train to handle this car.
Definition: Car.h:353
RaildriverIO::Headlight
unsigned char Headlight
Headlight switch, 0-255.
Definition: RaildriverIO.h:737
Parsers::TrackGraph::EdgeValues::length
float length
Track length from opposite edge.
Definition: TrackGraph.h:562
Parsers::CornuBodyElt::radius
float radius
A radius value.
Definition: CornuBody.h:122
Parsers::LayoutFile::Emit
void Emit(ostream &outstream)
Function to Emit a track graph to an output stream.
PathName.h
FCFSupport::PDFFileStructures::ResourceDictionary::xObject
IndirectObjectDictionary xObject
A Dictionary that maps resource names to external objects.
Definition: PDFPrinterSupport.h:571
TTSupport
Time Table Support Namespace.
Definition: TTSupportGroup.h:82
TTSupport::Station
The Station class implements a station.
Definition: Station.h:540
FCFSupport::System::ReportLocAll
void ReportLocAll(bool printBench, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL)
Print a location report for all locations.
Parsers::TurnoutBodyElt::MakeTurnoutStraightSegment
static TurnoutBodyElt * MakeTurnoutStraightSegment(float x1, float y1, float x2, float y2)
Create a turnout straight segment (S lines).
Definition: TurnoutBody.h:201
FCFSupport::PDFFileStructures::IndirectObject::IncrementGenerationNumber
void IncrementGenerationNumber()
Increment the generation number.
Definition: PDFPrinterSupport.h:256
FCFSupport::Industry::IncrementStatsLen
void IncrementStatsLen(int i=1)
Increment the stats length.
Definition: Industry.h:255
FCFSupport::Car::SetPeek
void SetPeek(bool p=false)
Set or clear the peek flag.
Definition: Car.h:339
FCFSupport::System::ReportCarLocations
void ReportCarLocations(CarLocationType cltype, int index, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL)
Car location report.
Parsers::BezierBodyElt::MakeCurveSegment
static BezierBodyElt * MakeCurveSegment(float r, float x, float y, float a0, float a1)
Create a curve segment (C lines).
Definition: BezierBody.h:165
azatrax::Azatrax::IsThisTheAzatraxWeAreLookingFor
static bool IsThisTheAzatraxWeAreLookingFor(libusb_device *dev, const char *serialnumber, unsigned short int idProduct)
Is this the device we want?
FCFSupport::PathName::operator+
PathName operator+(const PathName other)
Concatenate pathnames.
RaildriverIO::DIGITAL3
@ DIGITAL3
Blue Buttons 17-24.
Definition: RaildriverIO.h:240
Parsers::TurnoutBodyElt::segCount
static int segCount
Counter for S, C, and J segments.
Definition: TurnoutBody.h:109
FCFSupport::SwitchList::operator<<
friend ostream & operator<<(ostream &stream, const SwitchList &list)
Output stream operator for switch lists.
azatrax::Azatrax::StateDataPacket::endOfData
uint8_t endOfData
End of data.
Definition: Azatrax.h:445
FCFSupport::PDFFileStructures::CatalogDictionary::AddPageLabelDictionary
void AddPageLabelDictionary(int number, PageLabelDictionary *pld)
Add a page label dictionary.
Definition: PDFPrinterSupport.h:1193
FCFSupport::Train::Wayfreight
@ Wayfreight
A Way Freight train.
Definition: Train.h:140
TTSupport::Occupied::Occupied
Occupied(const Occupied &other)
Copy constructor – create an instance from another Occupied instance.
Definition: Station.h:131
FCFSupport::PDFFileStructures::InformationDirectory
Information directory.
Definition: PDFPrinterSupport.h:1221
TTSupport::Cab::color
string color
The color of the cab.
Definition: Cab.h:129
azatrax::SR4::Q3_State
bool Q3_State() const
Q3 state, return true if Q3 is closed.
Definition: sr4.h:211
FCFSupport::Train
The Train class represents a train.
Definition: Train.h:114
FCFSupport::PDFFileStructures::PageLabelDictionary::prefix
string prefix
Prefix string.
Definition: PDFPrinterSupport.h:865
FCFSupport::PDFFileStructures::ResourceDictionary::AddColorSpace
void AddColorSpace(const string name, IndirectObject *obj)
Add an Color Space resource.
Definition: PDFPrinterSupport.h:501
FCFSupport::SwitchList::DiscardSwitchList
void DiscardSwitchList()
Clobber the switch list.
FCFSupport::TrainNameMap
map< string, Train *, less< string > > TrainNameMap
A map of trains, indexed by string (Train name).
Definition: Train.h:391
TTSupport::Station::Station
Station(const Station &other)
Copy constructor.
Definition: Station.h:557
Parsers::BezierBodyElt::MakeTrackEnd
static BezierBodyElt * MakeTrackEnd(TrackBodyElt *tbe)
Create an endpoint (T or E lines).
Definition: BezierBody.h:137
Parsers::TrackGraph::none
Node none
Special node that is nowhere (where all unconnected trackage goes).
Definition: TrackGraph.h:726
FCFSupport::PDFFileStructures::ResourceDictionary::AddPattern
void AddPattern(const string name, IndirectObject *obj)
Add an Pattern resource.
Definition: PDFPrinterSupport.h:509
FCFSupport::SwitchList::pickIndex
unsigned int pickIndex
The pick index.
Definition: SwitchList.h:312
Parsers::TrackGraph::CompressedNodePositionY
double CompressedNodePositionY(int cnid) const
X Coordinate of a Compressed Node position.
Parsers::LayoutFile::TypeOfNode
TrackGraph::NodeType TypeOfNode(int nid) const
Returns the type of the node.
Definition: ParseFile.h:482
TTSupport::Occupied::operator=
Occupied & operator=(const Occupied &other)
Assignment operator.
Definition: Station.h:141
FCFSupport::System::carsAtWorkBench
int carsAtWorkBench
The number of cars at the workbench.
Definition: System.h:1096
FCFSupport::System::StringToInt
bool StringToInt(string str, int &result, const char *message, char **outmessage=NULL) const
Convert a string to an integer.
lcc::unknown
@ unknown
Currently unknown.
Definition: lcc.tcl:144
Station.h
Parsers::TrackBodyElt::x
float x
$X$ coordinate of track endpoint.
Definition: TrackBody.h:83
RaildriverIO::REVERSER
@ REVERSER
Reverser lever.
Definition: RaildriverIO.h:184
FCFSupport::PDFFileStructures::ResourceDictionary::extGState
IndirectObjectDictionary extGState
A dictionary that maps resource names to graphics state parameters dictionaries.
Definition: PDFPrinterSupport.h:556
FCFSupport::System::industries
IndustryMap industries
Industries map.
Definition: System.h:982
FCFSupport::TextPrinterDevice::TextPrinterDevice
TextPrinterDevice(const string filename="", const string title="", PageSize pageSize=Letter, char **outmessage=NULL)
Constructor.
TTSupport::Station::smile
double smile
Scale Mile.
Definition: Station.h:696
FCFSupport::PDFFileStructures::IndirectObjectDictionary::IndirectObjectDictionary
IndirectObjectDictionary(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:416
FCFSupport::System::FindStationIndex
int FindStationIndex(const FCFSupport::Station *station) const
Find a station's index.
FCFSupport::System::GetCarStatus
void GetCarStatus(const Car *car, string &status, string &carTypeDescr) const
Return car status information.
Parsers::TrackGraph::NodeValues
Uncompressed graph node values.
Definition: TrackGraph.h:586
Parsers::MRRXtrkCad::yydebug
int yydebug
Definition: ParserClassesGroup.h:181
FCFSupport::PDFFileStructures::PageLabelTree::GetKidLimits
void GetKidLimits(int &lower, int &upper) const
Get limits of the kids vector.
Parsers::LayoutFile::NumberOfHeads
int NumberOfHeads(int nid) const
Return a Signal's number of heads.
Definition: ParseFile.h:514
lcc::MTIDetail
MTI Header type, detailed version.
Definition: lcc.tcl:418
Parsers::IntegerList::Element
int Element() const
Element accessor.
Definition: IntegerList.h:139
azatrax::SR4::status3_union::input_2_enabled
unsigned int input_2_enabled
Input 2 enabled?
Definition: sr4.h:317
FCFSupport::System::ShowUnassignedCars
void ShowUnassignedCars(const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner) const
Show unassigned cars.
FCFSupport::Train::done
bool done
The done flag for this train.
Definition: Train.h:378
FCFSupport::PathName::PathName
PathName(const PathName &other)
Copy constructor.
Definition: PathName.h:97
FCFSupport::Train::CarTypes
const char * CarTypes() const
Return the train's car type list (string of char type characters).
Definition: Train.h:234
azatrax::SL2::SetQ3posQ4neg
ErrorCode SetQ3posQ4neg() const
Sets output terminal Q3 to positive, Q4 to negative.
Definition: sl2.h:91
azatrax::SR4::status1_union
Status byte 1 union type (Outputs)
Definition: sr4.h:273
FCFSupport::System::CarsMovedMore
int CarsMovedMore() const
Return the number of cars moved more then three times.
Definition: System.h:494
TTSupport::TimeTableSystem::printOptions
OptionHashMap printOptions
Print option hash table.
Definition: TimeTableSystem.h:1134
TTSupport::TimeTableSystem::LastPrintOption
OptionHashMap::const_iterator LastPrintOption() const
Last Print option.
Definition: TimeTableSystem.h:991
TTSupport::Train::StartSMile
double StartSMile() const
Return the start Scale Mile.
Definition: Train.h:443
FCFSupport::System::PrintTrainOrders
void PrintTrainOrders(const Train *train, FCFSupport::PrinterDevice *printer) const
Print the train orders for a selected train.
TTSupport::TimeTableSystem::GetPrintOption
const char * GetPrintOption(const char *key) const
Fetch a print option.
Definition: TimeTableSystem.h:791
Parsers::BezierBody::CleanUpElement
void CleanUpElement()
Free up memory.
Definition: BezierBody.h:203
RaildriverIO::GetBlueButton4
bool GetBlueButton4() const
Get Blue Button 4.
Definition: RaildriverIO.h:356
Parsers::LayoutFile::OffScript
const char * OffScript(int nid) const
Return the off action script.
Definition: ParseFile.h:537
Parsers::TurnoutBodyElt::GetTurnoutJointSegment
int GetTurnoutJointSegment(float &x, float &y, float &a, float &l0, float &l1, float &r, float &l) const
Fetch turnout joint segment data.
Definition: TurnoutBody.h:261
FCFSupport::Train::maxclear
int maxclear
The maximum clearance plate for this train.
Definition: Train.h:363
Parsers::MRRXtrkCad::EOL
@ EOL
Definition: ParserClassesGroup.h:114
INCHESperMM
const double INCHESperMM
FCFSupport::CarGroup::CarGroupConsts
CarGroupConsts
Car group constants.
Definition: CarType.h:176
Parsers::TrackGraph::TypeOfNode
NodeType TypeOfNode(int nid) const
Returns the type of the node.
TTSupport::Train::notes
vector< int > notes
Notes about the train.
Definition: Train.h:469
azatrax::SL2::Sense_4
bool Sense_4() const
Sense 4, return true if input line 4 was activated since last get status.
Definition: sl2.h:135
TTSupport::Station::FindStorageTrack
StorageTrack * FindStorageTrack(string name)
Find a storage track by name.
Definition: Station.h:614
FCFSupport::PDFFileStructures::PageTree::mediaBox
Rectangle * mediaBox
Media box for this page tree.
Definition: PDFPrinterSupport.h:798
Parsers::TrackGraph::RotationUnit
RotationUnit
Rotational units.
Definition: TrackGraph.h:926
FCFSupport::ShowBannerCallback
Display a page heading type message on the screen.
Definition: CallBack.h:170
FCFSupport::PDFPrinterDevice::printerStream
ofstream printerStream
Output stream.
Definition: PDFPrinter.h:160
azatrax::SL2
SL2 I/O Class.
Definition: sl2.h:71
Parsers::SegVector::C
@ C
Curved (circular) segment.
Definition: TrackGraph.h:170
Parsers::MRRXtrkCad::J
@ J
Definition: ParserClassesGroup.h:140
TTSupport::PathName::operator>=
bool operator>=(const PathName other) const
Greater than or equal operator.
Definition: PathName.h:139
azatrax::MRD::status1_union::sense_1
unsigned int sense_1
Sense 1.
Definition: mrd.h:233
FCFSupport::PDFFileStructures::Rectangle::x1
double x1
First X coordinate.
Definition: PDFPrinterSupport.h:637
TTSupport::Stop::SetStorageTrackName
void SetStorageTrackName(string name)
Update storage track name.
Definition: Train.h:259
azatrax::SL2::Input_2_Enabled
bool Input_2_Enabled() const
Input 2 enabled? Return true if I2 can affect outputs.
Definition: sl2.h:171
FCFSupport::PDFFileStructures::PostScriptStandardType1FontDictionary
A standard Type1 PostScript font dictionary.
Definition: PDFPrinterSupport.h:1128
azatrax::MRD::status1_union::sense_2
unsigned int sense_2
Sense 2.
Definition: mrd.h:235
azatrax::SL2::status2_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: sl2.h:211
Parsers::ParseFile::ProcessFile
int ProcessFile(ostream &err)
open file and parse it.
TTSupport::PathName::PathName
PathName(string p)
Constructor, given a STL basic_string.
Definition: PathName.h:89
TTSupport::Stop::operator=
Stop & operator=(const Stop &other)
Assignment operator, assign one stop to another stop.
Definition: Train.h:177
Tclwiringpi
module Tclwiringpi
Definition: tclwiringpi.i:55
azatrax::SL2::Motor_2_Direction
bool Motor_2_Direction() const
Motor 2 direction, return true if Q3 is positive.
Definition: sl2.h:153
LabelComboBox::bind
bind(path,...)
Procedure to set a binding on the ComboBox entry.
RaildriverIO::Digital1
unsigned char Digital1
Blue Buttons 1-8.
Definition: RaildriverIO.h:740
FCFSupport::PDFFileStructures::IndirectObjectDictionary::AddIndirectObject
void AddIndirectObject(const string name, IndirectObject *obj)
Add an indirect object.
Definition: PDFPrinterSupport.h:428
RaildriverIO::GetPanDown
bool GetPanDown() const
Get Pan Down.
Definition: RaildriverIO.h:559
Parsers::IntegerList::CleanUpIntegerList
static void CleanUpIntegerList(IntegerList *list)
Free up used memory.
Definition: IntegerList.h:112
FCFSupport::Car::tmpStatus
bool tmpStatus
Temp status flag.
Definition: Car.h:410
Parsers::TrackGraph::NodeTurnoutGraphic
const TurnoutGraphic * NodeTurnoutGraphic(int nid) const
Returns the TurnoutGraphic of the node.
Parsers::LayoutFile::trackGraph
TrackGraph * trackGraph
Track graph, a graph of all of the trackwork in the layput file.
Definition: ParseFile.h:442
Parsers::LayoutFile::LengthOfNode
float LengthOfNode(int nid) const
Return the track length of a node.
Definition: ParseFile.h:493
Parsers::TrackGraph::CompressedIdNodeMap
std::map< int, CompressedNode > CompressedIdNodeMap
Type of Node Id map.
Definition: TrackGraph.h:811
RaildriverIO::RaildriverIO
RaildriverIO()
Default constructor.
Definition: RaildriverIO.h:666
FCFSupport::LQ24PrinterDevice::ClosePrinter
virtual bool ClosePrinter(char **outmessage)
Close the printer.
Parsers::IntegerList::next
IntegerList * next
The pointer to the next element.
Definition: IntegerList.h:82
azatrax::MRD::status2_union::stopwatchTicking
unsigned int stopwatchTicking
Stopwatch Ticking.
Definition: mrd.h:255
FCFSupport::System::curDiv
Division * curDiv
Current division.
Definition: System.h:1054
azatrax::Azatrax::StateDataPacket::stopwatchHours
uint8_t stopwatchHours
Stopwatch hours (MRD2 only)
Definition: Azatrax.h:439
Parsers::MRRXtrkCad::yylval
yy_MRRXtrkCad_stype yylval
Definition: ParserClassesGroup.h:172
FCFSupport::Train::description
string description
The description of the train.
Definition: Train.h:354
FCFSupport::System::PrintYards
bool PrintYards() const
Print yard lists flag.
Definition: System.h:509
FCFSupport::PDFFileStructures::Type1FontDictionary::fontDescriptor
TypedDictionary * fontDescriptor
Font Descriptor.
Definition: PDFPrinterSupport.h:1115
FCFSupport::Car::SetPrevTrain
void SetPrevTrain(const Train *lt)
Set the previous train to move this car.
Definition: Car.h:291
FCFSupport::PathName::SameDirectory
bool SameDirectory(const PathName other) const
Are the two pathnames in the same directory?
Definition: PathName.h:149
TTSupport::TimeTableSystem::WriteOldTimeTableFile
bool WriteOldTimeTableFile(char **outmessage=NULL)
Write an old time table file.
Definition: TimeTableSystem.h:872
Parsers::BezierBodyElt::theType
BezierBodyEltType theType
Element type.
Definition: BezierBody.h:100
FCFSupport::System::NumberOfTrains
int NumberOfTrains() const
The number of trains loaded.
Definition: System.h:299
FCFSupport::PDFFileStructures::TypedDictionary::TypedDictionary
TypedDictionary(string t, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:371
FCFSupport::SwitchListElement::StationOrIndustry
A const pointer to a train's stop, which can be either a station or an industry, depending on what ki...
Definition: SwitchList.h:78
FCFSupport::Car::EmptyP
bool EmptyP() const
Is the car empty?
Definition: Car.h:246
LabelSpinBox::setvalue
setvalue(path,...)
Procedure to set the value of the SpinBox.
Parsers::TurnoutBodyElt::Pos::y
float y
$Y$ coordinate.
Definition: TurnoutBody.h:136
FCFSupport::Train::StationOrIndustry::station
Station * station
Station, for other then Manifest freights.
Definition: Train.h:331
azatrax::Azatrax::cmd_Identify_1_2
@ cmd_Identify_1_2
Identify both LEDs (MRD2 only)
Definition: Azatrax.h:189
Parsers::LayoutFile::OrigY
float OrigY(int nid) const
Return the $y$ coordinate of the signal base.
Definition: ParseFile.h:525
FCFSupport::System::LastCarType
CarTypeMap::const_iterator LastCarType() const
Iterator of one past the last car type in the car type map.
Definition: System.h:920
lcc::first
@ first
First frame datagram.
Definition: lcc.tcl:113
TTSupport::PathName::operator<=
bool operator<=(const PathName other) const
Less than or equal operator.
Definition: PathName.h:133
FCFSupport::Division::Name
const char * Name() const
Return the division's name.
Definition: Division.h:120
FCFSupport::Car::IncrementAssignments
void IncrementAssignments()
Increment the number of assignments this car has had.
Definition: Car.h:333
FCFSupport::Train::Shift
int Shift() const
Return the train's shift.
Definition: Train.h:240
Parsers::LayoutFile::CompressedEdgeLength
float CompressedEdgeLength(int cnid, int edgenum) const
Length of a compressed graph edge.
Definition: ParseFile.h:555
Parsers::MRRXtrkCad::A
@ A
Definition: ParserClassesGroup.h:148
FCFSupport::PDFFileStructures::IndirectObject::SetObjectNumber
void SetObjectNumber(unsigned long int on, CrossReferenceTable *tab)
Set this object's object number.
Definition: PDFPrinterSupport.h:241
Parsers::LayoutFile::CompressedGraphKruskalMinimumSpanningTree
TrackGraph::CompressedEdgePairVector CompressedGraphKruskalMinimumSpanningTree()
Run the kruskal_minimum_spanning_tree algorithm and return a vector of edge pairs.
Definition: ParseFile.h:599
TTSupport::Stop::cab
Cab * cab
The Cab object.
Definition: Train.h:280
FCFSupport::PDFFileStructures::PageTree::cropBox
Rectangle * cropBox
Crop box for this page tree.
Definition: PDFPrinterSupport.h:801
TTSupport::StorageTrack::FindOccupied
const Occupied * FindOccupied(double from, double to) const
Return occupication structure for a given time tange.
Definition: Station.h:343
FCFSupport::Division
The Division class implements a single division, which contains a number of contigious stations.
Definition: Division.h:72
azatrax::SL2::SL2
SL2(const char *serialnumber, char **outmessage=NULL)
Base constructor.
Definition: sl2.h:78
lcc::sixteenbits
int sixteenbits
Definition: lcc.tcl:69
TTSupport::hash
Option hash map, used for Print options.
Definition: TimeTableSystem.h:105
Parsers::TrackBody::AppendTrackBodyElt
static TrackBody * AppendTrackBodyElt(TrackBody *tb, TrackBodyElt *tbe)
Append a track endpoint.
Definition: TrackBody.h:159
FCFSupport::System::RunAllTrains
void RunAllTrains(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner, FCFSupport::PrinterDevice *printer, const FCFSupport::TrainDisplayCallback *traindisplay)
Run all trains procedure.
FCFSupport::System::ReadOwners
bool ReadOwners(char **outmessage=NULL)
Read in the owners file.
FCFSupport::System::LogCarPickup
void LogCarPickup(Car *car, Train *train, bool boxMove)
Log a car pickup in the switch list structure.
CTCPanel::verifyColorMethod
verifyColorMethod()
Macro to add a verify color method to a snit type.
FCFSupport::System::carsAtDest_carsInTransit
int carsAtDest_carsInTransit
The number of cars at their destinations and still in transit.
Definition: System.h:1099
FCFSupport::PrinterDevice::Half
@ Half
Half (actually 60%) wide characters.
Definition: Printer.h:310
azatrax::SL2::OutputRelayInputControl
ErrorCode OutputRelayInputControl(bool I1, bool I2, bool I3, bool I4)
Enable/Disable descrete input lines from affecting outputs.
Definition: sl2.h:106
FCFSupport::PDFFileStructures::Rectangle::X1
double X1() const
Return the first X coordinate.
Definition: PDFPrinterSupport.h:615
TTSupport::TimeRange::operator<=
bool operator<=(const TimeRange &other) const
Less than or equal operator.
Definition: Station.h:225
FCFSupport::Car::OkToMirrorP
bool OkToMirrorP() const
Is it OK to mirror this car?
Definition: Car.h:255
azatrax::SL2::Sense_1
bool Sense_1() const
Sense 1, return true if input line 1 was activated since last get status.
Definition: sl2.h:117
FCFSupport::Industry::operator=
Industry & operator=(Industry &other)
Assignment operator.
Definition: Industry.h:130
FCFSupport::Industry::Priority
int Priority() const
Return this industry's priority.
Definition: Industry.h:215
LabelSpinBox::bind
bind(path,...)
Procedure to set a binding on the SpinBox entry.
TTSupport::TimeTableSystem::timescale
int timescale
Time scale.
Definition: TimeTableSystem.h:1116
FCFSupport::PrinterDevice::Put
virtual bool Put(double number)
Print a double.
Definition: Printer.h:390
TTSupport::StorageTrack::UpdateStoredTrain2
const Occupied * UpdateStoredTrain2(double from, double to, string train)
Replace a stored departure train.
azatrax::MRD::SetChan1
ErrorCode SetChan1() const
Set channel 1 relays and status bits.
Definition: mrd.h:110
FCFSupport::TrainDisplayCallback::CloseTrainDisplay
virtual void CloseTrainDisplay() const
Close the train display.
Definition: CallBack.h:226
Parsers::TrackGraph::IsCompressed
bool IsCompressed() const
Is the graph compressed?
Definition: TrackGraph.h:1109
LabelSpinBox::_path_command
_path_command(path, cmd, larg)
Path command for this megawidget.
LabelComboBox::_path_command
_path_command(path, cmd, larg)
Path command for this megawidget.
azatrax::SR4::Sense_4_Latch
bool Sense_4_Latch() const
Sense 4, return true if input line 4 was activated since last get status.
Definition: sr4.h:193
azatrax::SR4::status1_union::Q3_state
unsigned int Q3_state
Q3 state.
Definition: sr4.h:283
Parsers::SegVector::R
float R
$R$ value.
Definition: TrackGraph.h:203
azatrax::SL2::Motor_1_State
bool Motor_1_State() const
Motor 1 state, return true if Q1 and Q2 are on.
Definition: sl2.h:147
RaildriverIO::SpeakerOff
void SpeakerOff(char **outmessage=NULL)
Turn the speaker off.
Parsers::MRRXtrkCad::MULTILINE
@ MULTILINE
Definition: ParserClassesGroup.h:113
FCFSupport::System::trainPrintOK
bool trainPrintOK
Train print flag.
Definition: System.h:1027
FCFSupport::System::LastTrain
TrainMap::const_iterator LastTrain() const
Iterator of one past the last train in the train map.
Definition: System.h:908
Parsers::ParseFile::~ParseFile
virtual ~ParseFile()
Destructor.
Definition: ParseFile.h:417
yy_MRRXtrkCad_stype::tbbe
BezierBodyElt * tbbe
Definition: MRRXtrkCad.tab.h:77
FCFSupport::Car::doneP
bool doneP
This car's done flag.
Definition: Car.h:404
FCFSupport::Industry::carsLen
int carsLen
The length of the cars.
Definition: Industry.h:314
FCFSupport::PDFFileStructures::IndirectObjectDictionary
PDF Indirect Object Dictionary, used for named resources in a Resource Dictionary.
Definition: PDFPrinterSupport.h:408
FCFSupport::Owner::initials
string initials
This owner's initials.
Definition: Owner.h:120
azatrax::SL2::status1_union
Status byte 1 union type (Output states)
Definition: sl2.h:191
Parsers::MRRXtrkCad::N
@ N
Definition: ParserClassesGroup.h:124
TTSupport::TimeTableSystem::WriteNote
ostream & WriteNote(ostream &out, string note) const
Write out a note.
FCFSupport::Car::Car
Car()
Default constructor.
Definition: Car.h:76
FCFSupport::Industry::plate
int plate
The industry's clearance plate.
Definition: Industry.h:302
FCFSupport::PostScriptPrinterDevice::PutPageHeader
bool PutPageHeader()
Function to put the page header.
TTSupport::StorageTrack::name
string name
Name of the storage track.
Definition: Station.h:422
Parsers::TrackGraph::c_roots
IntegerList * c_roots
Compressed Graph Roots.
Definition: TrackGraph.h:821
Parsers::LayoutFile::Heads
const IntegerList * Heads()
Definition: ParseFile.h:572
Parsers::TrackGraph::NumberOfHeads
int NumberOfHeads(int nid) const
Return a Signal's number of heads.
FCFSupport::Station
The Station class implements a single station.
Definition: Station.h:73
Parsers::LayoutFile::ReverseActionScript
const char * ReverseActionScript(int nid) const
Return a block's or switchmotor's reverse action script.
Definition: ParseFile.h:511
TurnoutBody.h
FCFSupport::PrinterDevice::Tab
virtual bool Tab(int column)
Tab over to the specified column.
Definition: Printer.h:399
FCFSupport::Car::peek
bool peek
This car's peel flak.
Definition: Car.h:407
Parsers::TrackGraph::Angle
float Angle(int nid) const
Return the angle of the signal.
TTSupport::StationTimes::flag
Stop::FlagType flag
The stop flag: Origin, Terminate, or Transit.
Definition: TimeTableSystem.h:220
azatrax::Azatrax::StateDataPacket
Raw USB Data Packet.
Definition: Azatrax.h:415
YY_MRRXtrkCad_LEX_BODY
#define YY_MRRXtrkCad_LEX_BODY
Definition: MRRXtrkCad.tab.h:337
FCFSupport::System::ReportTrains
void ReportTrains(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL) const
Report on all trains.
Parsers::TurnoutBodyElt::TurnoutStraightSegment
@ TurnoutStraightSegment
S line.
Definition: TurnoutBody.h:98
FCFSupport::Car::SetCarOwner
void SetCarOwner(const Owner *o)
Set the car's owner.
Definition: Car.h:270
FCFSupport::SwitchListElement::PickCar
const Car * PickCar() const
Return the car picked up for this switch list element.
Definition: SwitchList.h:153
FCFSupport::LQ24PrinterDevice::currentSpacing
TypeSpacing currentSpacing
Current spacing.
Definition: LQ24Printer.h:154
TTSupport::StationTimes
Station times class, used by the LaTeX generator methods.
Definition: TimeTableSystem.h:169
Parsers::MRRXtrkCad::SWITCHMOTOR
@ SWITCHMOTOR
Definition: ParserClassesGroup.h:157
FCFSupport::System::FindTrainByIndex
const Train * FindTrainByIndex(int i) const
Find a train by its index.
Definition: System.h:310
Parsers::BezierBody::next
BezierBody * next
Next element.
Definition: BezierBody.h:201
TTSupport::PathName::Dirname
string Dirname() const
Return only the directory name.
LabelComboBox::getvalue
getvalue(path,...)
Procedure to get the value of the ComboBox.
FCFSupport::PDFPrinterDevice::pageTreeRoot
PDFFileStructures::PageTree * pageTreeRoot
PDF Page Tree root.
Definition: PDFPrinter.h:154
RaildriverIO::GetWhistleDown
bool GetWhistleDown() const
Get Whistle Down.
Definition: RaildriverIO.h:636
FCFSupport::ShowBannerCallback::~ShowBannerCallback
virtual ~ShowBannerCallback()
Destructor.
Definition: CallBack.h:181
Parsers::TrackGraph::EdgeIndex
int EdgeIndex(int nid, int edgenum) const
Returns the node id of the specificed edge of the node.
FCFSupport::LQ24PrinterDevice::SI
@ SI
Shift In This character starts condensed (half width) spacing.
Definition: LQ24Printer.h:176
FCFSupport::System::RunBoxMoves
void RunBoxMoves(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner, FCFSupport::PrinterDevice *printer, const FCFSupport::TrainDisplayCallback *traindisplay)
Run all boxmove trains.
TTSupport::Stop::StationIndex
int StationIndex() const
Return the station index.
Definition: Train.h:206
FCFSupport::PDFFileStructures::PageLabelDictionary::LowerRoman
@ LowerRoman
Lowercase roman numerals.
Definition: PDFPrinterSupport.h:827
FCFSupport::TextPrinterDevice::printerStream
ofstream printerStream
Output stream.
Definition: TextPrinter.h:133
FCFSupport::PDFFileStructures::FontDictionary
A Font dictionary object.
Definition: PDFPrinterSupport.h:946
azatrax::Azatrax::StateDataPacket::reserved
uint8_t reserved[6]
Reserved bytes.
Definition: Azatrax.h:443
TTSupport::TimeRange::TimeRange
TimeRange(double from_=0.0, double to_=0.0)
Construct a time range, from a start and end time.
Definition: Station.h:188
FCFSupport::PauseCallback::PauseCallback
PauseCallback()
The constructor.
Definition: CallBack.h:270
FCFSupport::Car::type
char type
This car's type.
Definition: Car.h:413
FCFSupport::CarGroup::description
string description
The description string.
Definition: CarType.h:220
FCFSupport::System::ordersFile
PathName ordersFile
Full pathname of the train orders file.
Definition: System.h:955
yy_MRRXtrkCad_stype::fval
float fval
Definition: MRRXtrkCad.tab.h:71
Parsers::BezierBodyElt::TheType
BezierBodyEltType TheType() const
Type accessor.
Definition: BezierBody.h:135
Train.h
FCFSupport::System::ALL
@ ALL
Report on all locations.
Definition: System.h:814
TTSupport::Stop::Departure
double Departure(double arrival) const
Return departure time.
Definition: Train.h:203
FCFSupport::PDFFileStructures::Page::Page
Page(ResourceDictionary *r=NULL, Rectangle *mBox=NULL, Rectangle *cBox=NULL, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:695
TTSupport::TimeTableSystem::FirstTrain
TrainNumberMap::const_iterator FirstTrain() const
First train.
Definition: TimeTableSystem.h:969
LabelSelectColor
This package provides a BWidget style megawidget for selecting colors, in the same style as a LabelEn...
Definition: labelselectcolor.tcl:39
Parsers::MRRXtrkCad::X
@ X
Definition: ParserClassesGroup.h:152
FCFSupport::PrinterDevice::TypeSpacing
TypeSpacing
Horizontal type spacing.
Definition: Printer.h:304
FCFSupport::System::carsMovedMore
int carsMovedMore
The number of cars moved more then three times.
Definition: System.h:1087
azatrax::Azatrax::send2Bytes
ErrorCode send2Bytes(uint8_t commandByte, uint8_t byte2) const
Send a command byte with 1 data byte.
Parsers::TrackGraph::Graph
adjacency_list< vecS, vecS, directedS, NodeValues, EdgeValues > Graph
Boost Graph type (adjacency_list).
Definition: TrackGraph.h:704
azatrax::Azatrax::MyProduct
const char * MyProduct() const
My product name.
Definition: Azatrax.h:313
RaildriverIO::GetRangeDown
bool GetRangeDown() const
Get Range Down.
Definition: RaildriverIO.h:580
FCFSupport::System::carGroups
CarGroup * carGroups[CarGroup::MaxCarGroup]
Car group vector.
Definition: System.h:991
RaildriverIO::Digital4
unsigned char Digital4
Blue Buttons 25-28, Zoom, Pan Buttons.
Definition: RaildriverIO.h:750
FCFSupport::System::systemName
string systemName
The system name.
Definition: System.h:946
FCFSupport::System::statsFile
PathName statsFile
Full pathname of the stats file.
Definition: System.h:967
LabelComboBox::setvalue
setvalue(path,...)
Pass through procedure for the ComboBox setvalue function.
yy_MRRXtrkCad_stype::tcbe
CornuBodyElt * tcbe
Definition: MRRXtrkCad.tab.h:79
FCFSupport::System::ReportLocStation
void ReportLocStation(StationMap::const_iterator Sx, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL)
Print a location report for one station.
Parsers::TrackGraph::Point::y
double y
Y coordinate.
Definition: TrackGraph.h:760
TTSupport::Cab::name
string name
The name of the cab.
Definition: Cab.h:126
FCFSupport::PDFFileStructures::PageLabelTree::AddPageLabelDictionary
void AddPageLabelDictionary(int number, PageLabelDictionary *pld)
Add a page label dictionary.
Definition: PDFPrinterSupport.h:908
RaildriverIO::GetProductCodeId
unsigned char GetProductCodeId() const
Get Product Code Id.
Definition: RaildriverIO.h:644
FCFSupport::PDFPrinterDevice::currentStream
PDFFileStructures::PDFStream * currentStream
Current PDF Stream.
Definition: PDFPrinter.h:151
xpressnet::XPressNet
Main XPressNet interface class.
Definition: xpressnet.tcl:1124
FCFSupport::System::SearchForIndustryPattern
vector< int > SearchForIndustryPattern(string industryNamePattern) const
Search for an industry by name given a glob pattern.
RaildriverIO::GetBlueButton11
bool GetBlueButton11() const
Get Blue Button 11.
Definition: RaildriverIO.h:405
FCFSupport::Train::type
TrainType type
The type of this train.
Definition: Train.h:381
Parsers::TrackGraph::CompressedGraphKamadaKawaiSpring
bool CompressedGraphKamadaKawaiSpring(double sidelength)
Run the BGL kamada_kawai_spring_layout for a given side length.
RaildriverIO
Low-level Raildriver I/O functions.
Definition: RaildriverIO.h:71
FCFSupport::System::TrainManifestDrops
void TrainManifestDrops(Train *train, int Px, CarVector &consist, bool &didAction, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Drop cars from a manifest freight.
FileEntry::_destroy
_destroy(path)
Destructor function.
FCFSupport::Car::PrevTrain
const Train * PrevTrain() const
Return the previous train to move this car.
Definition: Car.h:288
FCFSupport::PDFFileStructures::PageTree::PageTree
PageTree(ResourceDictionary *r=NULL, Rectangle *mBox=NULL, Rectangle *cBox=NULL, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:756
FCFSupport::PDFPrinterDevice::CreateNewPage
bool CreateNewPage()
Create a new page.
FCFSupport::PDFFileStructures::FontDictionary::~FontDictionary
~FontDictionary()
Destructor.
Definition: PDFPrinterSupport.h:963
Parsers::IntegerList
The IntegerList class implements a linked list of integers, used for turnout route lists.
Definition: IntegerList.h:75
FCFSupport::Industry::NumberOfCars
int NumberOfCars() const
Return the number of cars at this industry.
Definition: Industry.h:252
TTSupport::TrainTimesAtStation
map< int, TrainStationTimes, less< int > > TrainTimesAtStation
Map of maps of station times, indexed by station index.
Definition: TimeTableSystem.h:246
FCFSupport::System::statsPeriod
int statsPeriod
The current stats period.
Definition: System.h:1066
FCFSupport::Car::assignments
int assignments
The number of assignments this car has had.
Definition: Car.h:392
FCFSupport::System::PrintAtwice
bool PrintAtwice() const
Print second copy of the alphabetical listing flag.
Definition: System.h:523
Parsers::IntegerList::operator<<
friend ostream & operator<<(ostream &stream, IntegerList list)
Output operator.
Definition: IntegerList.h:131
TTSupport::Stop::Stop
Stop(int stationindex_=0, FlagType flag_=Origin)
Constructor: create a new stop.
Definition: Train.h:153
azatrax::SL2::status2_union::theBits
struct azatrax::SL2::status2_union::@4 theBits
Status byte as bit fields.
FCFSupport::Industry::MaxPlate
int MaxPlate() const
Maximum clearance plate this industry can handle.
Definition: Industry.h:227
LabelComboBox::create
create(path,...)
Procedure to create a LabelComboBox.
FCFSupport::System::ReadTrains
bool ReadTrains(char **outmessage=NULL)
Read in the trains file.
Parsers::CornuBody::CleanUpElement
void CleanUpElement()
Free up memory.
Definition: CornuBody.h:203
FCFSupport::PDFPrinterDevice::SetTypeWeight
virtual bool SetTypeWeight(TypeWeight weight)
Set the type weight.
FCFSupport::PDFFileStructures::PageLabelTree::isRoot
bool isRoot
Root flag.
Definition: PDFPrinterSupport.h:933
TTSupport::TimeTableSystem
This is the main Time Table Class.
Definition: TimeTableSystem.h:433
TTSupport::PathName::operator>
bool operator>(const PathName other) const
Greater than operator.
Definition: PathName.h:127
FCFSupport::PDFFileStructures::IndirectObjectDictionary::~IndirectObjectDictionary
~IndirectObjectDictionary()
Destructor.
Definition: PDFPrinterSupport.h:423
TTSupport::TrainNumberMap
map< string, Train *, less< string > > TrainNumberMap
Train number map, indexed by train number (symbol).
Definition: Train.h:572
FCFSupport::SwitchList::PickCarEq
bool PickCarEq(int Gx, const Car *Cx) const
Is the selected element for the specificed car?
TTSupport::StationTimes::Flag
Stop::FlagType Flag() const
Accessor for the type of stop flag.
Definition: TimeTableSystem.h:208
FCFSupport::PDFFileStructures::ResourceDictionary::AddXObject
void AddXObject(const string name, IndirectObject *obj)
Add an External Object resource.
Definition: PDFPrinterSupport.h:525
FCFSupport::PathName::operator<
bool operator<(const PathName other) const
Less than operator.
Definition: PathName.h:125
Parsers::CornuBodyElt::CornuBodyElt
CornuBodyElt()
Constructor.
Definition: CornuBody.h:131
FCFSupport::System::systemFile
PathName systemFile
Full pathname of the system file.
Definition: System.h:943
TTSupport::TimeTableSystem::DeleteTrain
bool DeleteTrain(string number, char **outmessage=NULL)
Delete a train.
azatrax::MRD::status1_union::latch_2
unsigned int latch_2
Latch 2.
Definition: mrd.h:239
TTSupport::Station::NumberOfStorageTracks
int NumberOfStorageTracks() const
Number of storage tracks.
Definition: Station.h:637
azatrax::SL2::Motor_1_Direction
bool Motor_1_Direction() const
Motor 1 direction, return true if Q1 is positive.
Definition: sl2.h:141
Parsers::LayoutFile::EdgeY
float EdgeY(int nid, int edgenum) const
Returns the $Y$ coordinate of the specificed edge of the node.
Definition: ParseFile.h:473
FCFSupport::Train::SetMaxLength
void SetMaxLength(int newmaxlength)
Set the train's maximum length.
Definition: Train.h:265
YY_MRRXtrkCad_CLASS
#define YY_MRRXtrkCad_CLASS
Definition: MRRXtrkCad.tab.h:48
HOScale
const double HOScale
Definition: MRRXtrkCad.tab.h:40
azatrax::SR4::status2_union::theBits
struct azatrax::SR4::status2_union::@7 theBits
Status byte as bit fields.
SimpleDOMElement
A simple DOM element coded in Tcl using SNIT.
Definition: ParseXML.tcl:27
azatrax::SR4::status3_union::reserved
unsigned int reserved
Reserved bits.
Definition: sr4.h:323
FCFSupport::IndustryVector
vector< Industry * > IndustryVector
A vector of industry pointers.
Definition: Industry.h:342
yyltype::last_column
int last_column
Definition: MRRXtrkCad.tab.h:171
angle
#define angle
Definition: TurnoutBody.h:72
RaildriverIO::NONE_M
@ NONE_M
No bits set.
Definition: RaildriverIO.h:84
TTSupport::PathName::Extension
string Extension() const
Return only the extension.
FCFSupport::System::TotalCars
int TotalCars() const
Return the total number of cars.
Definition: System.h:429
FCFSupport::Car::Car
Car(Car &other)
Copy constructor.
Definition: Car.h:86
CTCPanel::verifyDoubleMethod
verifyDoubleMethod()
Macro to add a verify double method to a snit type.
FCFSupport::System::SearchForTrainPattern
vector< int > SearchForTrainPattern(string trainNamePattern) const
Search for a train by name given a glob pattern.
Parsers::TrackGraph::NodeValues::length
float length
Length of track.
Definition: TrackGraph.h:601
YY_MRRXtrkCad_ERROR
#define YY_MRRXtrkCad_ERROR
Definition: MRRXtrkCad.tab.h:216
FCFSupport::PDFFileStructures::Page::parent
PageTree * parent
The page's parent page tree.
Definition: PDFPrinterSupport.h:726
Parsers::TrackGraph::CompressedGraph
adjacency_list< vecS, vecS, undirectedS, CompressedNodeValues, CompressedEdgeValues > CompressedGraph
Boost Compressed Graph type (adjacency_list).
Definition: TrackGraph.h:805
Parsers::TrackGraph::Block
@ Block
Block.
Definition: TrackGraph.h:523
FCFSupport::System::printLtwice
bool printLtwice
Flag for printing a second copy of train switch lists.
Definition: System.h:1114
TTSupport::TimeRange::TimeRange
TimeRange(const TimeRange &other)
Copy constructor: create a clone of a TimeRange.
Definition: Station.h:237
FCFSupport::System::FindDivisionByIndex
const Division * FindDivisionByIndex(int i) const
Find a division by its index.
Definition: System.h:263
azatrax::SL2::status2_union::sense_4
unsigned int sense_4
Sense 4.
Definition: sl2.h:221
FCFSupport::Car::length
int length
This car's length.
Definition: Car.h:371
YY_MRRXtrkCad_PARSE_PARAM
#define YY_MRRXtrkCad_PARSE_PARAM
Definition: MRRXtrkCad.tab.h:231
azatrax::Azatrax::idSR4Product
@ idSR4Product
SR4 Product id.
Definition: Azatrax.h:283
FCFSupport::System::PrintLtwice
bool PrintLtwice() const
Print a second copy of the switch list order flag.
Definition: System.h:537
Parsers::TurnoutBody::TurnoutRouteCount
int TurnoutRouteCount()
Count routes (P lines).
Definition: TurnoutBody.h:343
FCFSupport::Train::OnDuty
int OnDuty() const
Return the train's on duty time, in minutes since midnight.
Definition: Train.h:268
FCFSupport::PrinterDevice::Put
virtual bool Put(int number)
Print an integer.
Definition: Printer.h:382
RaildriverIO::DIGITAL6_M
@ DIGITAL6_M
Cab Buttons, whistle.
Definition: RaildriverIO.h:166
TTSupport::TimeTableSystem::SetDuplicateStationIndex
void SetDuplicateStationIndex(int i, int dup)
Set the duplicate station index for a given station.
Definition: TimeTableSystem.h:570
RaildriverIO::GetBlueButton17
bool GetBlueButton17() const
Get Blue Button 17.
Definition: RaildriverIO.h:447
Parsers::MRRXtrkCad::UNTERMSTRING
@ UNTERMSTRING
Definition: ParserClassesGroup.h:115
FCFSupport::System::carTypes
CarTypeMap carTypes
Car type map.
Definition: System.h:988
Parsers::TrackGraph::NodeValues::tracklist
IntegerList * tracklist
Track segments in block.
Definition: TrackGraph.h:604
Parsers::CornuBody::next
CornuBody * next
Next element.
Definition: CornuBody.h:201
FCFSupport::PDFFileStructures::Page
Describes a single page.
Definition: PDFPrinterSupport.h:684
TTSupport::TimeTableSystem::NumberOfStations
int NumberOfStations() const
Number of stations.
Definition: TimeTableSystem.h:506
FCFSupport::Station::Station
Station()
Default constructor.
Definition: Station.h:78
Parsers::TurnoutGraphic::maxX
float maxX
Maximum $X$ coordinate.
Definition: TrackGraph.h:258
FCFSupport::SwitchList::ResetLastIndex
void ResetLastIndex()
Reset the last index.
Definition: SwitchList.h:285
TTSupport::Train::AddNoteToStop
void AddNoteToStop(int istop, int note)
Add a note to a stop.
lcc::GridConnectMessage
A Grid Connect formatted CAN message.
Definition: lcc.tcl:758
FCFSupport::PDFFileStructures::FontDictionary::subType
string subType
The type of the font.
Definition: PDFPrinterSupport.h:985
TTSupport::Stop::FlagType
FlagType
Type of stop.
Definition: Train.h:146
FCFSupport::System::trainLastLocation
Industry * trainLastLocation
A trains last location.
Definition: System.h:1060
FCFSupport::TextPrinterDevice::PutLine
virtual bool PutLine(const string line)
Print out a string and follow it with a new line sequence.
FCFSupport::PrinterDevice::SetTypeWeight
virtual bool SetTypeWeight(TypeWeight weight)
Set the type weight.
Definition: Printer.h:342
ForEveryCab
int ForEveryCab(Tcl_Interp *interp, TimeTableSystem *timetable, Tcl_Obj *variable, Tcl_Obj *body)
Tcl looping construct for Cabs.
lcc::CANHeader
CAN Header type.
Definition: lcc.tcl:258
Parsers::MRRXtrkCad::NOTWORD
@ NOTWORD
Definition: ParserClassesGroup.h:116
FCFSupport::System::ReportCarsNotMoved
void ReportCarsNotMoved(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL) const
Report on cars not moved.
FCFSupport::Division::Home
FCFSupport::Industry * Home() const
Return the division's home yard.
Definition: Division.h:123
Parsers::SegPos::y
float y
$Y$ coordinate.
Definition: TrackGraph.h:137
Parsers::LayoutFile::CompressedGraphKamadaKawaiSpring
bool CompressedGraphKamadaKawaiSpring(double sidelength)
Run the BGL kamada_kawai_spring_layout for a given side length.
Definition: ParseFile.h:593
FCFSupport::System::RunOneManifest
void RunOneManifest(Train *train, bool boxMove, CarVector &consist, const FCFSupport::TrainDisplayCallback *traindisplay, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Run one manifest freight train.
TTSupport::TimeTableSystem::FindStorageTrack
StorageTrack * FindStorageTrack(int i, string name)
Find a storage track at a station.
Definition: TimeTableSystem.h:605
Parsers::MRRXtrkCad::yylloc
yyltype yylloc
Definition: ParserClassesGroup.h:174
azatrax
Azatrax C++ LibUSB 1.0 Interface.
Definition: Azatrax.h:87
Parsers::TrackGraph::TrackList
const IntegerList * TrackList(int nid) const
Return a block's tracklist.
TTSupport::Stop::SetLayover
void SetLayover(double period)
Update layover period.
Definition: Train.h:196
RaildriverIO::GetBlueButton24
bool GetBlueButton24() const
Get Blue Button 24.
Definition: RaildriverIO.h:496
Parsers::TurnoutBodyElt::ang1
float ang1
Another angle value.
Definition: TurnoutBody.h:152
TTSupport::TimeRange::operator>
bool operator>(const TimeRange &other) const
Greater than operator.
Definition: Station.h:213
FCFSupport::System::carsMovedOnce
int carsMovedOnce
The number of cars moved one time.
Definition: System.h:1078
FCFSupport::SwitchListElement::lastTrain
const Train * lastTrain
The train that previously handled this car.
Definition: SwitchList.h:206
TTSupport::StorageTrack::SetName
void SetName(string name_)
Set the storage track's name.
Definition: Station.h:310
FCFSupport::PDFFileStructures::IndirectObject::IndirectObject
IndirectObject(unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:161
TTSupport::StopVector
vector< Stop > StopVector
A vector of stops.
Definition: Train.h:296
yy_MRRXtrkCad_stype::trbe
TurnoutBodyElt * trbe
Definition: MRRXtrkCad.tab.h:75
Parsers::MRRXtrkCad::DRAW
@ DRAW
Definition: ParserClassesGroup.h:129
TTSupport::StringListFromString
bool StringListFromString(string strlinList, StringList &result)
Convert a flat string to a list of strings.
Parsers::IntegerList::IntAppend
static IntegerList * IntAppend(IntegerList *head, int newTail)
Add an element to the {end} of the list.
Definition: IntegerList.h:102
Parsers::TrackGraph::OnScript
const char * OnScript(int nid) const
Return the on action script.
FCFSupport::Car::Location
Industry * Location() const
Return the location of this car.
Definition: Car.h:303
Parsers::MRRXtrkCad::YY_MRRXtrkCad_ENUM_TOKEN
YY_MRRXtrkCad_ENUM_TOKEN
Definition: ParserClassesGroup.h:107
FCFSupport::System::CarsMovedTwice
int CarsMovedTwice() const
Return the number of cars moved twice.
Definition: System.h:488
FCFSupport::System::PrintAllLists
void PrintAllLists(const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner, FCFSupport::PrinterDevice *printer)
Print all of the various yard and switch lists.
TTSupport::Train::startSMile
double startSMile
Start scale mile.
Definition: Train.h:478
FCFSupport::Industry::usedLen
int usedLen
The used length.
Definition: Industry.h:320
FCFSupport::Car::SetDivisions
void SetDivisions(string d)
Set the car's division list.
Definition: Car.h:209
Parsers::ParseFile::SourceFile
const char * SourceFile() const
Return the name of the source file.
Definition: ParseFile.h:404
azatrax::Azatrax::cmd_SetChan2
@ cmd_SetChan2
Set channel 2 (MRD2 only)
Definition: Azatrax.h:163
TTSupport::Train::SetDeparture
void SetDeparture(int depart)
Update departure time.
Definition: Train.h:344
Parsers::LayoutFile::CompressedEdgeNode
int CompressedEdgeNode(int cnid, int edgenum) const
Next Edge node.
Definition: ParseFile.h:561
FCFSupport::PDFFileStructures::Type1FontDictionary::~Type1FontDictionary
~Type1FontDictionary()
Destructor.
Definition: PDFPrinterSupport.h:1092
FCFSupport::Train::Train
Train(Train &other)
Copy construtor.
Definition: Train.h:162
FCFSupport::PostScriptPrinterDevice::lines
int lines
The line count.
Definition: PostScriptPrinter.h:152
TTSupport::TimeRange
The TimeRange class implements a range of times.
Definition: Station.h:182
FCFSupport::PathName::PathName
PathName(const char *p)
Constructor, given a plain C string.
Definition: PathName.h:87
FCFSupport::PDFFileStructures::PageLabelDictionary::PageLabelDictionary
PageLabelDictionary(NumberStyle s=None, const string p="", int st=1, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:843
xpressnet::Reverse
@ Reverse
Reverse.
Definition: xpressnet.tcl:531
RaildriverIO::GetBlueButton27
bool GetBlueButton27() const
Get Blue Button 27.
Definition: RaildriverIO.h:517
FCFSupport::PDFFileStructures::Rectangle::X2
double X2() const
Return the second X coordinate.
Definition: PDFPrinterSupport.h:621
Parsers::RouteVec::positionName
char * positionName
Name of route.
Definition: TrackGraph.h:326
FCFSupport::System::Today
const string Today() const
Return today's date.
TTSupport::StorageTrack::Read
istream & Read(istream &stream)
Read Method.
FCFSupport::PrinterDevice::Bold
@ Bold
Heavy (bold) weight.
Definition: Printer.h:323
FCFSupport::Car::SetLastTrain
void SetLastTrain(const Train *lt)
Set the last train to move this car.
Definition: Car.h:285
azatrax::SL2::SetQ1Q2open
ErrorCode SetQ1Q2open() const
Outputs Q1 & Q2 both set to open circuit (disconnects switch machine #1)
Definition: sl2.h:89
RaildriverIO::Reverser
unsigned char Reverser
Reverser lever, 0-255.
Definition: RaildriverIO.h:719
FCFSupport::PDFFileStructures::CatalogDictionary::AddPage
void AddPage(Page *thepage)
Add a page.
Definition: PDFPrinterSupport.h:1171
FCFSupport::PDFFileStructures::IndirectFloatVector::~IndirectFloatVector
~IndirectFloatVector()
Destructor.
FCFSupport::PDFFileStructures::IndirectObjectDictionary::elements
NamedIndirectObjectMap elements
The elements in this dictionary.
Definition: PDFPrinterSupport.h:458
Parsers::BezierBodyElt::GetCurveSegment
int GetCurveSegment(float &r, float &x, float &y, float &a0, float &a1) const
Fetch curve segment data.
Definition: BezierBody.h:179
yy_MRRXtrkCad_stype::ival
int ival
Definition: MRRXtrkCad.tab.h:69
Parsers::SegVector::gPos1
SegPos gPos1
First graphic position.
Definition: TrackGraph.h:182
FCFSupport::OwnerMap
map< string, Owner *, less< string > > OwnerMap
Map of owners, indexed by their initials.
Definition: Owner.h:133
Parsers::RouteVec::posList
IntegerList * posList
List of segments used by the route.
Definition: TrackGraph.h:329
Parsers::BezierBodyElt::theEnd
TrackBodyElt * theEnd
Pointer to T or E line data.
Definition: BezierBody.h:103
FCFSupport::System::shiftNumber
int shiftNumber
Current shift number.
Definition: System.h:1006
FCFSupport::System::CarMovements
int CarMovements() const
Return the total number of car movements.
Definition: System.h:497
azatrax::MRD::status2_union::theBits
struct azatrax::MRD::status2_union::@2 theBits
Status byte as bit fields.
FCFSupport::PDFFileStructures::PageTree::parent
PageTree * parent
This page tree's parent.
Definition: PDFPrinterSupport.h:792
FCFSupport::PDFFileStructures::Rectangle::Rectangle
Rectangle(double x_1, double y_1, double x_2, double y_2, unsigned long int objNum=0L, unsigned short int genNum=0, CrossReferenceTable *tab=NULL)
Constructor.
Definition: PDFPrinterSupport.h:602
RaildriverIO::SpeakerOn
void SpeakerOn(char **outmessage=NULL)
Turn the speaker on.
azatrax::Azatrax::Identify_1
ErrorCode Identify_1() const
Identify 1.
Definition: Azatrax.h:295
FCFSupport::SwitchList::PickIndex
unsigned int PickIndex() const
Return the pick index.
Definition: SwitchList.h:279
FCFSupport::LogMessageCallback
A callback to log a message.
Definition: CallBack.h:124
Parsers::SegVector::L
float L
$L$ value.
Definition: TrackGraph.h:206
FCFSupport::PrinterDevice::~PrinterDevice
virtual ~PrinterDevice()
Destructor.
Definition: Printer.h:403
Parsers::TurnoutBodyElt::GetTurnoutStraightSegment
int GetTurnoutStraightSegment(float &x1, float &y1, float &x2, float &y2) const
Fetch turnout straight segment data.
Definition: TurnoutBody.h:214
azatrax::SR4::status1_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: sr4.h:275
Parsers::TrackGraph::NodeValues::Cleanup
void Cleanup()
Cleanup member function.
Definition: TrackGraph.h:671
azatrax::Azatrax::StateDataPacket::status1
uint8_t status1
Status byte 1 (All Devices)
Definition: Azatrax.h:423
Parsers::TrackGraph::LengthOfNode
float LengthOfNode(int nid) const
Return the track length of a node.
FCFSupport::SwitchList::NextSwitchListForCarAndIndustry
int NextSwitchListForCarAndIndustry(const Car *car, const Industry *industry)
Return the next switch list list element for a selected car and industry.
Parsers::BezierBodyElt::~BezierBodyElt
~BezierBodyElt()
Destructor.
Definition: BezierBody.h:133
FCFSupport::System::Randomize
void Randomize(int seed)
Set the random seed.
Definition: System.h:572
azatrax::SL2::SetQ3Q4open
ErrorCode SetQ3Q4open() const
Outputs Q3 & Q4 both set to open circuit (disconnects switch machine #2)
Definition: sl2.h:95
TTSupport::TimeTableSystem::SetPrintOption
void SetPrintOption(const char *key, string value)
Set a print option.
Definition: TimeTableSystem.h:819
Parsers::TrackGraph::NodeValues::turnoutnumber
int turnoutnumber
Number of the turnout.
Definition: TrackGraph.h:607
Parsers::CornuBodyElt::segmentId
int segmentId
Segment index (S or C lines).
Definition: CornuBody.h:106
TTSupport::TimeTableSystem::Name
const char * Name() const
Return the name of the system.
Definition: TimeTableSystem.h:885
FCFSupport::System::FixedRouteMirrorCheck
bool FixedRouteMirrorCheck(Car *Cx, Industry *Ix)
Check to see if a certain car can be mirrored on a fixed route at a certain industry.
YY_MRRXtrkCad_INHERIT::YY_MRRXtrkCad_ENUM_TOKEN
YY_MRRXtrkCad_ENUM_TOKEN
Definition: MRRXtrkCad.tab.h:437
GScale
const double GScale
Definition: MRRXtrkCad.tab.h:44
LabelSpinBox::configure
configure(path,...)
Procedure to configure a LabelSpinBox.
Parsers::TrackBody::TrackBodyLength
static int TrackBodyLength(const TrackBody *tb)
Compute the count of track endpoints.
Definition: TrackBody.h:182
TTSupport::Stop::Read
istream & Read(istream &stream, const CabNameMap cabs)
Read an object from a stream.
FCFSupport::PDFFileStructures::CrossReferenceTable::FreeObject
void FreeObject(unsigned long int objNum)
Free up a object slot in the cross reference table.
YY_MRRXtrkCad_STYPE
#define YY_MRRXtrkCad_STYPE
Definition: MRRXtrkCad.tab.h:83
FCFSupport::PrinterDevice::One
@ One
Single wide characters.
Definition: Printer.h:307
FCFSupport::SwitchListElement::PickLocation
const Industry * PickLocation() const
Return the pickup location for this switch list element.
Definition: SwitchList.h:150
TTSupport::Stop::Note
int Note(int i) const
Return the ith note.
Definition: Train.h:220
FCFSupport::Industry::statsLen
int statsLen
The stats length.
Definition: Industry.h:317
FCFSupport::System::STATION
@ STATION
Report by station.
Definition: System.h:808
Parsers::MRRXtrkCad::RESTOFLINE
@ RESTOFLINE
Definition: ParserClassesGroup.h:112
FCFSupport::PDFFileStructures::ResourceDictionary
Resource dictionary.
Definition: PDFPrinterSupport.h:468
TTSupport::Train::name
string name
Name of the train.
Definition: Train.h:457
FCFSupport::PDFPrinterDevice::crossReferenceTable
PDFFileStructures::CrossReferenceTable crossReferenceTable
PDF Cross reference table.
Definition: PDFPrinter.h:142
Parsers::BezierBodyElt::pos1
Pos pos1
First position.
Definition: BezierBody.h:118
Parsers::MRRXtrkCad::FLOAT
@ FLOAT
Definition: ParserClassesGroup.h:110
FCFSupport::LQ24PrinterDevice::currentColumn
int currentColumn
Current column.
Definition: LQ24Printer.h:148
FCFSupport::Station::Comment
const char * Comment() const
Return the station's comment.
Definition: Station.h:121
lcc::CanMessage
A CAN Message, containing a 29-bit header and upto 8 bytes of data.
Definition: lcc.tcl:605
FCFSupport::System::Summary
@ Summary
Report summary.
Definition: System.h:782
TTSupport::TimeTableSystem::IthStation
TTSupport::Station * IthStation(int i)
Return Ith station object.
Definition: TimeTableSystem.h:513
TTSupport::PathName::pathname
string pathname
The pathname string.
Definition: PathName.h:185
FCFSupport::System::PrintIndustryHeader
void PrintIndustryHeader(FCFSupport::PrinterDevice *printer) const
Print the industry header.
RaildriverIO::DIGITAL5_M
@ DIGITAL5_M
Pan, Cab Buttons.
Definition: RaildriverIO.h:160
FCFSupport::System::ReadTrainOrders
bool ReadTrainOrders(char **outmessage=NULL)
Read in the train orders file.
lcc::nid_or_null
Node ID regexp pattern or the empty string.
Definition: lcc.tcl:1033
Parsers::SegVector::ang0
float ang0
First angle.
Definition: TrackGraph.h:197
azatrax::MRD::StopwatchTicking
bool StopwatchTicking() const
Stopwatch Ticking?
Definition: mrd.h:185
azatrax::SR4::status1_union::theBits
struct azatrax::SR4::status1_union::@6 theBits
Status byte as bit fields.
FCFSupport::PDFPrinterDevice::horizontalScaling
int horizontalScaling
Current horizontal scaling.
Definition: PDFPrinter.h:172
FCFSupport::Train::SetMaxWeight
void SetMaxWeight(int newmaxweight)
Set the train's maximum weight class.
Definition: Train.h:258
FCFSupport::PDFFileStructures::ResourceDictionary::font
IndirectObjectDictionary font
A Dictionary that maps resource names to font dictionaries.
Definition: PDFPrinterSupport.h:575
Parsers::TrackGraph::EdgeLength
float EdgeLength(int nid, int edgenum) const
Returns the length of an edge.
FCFSupport::CarType::MaxCarTypes
@ MaxCarTypes
The maximum number of car types (based on 7-bit ASCII).
Definition: CarType.h:88
azatrax::MRD::Latch_2
bool Latch_2() const
Latch two.
Definition: mrd.h:167
FCFSupport::System::trainTons
int trainTons
The number of tons on a train.
Definition: System.h:1042
gettext::_
_(...)
Get a localized from the message catalog and deal with formating possible arguments,...
RaildriverIO::SetLEDS
void SetLEDS(const char *ledstring, char **outmessage=NULL)
Set the Speedometer LEDs.
TTSupport::TimeTableSystem::AddCab
Cab * AddCab(string name, string color)
Add a new cab to the system.
TTSupport::Station::Read
istream & Read(istream &stream)
Read an object from a stream.
RaildriverIO::GetBlueButton1
bool GetBlueButton1() const
Get Blue Button 1.
Definition: RaildriverIO.h:335
Parsers::TrackGraph::compressedP
bool compressedP
Is graph compressed?
Definition: TrackGraph.h:824
FCFSupport::System::owners
OwnerMap owners
Car owner map.
Definition: System.h:994
RaildriverIO::GetIndependBrake
unsigned char GetIndependBrake() const
Get Indepenent Brake value (0-255).
Definition: RaildriverIO.h:313
Parsers::SegVector::S
@ S
Straight segment.
Definition: TrackGraph.h:167
ForEveryNote
int ForEveryNote(Tcl_Interp *interp, TimeTableSystem *timetable, Tcl_Obj *variable, Tcl_Obj *body)
Tcl looping construct for notes.
FCFSupport::PDFPrinterDevice::currentColumnFraction
double currentColumnFraction
Current column fraction.
Definition: PDFPrinter.h:193
TTSupport::StationTimes::operator=
StationTimes & operator=(const StationTimes &other)
Assignment operator: copy the fields from another StationTimes object.
Definition: TimeTableSystem.h:194
FCFSupport::PDFPrinterDevice::OpenPrinter
virtual bool OpenPrinter(const string filename, PageSize pageSize=Letter, char **outmessage=NULL)
Open the printer file.
Parsers::CornuBodyElt::ang0
float ang0
An angle value.
Definition: CornuBody.h:124
TTSupport::Occupied
This class records a train sitting on a storage track during a specified time frame.
Definition: Station.h:94
Parsers::TrackGraph::Point::x
double x
X coordinate.
Definition: TrackGraph.h:757
FCFSupport::System::CarTypesFile
const char * CarTypesFile() const
Return the Car Types file's full path name.
Definition: System.h:249
FCFSupport::PostScriptPrinterDevice::pages
int pages
The page count.
Definition: PostScriptPrinter.h:149
azatrax::MRD::status1_union::reserved
unsigned int reserved
Reserved bits.
Definition: mrd.h:243
FCFSupport::Industry::MaxWeightClass
int MaxWeightClass() const
Maximum weight class this industry can handle.
Definition: Industry.h:230
TTSupport::TimeTableSystem::DirectionName
string DirectionName
Direction Name.
Definition: TimeTableSystem.h:1144
TTSupport::PathName::operator+=
PathName & operator+=(const PathName other)
Append a pathname.
FCFSupport::Division::Division
Division(Division &other)
Copy constructor.
Definition: Division.h:83
TTSupport::Stop::Stop
Stop(const Stop &other)
Copy constructor, create a stop from another stop.
Definition: Train.h:165
FCFSupport::System::TrainIndex
int TrainIndex(const FCFSupport::Train *train) const
Return a train's index.
Parsers::MRRXtrkCad::fieldflag
int fieldflag
Definition: ParserClassesGroup.h:191
azatrax::MRD::status2_union
Status byte 2 union type.
Definition: mrd.h:247
FCFSupport::SwitchListElement::DropStopEQ
bool DropStopEQ(int Px) const
Is the drop stop at the stop number specified?
Definition: SwitchList.h:183
FCFSupport::PDFPrinterDevice::needPage
bool needPage
Need page flag.
Definition: PDFPrinter.h:181
FCFSupport::PostScriptPrinterDevice::Put
virtual bool Put(const string text)
Print a string of text.
FCFSupport::PDFPrinterDevice::~PDFPrinterDevice
virtual ~PDFPrinterDevice()
Destructor.
FCFSupport::PDFFileStructures::PDFStream::~PDFStream
~PDFStream()
Destructor.
Definition: PDFPrinterSupport.h:669
Parsers::TrackGraph::NodeValues::onscript
char * onscript
On action script.
Definition: TrackGraph.h:634
FCFSupport::System::FirstTrain
TrainMap::const_iterator FirstTrain() const
Iterator of the first train in the train map.
Definition: System.h:905
FCFSupport::SwitchListElement::StationOrIndustry::industry
const Industry * industry
An industry stop, for Manifest Freights.
Definition: SwitchList.h:84
FCFSupport::System::TotalShifts
int TotalShifts() const
Return the total number of shifts.
Definition: System.h:415
Parsers::MRRXtrkCad::SCALE
@ SCALE
Definition: ParserClassesGroup.h:122
TTSupport::stringVector
vector< string > stringVector
A Vector of strings.
Definition: PathName.h:66
azatrax::SR4::Input_1_Enabled
bool Input_1_Enabled() const
Input 1 enabled? Return true if I1 can affect outputs.
Definition: sr4.h:223
RaildriverIO::THROTTLE
@ THROTTLE
Throttle lever.
Definition: RaildriverIO.h:191
TTSupport::PathName
A Class that portably represents a pathname.
Definition: PathName.h:75
FCFSupport::Car::ltwt
int ltwt
This car's empty weight.
Definition: Car.h:380
azatrax::MRD::SetChan2
ErrorCode SetChan2() const
Set channel 2 relays and status bits.
Definition: mrd.h:117
FCFSupport::Car::Length
int Length() const
Return the car's length.
Definition: Car.h:213
Parsers::SegVector::len0
float len0
First length parameter.
Definition: TrackGraph.h:212
TTSupport::TimeTableSystem::TotalLength
double TotalLength() const
The total length of the route in scale miles.
Definition: TimeTableSystem.h:542
azatrax::MRD::Sense_1
bool Sense_1() const
Sensor one active.
Definition: mrd.h:149
FCFSupport::PDFFileStructures::PageLabelDictionary
Page label dictionary.
Definition: PDFPrinterSupport.h:811
RaildriverIO::GetBell
bool GetBell() const
Get Bell.
Definition: RaildriverIO.h:622
azatrax::SR4::status3_union::input_1_enabled
unsigned int input_1_enabled
Input 1 enabled?
Definition: sr4.h:315
FCFSupport::PDFFileStructures::Type1FontDictionary::firstChar
int firstChar
First character in widths array;.
Definition: PDFPrinterSupport.h:1106
Parsers::SegVector::len1
float len1
Second length parameter.
Definition: TrackGraph.h:215
Parsers::TrackGraph::Turntable
@ Turntable
Turntable.
Definition: TrackGraph.h:520
FCFSupport::System::PrintAnalysisHeader
void PrintAnalysisHeader(FCFSupport::PrinterDevice *printer) const
Print an analysis header.
lcc::CanTransport
Logical transport of CAN Messages.
Definition: lcc.tcl:1125
TTSupport::Stop::RemoveNote
void RemoveNote(int note)
Remove note.
Definition: Train.h:237
TTSupport::StorageTrack::RemovedStoredTrain
bool RemovedStoredTrain(double from, double to)
Remove stored train.
FCFSupport::SwitchListElement::dropStop
StationOrIndustry dropStop
The station or industry where this car will be dropped off at.
Definition: SwitchList.h:209
FCFSupport::PrinterDevice::ClosePrinter
virtual bool ClosePrinter(char **outmessage)
Close the printer.
Definition: Printer.h:295
FCFSupport::PrinterDevice::Normal
@ Normal
Normal weight.
Definition: Printer.h:320
Parsers::TrackGraph::CompressedEdgeValues::length
float length
Track length from opposite edge.
Definition: TrackGraph.h:743
Parsers::MRRXtrkCad::TRK
@ TRK
Definition: ParserClassesGroup.h:156
RaildriverIO::LEDCommand
static const int LEDCommand
LED Command code.
Definition: RaildriverIO.h:690
FCFSupport::LQ24PrinterDevice::~LQ24PrinterDevice
virtual ~LQ24PrinterDevice()
Destructor.
ForEveryPrintOption
int ForEveryPrintOption(Tcl_Interp *interp, TimeTableSystem *timetable, Tcl_Obj *variable, Tcl_Obj *body)
Tcl looping construct for print options.
RaildriverIO::BailOff
unsigned char BailOff
Bail Off (Independent Brake lever), 0-255.
Definition: RaildriverIO.h:731
TTSupport::StorageTrack::Write
ostream & Write(ostream &stream) const
Write method.
Parsers::TrackGraph::CompressedNodeValues
Compressed graph node values.
Definition: TrackGraph.h:767
Parsers::BezierBodyElt::ang0
float ang0
An angle value.
Definition: BezierBody.h:124
FCFSupport::Train::MaxLength
int MaxLength() const
Return the train's maximum length.
Definition: Train.h:261
FCFSupport::Car::LdLmt
int LdLmt() const
Return the car's load limit.
Definition: Car.h:237
ReadConfiguration::WriteConfiguration
WriteConfiguration(filename, configurationArrayName)
This procedure writes the configuration contianed in configurationArrayName to the file named by the ...
Parsers::TrackGraph::c_nodes
CompressedGraph c_nodes
Compressed Graph adjacency_list.
Definition: TrackGraph.h:815
FCFSupport::LogMessageCallback::Infomational
@ Infomational
Random informational messages.
Definition: CallBack.h:132
FCFSupport::Station::name
string name
The station's name.
Definition: Station.h:147
FCFSupport::LQ24PrinterDevice::currentSlant
TypeSlant currentSlant
Current slant.
Definition: LQ24Printer.h:160
Parsers::BezierBodyElt::ang1
float ang1
Another angle value.
Definition: BezierBody.h:126
LabelComboBox::post
post(path,...)
Pass through procedure for the ComboBox post function.
TTSupport::TimeRange::From
double From() const
Return the low end of the range.
Definition: Station.h:194
Parsers::SegPos
Segment position, endpoint or other coordinate.
Definition: TrackGraph.h:131
tcl_socketpair
list tcl_socketpair()
Tcl interface to socketpair.
FCFSupport::PDFFileStructures::Type1FontDictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write an object directly.
FCFSupport::PDFFileStructures::ResourceDictionary::~ResourceDictionary
~ResourceDictionary()
Destructor.
Definition: PDFPrinterSupport.h:482
FCFSupport::Industry::Industry
Industry(Industry &other)
Copy constructor.
Definition: Industry.h:104
azatrax::MRD::status1_union
Status byte 1 union type.
Definition: mrd.h:227
Parsers::LayoutFile::IsCompressed
bool IsCompressed() const
Definition: ParseFile.h:571
Parsers::TrackGraph::NodeValues::tgr
TurnoutGraphic * tgr
Turnout graphic (if type is turnout).
Definition: TrackGraph.h:595
RaildriverIO::INDEPENDBRK
@ INDEPENDBRK
Independent Brake lever.
Definition: RaildriverIO.h:203
YY_MRRXtrkCad_INHERIT::YY_MRRXtrkCad_CHAR
int YY_MRRXtrkCad_CHAR
Definition: MRRXtrkCad.tab.h:528
azatrax::SR4::status1_union::Q2_state
unsigned int Q2_state
Q2 state.
Definition: sr4.h:281
Parsers::MRRXtrkCad::Y
@ Y
Definition: ParserClassesGroup.h:153
Parsers::TrackGraph::Turnout
@ Turnout
Turnout or crossing.
Definition: TrackGraph.h:517
Parsers::TrackGraph::CompressedNodeSegments
IntegerList * CompressedNodeSegments(int cnid) const
Raw nodes in a compressed graph node.
FCFSupport::PDFPrinterDevice::info
PDFFileStructures::InformationDirectory * info
Information dictionary.
Definition: PDFPrinter.h:157
azatrax::Azatrax::DeviceConnectionList
DeviceConnectionList
Device connection list constants.
Definition: Azatrax.h:265
FCFSupport::System::Type
@ Type
Report on one type.
Definition: System.h:780
FCFSupport::System::SetPrintYards
void SetPrintYards(bool flag)
Set the print yard lists flag.
Definition: System.h:513
FCFSupport::PostScriptPrinterDevice::~PostScriptPrinterDevice
virtual ~PostScriptPrinterDevice()
Destructor.
Parsers::TurnoutBodyElt::R
float R
$R$ value (for J lines).
Definition: TurnoutBody.h:155
FCFSupport::System::PrintOneAnalysis
void PrintOneAnalysis(const Industry *Ix, int &carsToDiv, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer) const
Print one analysis report.
RaildriverIO::GetBlueButton10
bool GetBlueButton10() const
Get Blue Button 10.
Definition: RaildriverIO.h:398
azatrax::MRD::OperatingMode_Type
OperatingMode_Type
Operating Mode codes.
Definition: mrd.h:91
Parsers::MRRXtrkCad::S
@ S
Definition: ParserClassesGroup.h:150
FCFSupport::Station::NumberOfIndustries
int NumberOfIndustries() const
Return the number of industries at this station.
Definition: Station.h:124
xpressnet
Namespace that holds the XPressNet interface code.
Definition: xpressnet.tcl:37
IntegerList.h
FCFSupport::System::ReportCars
void ReportCars(const FCFSupport::WorkInProgressCallback *WIP, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer, char **outmessage=NULL) const
Report on all cars.
Parsers::CornuBodyElt::MakeTrackEnd
static CornuBodyElt * MakeTrackEnd(TrackBodyElt *tbe)
Create an endpoint (T or E lines).
Definition: CornuBody.h:137
azatrax::SR4::status1_union::Q1_state
unsigned int Q1_state
Q1 state.
Definition: sr4.h:279
Parsers::BezierBodyElt::BezierEnd
@ BezierEnd
T or E line.
Definition: BezierBody.h:86
RaildriverIO::Digital3
unsigned char Digital3
Blue Buttons 17-24.
Definition: RaildriverIO.h:746
Station.h
FCFSupport::Owner::name
string name
This owner's name.
Definition: Owner.h:123
LabelSelectColor::configure
configure(path,...)
Configuration procedure: configure one or more options for this widget.
FCFSupport::DivisionSymbolMap
map< char, Division *, less< char > > DivisionSymbolMap
A map of divisions, by division symbol (a character).
Definition: Division.h:178
FCFSupport::System::PrintDispatch
bool PrintDispatch() const
Print dispatcher report sheet.
Definition: System.h:544
Parsers::LayoutFile::parser
MRRXtrkCad * parser
Parser.
Definition: ParseFile.h:433
linuxgpio::in
@ in
Input Pin.
Definition: LinuxGpio.tcl:43
FCFSupport::System::sessionNumber
int sessionNumber
Current session number.
Definition: System.h:1003
TTSupport::Station::Station
Station(string name_="Unknown", double smile_=0)
Construct a station object, given a name and a scale mile location.
Definition: Station.h:549
FCFSupport::Car::trips
int trips
The number of trips this car has made.
Definition: Car.h:386
FCFSupport::System::ShiftNumber
int ShiftNumber() const
Return the shift number.
Definition: System.h:412
FCFSupport::Car::Peek
bool Peek() const
Return the peek flag.
Definition: Car.h:336
Parsers::MRRXtrkCad::yynerrs
int yynerrs
Definition: ParserClassesGroup.h:176
Parsers::TrackGraph::CompressedEdgeNode
int CompressedEdgeNode(int cnid, int edgenum) const
Next Edge node.
FCFSupport::System::StatsFile
const char * StatsFile() const
Return the Statistics file's full path name.
Definition: System.h:255
FCFSupport::Car::operator=
Car & operator=(Car &other)
Assignment operator.
Definition: Car.h:114
Parsers::TurnoutBodyElt::routeList
IntegerList * routeList
Segment list (P Lines).
Definition: TurnoutBody.h:121
FCFSupport::Train::Description
const char * Description() const
Return the train's description.
Definition: Train.h:237
FCFSupport::Owner::comment
string comment
Commentary about this owner.
Definition: Owner.h:126
FCFSupport::PDFFileStructures::IndirectObjectDictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write the elements of a dictionary.
Definition: PDFPrinterSupport.h:439
FCFSupport::System::carsAtDest
int carsAtDest
The number of cars at their destinations.
Definition: System.h:1072
azatrax::SR4::Q4_State
bool Q4_State() const
Q4 state, return true if Q4 is closed.
Definition: sr4.h:217
RaildriverIO::RailDriverModernDesktop
static const unsigned short int RailDriverModernDesktop
Rail Driver product code.
Definition: RaildriverIO.h:678
OScale
const double OScale
Definition: MRRXtrkCad.tab.h:42
FCFSupport::Industry::TrackLen
int TrackLen() const
Return the amount of track at this industry.
Definition: Industry.h:209
FCFSupport::System::TrainDropOneCar
void TrainDropOneCar(Car *car, Train *train, CarVector::iterator Lx, CarVector &consist, bool &didAction, int Px, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Drop a single car.
Parsers::TrackGraph::NameOfNode
const char * NameOfNode(int nid) const
Return a block's or switchmotor's name.
TTSupport::Occupied::from
double from
The start time of the occupation.
Definition: Station.h:168
FCFSupport::Car::Destination
Industry * Destination() const
Return the destination of this car.
Definition: Car.h:309
FCFSupport::PDFFileStructures::PageTree::AddPageTree
void AddPageTree(PageTree *thepagetree)
Add a tree of pages.
Definition: PDFPrinterSupport.h:778
FCFSupport::Division::stations
StationVector stations
The vector of stations in the division.
Definition: Division.h:156
FCFSupport::PDFFileStructures::PageLabelDictionary::LowerLetters
@ LowerLetters
Lowercase letters.
Definition: PDFPrinterSupport.h:833
FCFSupport::PDFFileStructures::ResourceDictionary::procSets
PDFNameArray procSets
An array of predefined preseture set names.
Definition: PDFPrinterSupport.h:582
azatrax::Azatrax::cmd_OutputRelayBlink
@ cmd_OutputRelayBlink
3 bytes - Sets output relay contacts to blinking state.
Definition: Azatrax.h:208
FCFSupport::PDFFileStructures::IndirectObject::GenerationNumber
unsigned short int GenerationNumber() const
Return this object's generation number.
Definition: PDFPrinterSupport.h:221
FCFSupport::PostScriptPrinterDevice::ClosePrinter
virtual bool ClosePrinter(char **outmessage)
Close the printer.
TTSupport::TimeTableSystem::Filename
const char * Filename() const
Return file pathname.
Definition: TimeTableSystem.h:888
Parsers::LayoutFile::TrackList
const IntegerList * TrackList(int nid) const
Return a block's tracklist.
Definition: ParseFile.h:496
TTSupport::PathName::SameDirectory
bool SameDirectory(const PathName other) const
Are the two pathnames in the same directory?
Definition: PathName.h:145
LabelSpinBox::cget
cget(path, option)
Procedure to get a configuation option.
FCFSupport::System
This is the main Freight Car Forwarder class.
Definition: System.h:198
FCFSupport::PDFFileStructures::IndirectObject::objectNumber
unsigned long int objectNumber
The object number.
Definition: PDFPrinterSupport.h:259
FCFSupport::SwitchList::limitCars
int limitCars
The limit index.
Definition: SwitchList.h:315
FCFSupport::System::ShowCarMovements
void ShowCarMovements(bool showAll, const FCFSupport::Industry *Ix, const FCFSupport::Train *Tx, const FCFSupport::LogMessageCallback *Log, const FCFSupport::ShowBannerCallback *banner) const
Show all car movements.
Parsers::CornuBodyElt::Pos::y
float y
$Y$ coordinate.
Definition: CornuBody.h:115
FCFSupport::System::WriteOneCarToDisk
bool WriteOneCarToDisk(Car *car, ostream &stream)
Function to write one car to disk.
azatrax::Azatrax::GetStateData
ErrorCode GetStateData()
Get State Data.
TTSupport::PathName::FullPath
string FullPath() const
Return the full pathname.
Definition: PathName.h:159
Parsers::IntegerList::Next
IntegerList * Next()
Next pointer accessor (non-Const version).
Definition: IntegerList.h:145
FCFSupport::PDFFileStructures::IndirectObject::FileOffset
streampos FileOffset() const
Return this object's file offset.
Definition: PDFPrinterSupport.h:226
FCFSupport::SwitchListElement::pickTrain
const Train * pickTrain
The train picking this car up.
Definition: SwitchList.h:203
CTCPanel::trackworkmethods
trackworkmethods()
Macro to include trackwork drawing methods.
FCFSupport::System::TrainLocalOriginate
void TrainLocalOriginate(Train *train, bool boxMove, int Px, CarVector &consist, bool &didAction, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Make up a local train.
azatrax::SR4::Input_2_Enabled
bool Input_2_Enabled() const
Input 2 enabled? Return true if I2 can affect outputs.
Definition: sr4.h:229
FCFSupport::System::TrainLocalPickups
void TrainLocalPickups(Train *train, bool boxMove, int Px, CarVector &consist, bool &didAction, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Pick up cars for a local train (box move or way freight).
TTSupport::Stop::AddNote
void AddNote(int note)
Add a note.
Definition: Train.h:227
Parsers::TurnoutGraphic::numSegments
int numSegments
Number of segments.
Definition: TrackGraph.h:264
TTSupport::StringListToString
const char * StringListToString(const StringList &list)
Convert a list of strings to a flat string.
FCFSupport::TrainDisplayCallback::~TrainDisplayCallback
virtual ~TrainDisplayCallback()
Destructor.
Definition: CallBack.h:210
FCFSupport::StationMap
map< int, Station *, less< int > > StationMap
A station map by integer index.
Definition: Station.h:167
FCFSupport
Namespace to hold all of the FCF Support code.
Definition: System.h:92
azatrax::SR4::status2_union::sense_2
unsigned int sense_2
Sense 2.
Definition: sr4.h:299
azatrax::Azatrax::handle
struct libusb_device_handle * handle
USB Device Handle.
Definition: Azatrax.h:402
FCFSupport::PostScriptPrinterDevice::OpenPrinter
virtual bool OpenPrinter(const string filename, PageSize pageSize=Letter, char **outmessage=NULL)
Member function to open the printer.
FCFSupport::Owner::Name
const char * Name() const
Return this owner's name.
Definition: Owner.h:112
Parsers::TrackGraph::NodeValues::aspectlist
StringPairList * aspectlist
Aspect list (name, script pairs).
Definition: TrackGraph.h:625
azatrax::Azatrax::cmd_Q3negQ4pos
@ cmd_Q3negQ4pos
(SL2 only) Sets output terminal Q3 to negative, Q4 to positive.
Definition: Azatrax.h:179
FCFSupport::CarType::group
char group
The group code.
Definition: CarType.h:148
azatrax::SR4::Sense_2_Live
bool Sense_2_Live() const
Sense 2, return true if input line 2 is now activated.
Definition: sr4.h:253
FCFSupport::PDFFileStructures::PDFNameArray::PDFNameArray
PDFNameArray()
Constructor.
Definition: PDFPrinterSupport.h:350
FCFSupport::Industry::loadTypes
string loadTypes
The vector of loaded car type charactes.
Definition: Industry.h:284
FCFSupport::LQ24PrinterDevice::DC2
@ DC2
Device control 2.
Definition: LQ24Printer.h:180
azatrax::MRD::Latch_1
bool Latch_1() const
Latch one.
Definition: mrd.h:161
TTSupport::Train::Write
ostream & Write(ostream &stream) const
Write object to a stream.
FCFSupport::Train::BoxMove
@ BoxMove
A Box Move train.
Definition: Train.h:143
azatrax::SR4::Q1_State
bool Q1_State() const
Q1 state, return true if Q1 is closed.
Definition: sr4.h:199
FCFSupport::Train::NumberOfOrders
int NumberOfOrders() const
Return the number of train orders for this train.
Definition: Train.h:284
Parsers::TrackGraph::NumEdges
int NumEdges(int nid) const
Returns the number of edges for the specificed node id.
FCFSupport::PDFFileStructures::CatalogDictionary::pages
PageTree * pages
Pages.
Definition: PDFPrinterSupport.h:1208
PanedWindow
A modified version of the BWidget PanedWindow.
Definition: panedw.tcl:20
Parsers::TrackGraph::CompressedNodeValues::position
Point position
Node's graphical position.
Definition: TrackGraph.h:776
FCFSupport::PDFFileStructures::Rectangle::Y2
double Y2() const
Return the second Y coordinate.
Definition: PDFPrinterSupport.h:624
azatrax::Azatrax::cmd_DisableExternal
@ cmd_DisableExternal
Disable External Changes (MRD2 only)
Definition: Azatrax.h:167
FCFSupport::PDFFileStructures::CrossReferenceTable
The cross reference table object.
Definition: PDFPrinterSupport.h:103
RaildriverIO::REVERSER_M
@ REVERSER_M
Reverser lever.
Definition: RaildriverIO.h:90
Parsers::CornuBodyElt::ang1
float ang1
Another angle value.
Definition: CornuBody.h:126
FCFSupport::PauseCallback::~PauseCallback
virtual ~PauseCallback()
The destructor.
Definition: CallBack.h:275
Parsers::TrackGraph::CompressedNodeVector
std::vector< graph_traits< CompressedGraph >::vertex_descriptor > CompressedNodeVector
Definition: TrackGraph.h:837
Parsers::BezierBody::ConsBezierBody
static BezierBody * ConsBezierBody(BezierBodyElt *trbe, BezierBody *trb)
Alternitive constructor function.
Definition: BezierBody.h:218
TTSupport::StorageTrackMap
map< string, StorageTrack, less< string > > StorageTrackMap
Storage track map.
Definition: Station.h:529
cmri::SUSIC
@ SUSIC
Super Classic Universal Serial Interface Card.
Definition: cmri.tcl:82
Parsers::MRRXtrkCad::lookup_word
int lookup_word(const char *word) const
TTSupport::StorageTrack::UpdateStoredTrainArrival
const Occupied * UpdateStoredTrainArrival(double from, double to, double newArrival)
Update a train's arrival time.
FCFSupport::Industry::Industry
Industry(char t, Station *st, const char *n, int tl, int al, int p, bool r, char h, Industry *m, int pl, int c, const char *dcl, int mcl, const char *lt, const char *et)
Full constructor.
Definition: Industry.h:172
FCFSupport::System::printAtwice
bool printAtwice
Flag for printing a second copy of alphabetical lists.
Definition: System.h:1108
azatrax::SR4::SR4
SR4(const char *serialnumber, char **outmessage=NULL)
Base constructor.
Definition: sr4.h:79
Parsers::CornuBody::element
CornuBodyElt * element
Current element.
Definition: CornuBody.h:199
FCFSupport::PDFFileStructures::Dictionary::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write the elements of a dictionary.
Definition: PDFPrinterSupport.h:337
FCFSupport::System::CarsMovedOnce
int CarsMovedOnce() const
Return the number of cars moved once.
Definition: System.h:485
FCFSupport::SwitchListElement::DropStopStation
const Station * DropStopStation() const
Return the station this switch list element is dropping off at.
Definition: SwitchList.h:172
FCFSupport::System::FindIndustryByIndex
const FCFSupport::Industry * FindIndustryByIndex(int i) const
Find an industry by its index.
Definition: System.h:343
FCFSupport::System::ownersFile
PathName ownersFile
Full pathname of the car owners file.
Definition: System.h:958
FCFSupport::PDFFileStructures::Page::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write an object directly.
FCFSupport::Station::~Station
~Station()
Destructor.
Definition: Station.h:112
FCFSupport::Car::weightclass
int weightclass
This car's weight class.
Definition: Car.h:377
Parsers::LayoutFile::EdgeA
float EdgeA(int nid, int edgenum) const
Returns the angle of the specificed edge of the node.
Definition: ParseFile.h:476
ReadConfiguration::ReadConfiguration
ReadConfiguration(filename, configurationArrayName)
This procedure reads in the configuration file named by the filename into the array named by configur...
Parsers::LayoutFile::SenseScript
const char * SenseScript(int nid) const
Return a block's or switchmotor's sense script.
Definition: ParseFile.h:505
FCFSupport::Train::maxlength
int maxlength
The maximum length for this train.
Definition: Train.h:369
FCFSupport::TextPrinterDevice::ClosePrinter
virtual bool ClosePrinter(char **outmessage)
Close the printer.
Parsers::BezierBodyElt::Pos::y
float y
$Y$ coordinate.
Definition: BezierBody.h:115
FCFSupport::System::GlobStringMatch
bool GlobStringMatch(const string thestring, const string pattern) const
Glob style string match function.
Parsers::TrackGraph::NodeValues::type
NodeType type
Type of node.
Definition: TrackGraph.h:592
Parsers::TrackGraph
Track Graph class, which encapsulates the track graphs.
Definition: TrackGraph.h:504
FCFSupport::System::IndScrapYard
const FCFSupport::Industry * IndScrapYard() const
Return a pointer to the scrap yard.
Definition: System.h:462
TTSupport::PathName::PathName
PathName(const char *p)
Constructor, given a plain C string.
Definition: PathName.h:83
Parsers::SegVector::angle
float angle
An angle.
Definition: TrackGraph.h:209
FCFSupport::PDFPrinterDevice::NewPage
virtual bool NewPage(const string heading="")
Generate a new page.
FCFSupport::Train::divList
string divList
The list of division symbols for this train.
Definition: Train.h:348
azatrax::SL2::Input_4_Enabled
bool Input_4_Enabled() const
Input 4 enabled? Return true if I4 can affect outputs.
Definition: sl2.h:183
Parsers::LayoutFile::~LayoutFile
virtual ~LayoutFile()
Destructor.
FCFSupport::System::TheStation
FCFSupport::Station * TheStation(int i)
Station indexing function.
Definition: System.h:287
Parsers::MRRXtrkCad::TURNTABLE
@ TURNTABLE
Definition: ParserClassesGroup.h:132
FCFSupport::PDFFileStructures::CatalogDictionary::AddPageLabelTree
void AddPageLabelTree(PageLabelTree *node)
Add a page label tree node.
Definition: PDFPrinterSupport.h:1184
FCFSupport::Industry::EmptiesAccepted
const char * EmptiesAccepted() const
The types of empties this industry can handle.
Definition: Industry.h:242
ErrorCode
#define ErrorCode
Definition: Azatrax.h:95
FCFSupport::System::TrainDropAllCars
void TrainDropAllCars(Train *train, int Px, CarVector &consist, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Drop all cars from a train at the current stop (usually the last stop).
Tclsocketcan_SafeInit
SWIGEXPORT int Tclsocketcan_SafeInit(Tcl_Interp *)
FCFSupport::System::divisions
DivisionMap divisions
Division map.
Definition: System.h:970
FCFSupport::PDFFileStructures::InformationDirectory::keywords
string keywords
The keywords.
Definition: PDFPrinterSupport.h:1255
FCFSupport::System::AddCar
void AddCar(FCFSupport::Car *newcar)
Add a new car to the array of cars.
Definition: System.h:406
FCFSupport::PrinterDevice::PrinterDevice
PrinterDevice(const string filename="", const string title="", PageSize pageSize_=Letter, char **outmessage=NULL)
Constructor.
Definition: Printer.h:259
TTSupport::Train::Note
int Note(int i) const
Return the ith note.
Definition: Train.h:359
FCFSupport::PDFFileStructures::Type1FontDictionary::widths
IndirectFloatVector * widths
Widths array.
Definition: PDFPrinterSupport.h:1112
FCFSupport::PDFPrinterDevice::currentFontName
string currentFontName
Current font name.
Definition: PDFPrinter.h:166
FCFSupport::Car::SetLtWt
void SetLtWt(int lw)
Set the car's empty weight.
Definition: Car.h:234
FCFSupport::System::numberCars
int numberCars
The number of cars on a train.
Definition: System.h:1039
FCFSupport::Owner::Owner
Owner()
The default constructor initializes all fields to the empty string.
Definition: Owner.h:72
FCFSupport::PDFPrinterDevice::SetTypeSpacing
virtual bool SetTypeSpacing(TypeSpacing spacing)
Set the type spacing.
FCFSupport::System::carTypesOrder
char carTypesOrder[CarType::MaxCarTypes]
Car type order vector.
Definition: System.h:985
TTSupport::Train::SetDestinationStorageTrack
void SetDestinationStorageTrack(string trackname)
Set the destination storage track.
FCFSupport::System::TheDivision
FCFSupport::Division * TheDivision(int i)
Division indexing function.
Definition: System.h:278
Parsers::TurnoutBodyElt::MakeTurnoutRoute
static TurnoutBodyElt * MakeTurnoutRoute(char *pName, IntegerList *cList)
Create a turnout route (P lines).
Definition: TurnoutBody.h:184
TTSupport::TimeRange::operator<
bool operator<(const TimeRange &other) const
Less than operator.
Definition: Station.h:207
FCFSupport::System::trainLoads
int trainLoads
The number of loads on a train.
Definition: System.h:1045
FCFSupport::System::TrainPrintConsistSummary
void TrainPrintConsistSummary(Train *train, CarVector &consist, FCFSupport::PrinterDevice *printer)
Print a train's consist summary.
TTSupport::Station::operator=
Station & operator=(const Station &other)
Assignment operator.
Definition: Station.h:569
TTSupport::TimeTableSystem::AddStorageTrack
StorageTrack * AddStorageTrack(int i, string name)
Add a storage track to a station.
Definition: TimeTableSystem.h:587
FCFSupport::Train::Name
const char * Name() const
Return the train's name.
Definition: Train.h:228
RaildriverIO::DIGITAL5
@ DIGITAL5
Pan, Cab Buttons.
Definition: RaildriverIO.h:254
FCFSupport::Car::number
string number
This car's number.
Definition: Car.h:365
FCFSupport::PauseCallback::Pause
virtual void Pause(string message) const
Display a message and wait for a user response.
Definition: CallBack.h:282
azatrax::MRD::EnableExternal
ErrorCode EnableExternal() const
Enable external changes of turnout state.
Definition: mrd.h:132
FCFSupport::System::PrintList
bool PrintList() const
Print the switch list order flag.
Definition: System.h:530
azatrax::Azatrax::RestoreLEDFunction
ErrorCode RestoreLEDFunction() const
Restore LED function.
Definition: Azatrax.h:290
FCFSupport::PrinterDevice::PutLine
virtual bool PutLine(const string line="")
Print out a string and follow it with a new line sequence.
Definition: Printer.h:367
TTSupport::Cab::Color
const char * Color() const
Return the color of the cab.
Definition: Cab.h:98
azatrax::SL2::status1_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: sl2.h:193
azatrax::Azatrax::StateDataPacket::status2
uint8_t status2
Status byte 2 (All Devices)
Definition: Azatrax.h:427
azatrax::Azatrax::cmd_ResetStopwatch
@ cmd_ResetStopwatch
Reset Stopwatch (MRD2 only)
Definition: Azatrax.h:191
FCFSupport::CarGroup::CarGroup
CarGroup(char g, const char *d)
Full constructor.
Definition: CarType.h:206
FCFSupport::SwitchList::PickLocationEq
bool PickLocationEq(int Gx, const Industry *Ix) const
Is the selected element for the specificed industry?
Parsers::SegPos::x
float x
$X$ coordinate.
Definition: TrackGraph.h:134
FCFSupport::System::CarsAtWorkBench
int CarsAtWorkBench() const
Return the number of cars on the RIP track (the workbench).
Definition: System.h:503
FCFSupport::System::OwnersFile
const char * OwnersFile() const
Return the Owners file's full path name.
Definition: System.h:246
FCFSupport::PDFPrinterDevice::PDFPrinterDevice
PDFPrinterDevice(const string filename="", const string title_="", PageSize pageSize=Letter, char **outmessage=NULL)
Constructor.
FCFSupport::Train::~Train
~Train()
Descructor.
Definition: Train.h:225
RaildriverIO::GetBlueButton20
bool GetBlueButton20() const
Get Blue Button 20.
Definition: RaildriverIO.h:468
FCFSupport::PDFFileStructures::IndirectObject::WriteIndirectReference
ostream & WriteIndirectReference(ostream &stream) const
Write an object indirectly.
Definition: PDFPrinterSupport.h:202
azatrax::SR4::RelaysOff
ErrorCode RelaysOff(bool Q1, bool Q2, bool Q3, bool Q4)
Set output relay contacts off.
Definition: sr4.h:112
TTSupport::TimeTableSystem::cabs
CabNameMap cabs
Cap name map.
Definition: TimeTableSystem.h:1125
Parsers::TurnoutBodyElt::radius
float radius
A radius value.
Definition: TurnoutBody.h:146
TTSupport::PathName::operator==
bool operator==(const PathName other) const
Equality operator.
Definition: PathName.h:115
FCFSupport::Industry::Hazard
char Hazard() const
What sorts of hazardious material classes can this industry handle?
Definition: Industry.h:221
TTSupport::Train::number
string number
Number or symbol of the train;.
Definition: Train.h:460
TrackGraph.h
FCFSupport::System::FirstIndustry
IndustryMap::const_iterator FirstIndustry() const
Iterator of the first industry in the industry map.
Definition: System.h:911
azatrax::SR4::status3_union::theByte
uint8_t theByte
Status byte as a byte.
Definition: sr4.h:311
Parsers::TrackGraph::CompressedNodeValues::CompressedNodeValues
CompressedNodeValues(int _id=-1)
Default constructor.
Definition: TrackGraph.h:796
FCFSupport::operator<<
ostream & operator<<(ostream &stream, const SwitchListElement &element)
Output stream operator for SwitchListElements.
TTSupport::TimeTableSystem::AddTrainLongVersion
Train * AddTrainLongVersion(string name, string number, int speed, int classnumber, int departure, int start, int end, const doubleVector *layoverVector, const stringVector *cabnameVector, const stringVector *storageTrackVector, char **outmessage=NULL)
Add a train to the system, long version (includes storage track checking).
RaildriverIO::GetBlueButton6
bool GetBlueButton6() const
Get Blue Button 6.
Definition: RaildriverIO.h:370
Parsers::TrackGraph::EdgeValues::y
float y
Y value of edge.
Definition: TrackGraph.h:556
lcc::stream
@ stream
Stream frame.
Definition: lcc.tcl:125
FCFSupport::Car::SetWeightClass
void SetWeightClass(int wc)
Set the car's weight class.
Definition: Car.h:228
FCFSupport::PrinterDevice::TypeSlant
TypeSlant
Type slant.
Definition: Printer.h:327
Parsers::LayoutFile::NodeTurnoutRoutelist
const TurnoutRoutelist * NodeTurnoutRoutelist(int nid) const
Returns the TurnoutRoutelist of the node.
Definition: ParseFile.h:489
Parsers::TrackGraph::CompressedEdgePair
std::pair< int, int > CompressedEdgePair
Definition: TrackGraph.h:538
Parsers::CornuBodyElt::~CornuBodyElt
~CornuBodyElt()
Destructor.
Definition: CornuBody.h:133
FCFSupport::Car::Load
void Load()
Load the car.
Definition: Car.h:249
FCFSupport::LQ24PrinterDevice::SetTypeWeight
virtual bool SetTypeWeight(TypeWeight weight)
Set the type weight.
FCFSupport::System::TrainPickupOneCar
void TrainPickupOneCar(Car *car, Train *train, bool boxMove, CarVector &consist, bool &didAction, int Px, CarVector::iterator Lx, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Pick up one car.
RaildriverIO::HEADLIGHT_M
@ HEADLIGHT_M
Headlight switch.
Definition: RaildriverIO.h:128
FCFSupport::System::DIVISION
@ DIVISION
Report by division.
Definition: System.h:811
FCFSupport::PDFFileStructures::ResourceDictionary::colorSpace
IndirectObjectDictionary colorSpace
A dictionary that maps each resource name to either the name of a device-dependent color space or to ...
Definition: PDFPrinterSupport.h:561
FCFSupport::System::totalRevenueTons
int totalRevenueTons
The total number of revenue tons.
Definition: System.h:1024
FCFSupport::Industry::weightclass
int weightclass
The industry's weight class.
Definition: Industry.h:305
TTSupport::StringList
list< string > StringList
List of strings.
Definition: TimeTableSystem.h:255
FCFSupport::System::RunOneTrain
void RunOneTrain(Train *train, bool boxMove, const FCFSupport::TrainDisplayCallback *traindisplay, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Run one single train.
FCFSupport::System::PrintFormFeed
void PrintFormFeed(FCFSupport::PrinterDevice *printer) const
Print a form feed.
Parsers::TrackGraph::OffScript
const char * OffScript(int nid) const
Return the off action script.
FCFSupport::PDFFileStructures::PageTree::AddPage
void AddPage(Page *thepage)
Add a page.
Definition: PDFPrinterSupport.h:771
FCFSupport::System::~System
~System()
The destructor frees all memory and generally cleans things up.
azatrax::SL2::status2_union
Status byte 2 union type (Input sense)
Definition: sl2.h:209
FCFSupport::System::trainsFile
PathName trainsFile
Full pathname of the trains file.
Definition: System.h:952
FCFSupport::System::PrintSystemBanner
void PrintSystemBanner(FCFSupport::PrinterDevice *printer) const
Print a system banner.
FCFSupport::Industry::reload
bool reload
The reload flag.
Definition: Industry.h:326
Parsers::CornuBodyElt::pos2
Pos pos2
Second position.
Definition: CornuBody.h:120
FCFSupport::System::split
vector< string > split(string s, char delimiter) const
Helper utility to split a string into words.
YY_MRRXtrkCad_LTYPE
#define YY_MRRXtrkCad_LTYPE
Definition: MRRXtrkCad.tab.h:177
FCFSupport::Train::carTypes
string carTypes
The list of car type charactes.
Definition: Train.h:351
PathName.h
Parsers::LayoutFile::LayoutFile
LayoutFile(const char *filename, MRRXtrkCad *p)
Constructor.
azatrax::Azatrax::cmd_Q1negQ2pos
@ cmd_Q1negQ2pos
(SL2 only) Sets output terminal Q1 to negative, Q2 to positive.
Definition: Azatrax.h:173
FCFSupport::Car::LastTrain
const Train * LastTrain() const
Return the last train to move this car.
Definition: Car.h:282
TTSupport::TimeTableSystem::TOCP
bool TOCP
Table Of Contents?
Definition: TimeTableSystem.h:1139
Parsers::TurnoutGraphic::maxY
float maxY
Maximum $Y$ coordinate.
Definition: TrackGraph.h:261
FCFSupport::System::TheCarType
CarType * TheCarType(char c)
Get a car type class instance pointer given a car type.
Definition: System.h:374
RaildriverIO::BAILOFF
@ BAILOFF
Independent Brake bail off.
Definition: RaildriverIO.h:210
YY_MRRXtrkCad_INHERIT::YY_MRRXtrkCad_LLOC
YY_MRRXtrkCad_LTYPE YY_MRRXtrkCad_LLOC
Definition: MRRXtrkCad.tab.h:525
Car.h
YY_MRRXtrkCad_INHERIT::YY_MRRXtrkCad_DEBUG_FLAG
int YY_MRRXtrkCad_DEBUG_FLAG
Definition: MRRXtrkCad.tab.h:532
TTSupport::StationVector
vector< Station > StationVector
Station Vector.
Definition: Station.h:777
TTSupport::TimeTableSystem::MakeTimeTableOneTableStationsCenter
bool MakeTimeTableOneTableStationsCenter(ostream &out, TrainList &forwardTrains, TrainList &backwardTrains, string header, string sectionTOP, char **outmessage=NULL)
Make a time table as a single table, with the stations in the center (bi-directional trains).
FCFSupport::System::PrintTrainLoc
void PrintTrainLoc(Train *train, int Px, const FCFSupport::LogMessageCallback *Log, const FCFSupport::TrainDisplayCallback *traindisplay)
Print a train's current location.
azatrax::SR4::Sense_1_Live
bool Sense_1_Live() const
Sense 1, return true if input line 1 is now activated.
Definition: sr4.h:247
FCFSupport::PDFFileStructures::PageLabelTree::WriteDictionaryElements
virtual ostream & WriteDictionaryElements(ostream &stream) const
Write an object directly.
FCFSupport::PostScriptPrinterDevice::PSQuote
const string PSQuote(const string s) const
Function to PostScript quote a string.
FCFSupport::PDFFileStructures::IndirectFloatVector::WriteDirect
virtual ostream & WriteDirect(ostream &stream) const
Write an object directly.
Definition: PDFPrinterSupport.h:1010
Parsers::TrackGraph::CompressedGraphCircleLayout
void CompressedGraphCircleLayout(double radius)
Run the BGL circle_graph_layout for a given radius.
RaildriverIO::ReadInputs
bool ReadInputs(Eventmask_bits &mask, int &status)
Poll the interface.
FCFSupport::PDFFileStructures::PDFStreamVector
vector< PDFStream * > PDFStreamVector
A vector of PDF Streams.
Definition: PDFPrinterSupport.h:681
LabelSpinBox::getvalue
getvalue(path,...)
Procedure to get the value of the SpinBox.
FCFSupport::System::InternalRunOneTrain
void InternalRunOneTrain(Train *train, bool boxMove, const FCFSupport::TrainDisplayCallback *traindisplay, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer)
Internal function to run a single train.
FCFSupport::Car::owner
const Owner * owner
The owner of this car.
Definition: Car.h:347
FCFSupport::ShowBannerCallback::ShowBanner
virtual void ShowBanner() const
Display the application supplied banner text.
Definition: CallBack.h:185
TTSupport::StorageTrack::Name
const char * Name() const
Return the name of the storage track.
Definition: Station.h:303
TTSupport::PathName::PathName
PathName(const PathName &other)
Copy constructor.
Definition: PathName.h:93
FCFSupport::PrinterDevice::A4
@ A4
European A4 page size.
Definition: Printer.h:226
lcc::last
@ last
Last frame datagram.
Definition: lcc.tcl:121
Parsers::LayoutFile::EdgeX
float EdgeX(int nid, int edgenum) const
Returns the $X$ coordinate of the specificed edge of the node.
Definition: ParseFile.h:470
FCFSupport::PDFFileStructures::PageTree
A tree of pages.
Definition: PDFPrinterSupport.h:746
FCFSupport::CarTypeOrderVector
vector< char > CarTypeOrderVector
A vector of ordered car types.
Definition: CarType.h:155
FCFSupport::IndustryMap
map< int, Industry *, less< int > > IndustryMap
A map of industry pointers indexed by an integer.
Definition: Industry.h:339
FCFSupport::StationVector
vector< Station * > StationVector
A station vector.
Definition: Station.h:164
FCFSupport::CarType::NumberOfCarTypes
@ NumberOfCarTypes
The number of usable car type characters.
Definition: CarType.h:85
azatrax::SL2::status1_union::motor_2_state
unsigned int motor_2_state
Motor 2 state.
Definition: sl2.h:203
azatrax::Azatrax::deviceOpenCount
static int deviceOpenCount
Device open count.
Definition: Azatrax.h:396
TTSupport::Station::AddStorageTrack
StorageTrack * AddStorageTrack(string name_)
Add a storage track.
FCFSupport::Train::IndustryStop
FCFSupport::Industry * IndustryStop(int index) const
Return the Ith industry stop this train makes.
Definition: Train.h:298
TTSupport::Occupied::trainnum
string trainnum
The train that arrived.
Definition: Station.h:162
azatrax::SL2::status3_union::theBits
struct azatrax::SL2::status3_union::@5 theBits
Status byte as bit fields.
azatrax::SL2::Sense_3
bool Sense_3() const
Sense 3, return true if input line 3 was activated since last get status.
Definition: sl2.h:129
FCFSupport::PDFFileStructures::Rectangle::y1
double y1
First Y coordinate.
Definition: PDFPrinterSupport.h:640
FCFSupport::PathName
A Class that portably represents a pathname.
Definition: PathName.h:79
RaildriverIO::GetReverser
unsigned char GetReverser() const
Get Reverser value (0-255).
Definition: RaildriverIO.h:298
azatrax::MRD::NonTurnoutSeparate
@ NonTurnoutSeparate
Non Turnout, separate (-U always reports this).
Definition: mrd.h:93
RaildriverIO::GetPanUp
bool GetPanUp() const
Get Pan Up.
Definition: RaildriverIO.h:545
FCFSupport::Owner::Owner
Owner(Owner &other)
The copy constructor copies the contents of another Owner to this one.
Definition: Owner.h:77
TTSupport::StorageTrack::operator=
StorageTrack & operator=(const StorageTrack &other)
Assign a StorageTrack to another StorageTrack.
Definition: Station.h:397
azatrax::SL2::status1_union::reservered
unsigned int reservered
Reserved bits.
Definition: sl2.h:205
FCFSupport::Train::DivisionList
const char * DivisionList() const
Return the train's division list (string of symbols).
Definition: Train.h:231
lcc::datagramcontent
datagramcontent
Definition: lcc.tcl:101
TTSupport::Stop::layover
double layover
The layover time.
Definition: Train.h:274
azatrax::SL2::Input_1_Enabled
bool Input_1_Enabled() const
Input 1 enabled? Return true if I1 can affect outputs.
Definition: sl2.h:165
FCFSupport::SwitchListElement::SwitchListElement
SwitchListElement(const Industry *pickloc, const Car *pickcar, const Train *picktrain, const Train *lasttrain, const Station *sstop)
Constructor, given a local freight's stop at a station.
Definition: SwitchList.h:139
FCFSupport::PDFFileStructures::PageLabelDictionary::style
NumberStyle style
Page numbering style.
Definition: PDFPrinterSupport.h:862
TTSupport::Stop::Terminate
@ Terminate
Definition: Train.h:146
FCFSupport::System::PrintOneIndustry
void PrintOneIndustry(const Industry *ix, int &lenInDiv, int &carsInDiv, int &carsToDiv, const FCFSupport::LogMessageCallback *Log, FCFSupport::PrinterDevice *printer) const
Print one industry.
FileEntry::create
create(path,...)
Creation procedure.
FCFSupport::System::stations
StationMap stations
Station map.
Definition: System.h:973
Parsers::LayoutFile::CompressedEdgeCount
int CompressedEdgeCount(int cnid) const
Number of compressed graph edges.
Definition: ParseFile.h:549