|
Skyscraper 2.0
|
#include <section.h>


Public Member Functions | |
| ControllerSection (ScriptProcessor *parent) | |
| ~ControllerSection () | |
| int | Run (std::string &LineData) |
Public Member Functions inherited from Skyscraper::ScriptProcessor::Section | |
| Section (ScriptProcessor *parent) | |
| virtual | ~Section () |
| virtual void | Reset () |
| int | SplitData (const std::string &string, int start, bool calc=true) |
| int | SplitAfterEquals (const std::string &string, bool calc=true) |
| std::string | GetAfterEquals (const std::string &string, bool &found_equals) |
| std::string | GetBeforeEquals (const std::string &string, bool calc=true) |
| bool | GetRange (const std::string &string, int &start, int &end) |
| int | ScriptError (std::string message, bool warning=false) |
| int | ScriptError () |
| int | ScriptWarning (std::string message) |
| bool | IfProc (const std::string &expression) |
| void | StoreCommand (SBS::Object *object) |
| int | MathFunctions (std::string &LineData) |
| ::SBS::MeshObject * | GetMeshObject (std::string name) |
| bool | GetElevatorCar (std::string &value, int floor, int &elevator, int &car) |
| void | GetDirectionStrings (int direction, std::string &face_direction, std::string &open_direction) |
Additional Inherited Members | |
Protected Member Functions inherited from Skyscraper::ScriptProcessor::Section | |
| std::string | Calc (const std::string &expression) |
Protected Attributes inherited from Skyscraper::ScriptProcessor::Section | |
| ScriptProcessor * | parent |
| SBS::SBS * | Simcore |
| EngineContext * | engine |
| std::vector< std::string > | tempdata |
| bool | warn_deprecated |
| ScriptProcessor::ConfigHandler * | config |
| Skyscraper::ScriptProcessor::ControllerSection::ControllerSection | ( | ScriptProcessor * | parent | ) |
Definition at line 34 of file controllers.cpp.
|
inline |
|
virtual |
Reimplemented from Skyscraper::ScriptProcessor::Section.
Definition at line 39 of file controllers.cpp.
References SBS::DispatchController::AddElevator(), Skyscraper::ScriptProcessor::Calc(), Skyscraper::ScriptProcessor::config, Skyscraper::ScriptProcessor::ConfigHandler::Context, Skyscraper::ScriptProcessor::ConfigHandler::Current, SBS::DispatchController::DestinationDispatch, Skyscraper::ScriptProcessor::engine, SBS::SBS::GetController(), SBS::DispatchController::Hybrid, Skyscraper::IsNumeric(), Skyscraper::ScriptProcessor::line, Skyscraper::ScriptProcessor::LineData, SBS::DispatchController::MaxPassengers, SBS::DispatchController::Name, SBS::SBS::NewController(), SBS::DispatchController::Range, Skyscraper::ScriptProcessor::ConfigHandler::RangeH, Skyscraper::ScriptProcessor::ConfigHandler::RangeL, Skyscraper::ScriptProcessor::ConfigHandler::RangeStart, SBS::ReplaceAll(), Skyscraper::EngineContext::Report(), SBS::DispatchController::Reprocess, Skyscraper::ScriptProcessor::sContinue, Skyscraper::ScriptProcessor::ScriptError(), Skyscraper::ScriptProcessor::ConfigHandler::SectionNum, Skyscraper::ScriptProcessor::sError, Skyscraper::ScriptProcessor::Simcore, Skyscraper::ScriptProcessor::sNextLine, SBS::StartsWithNoCase(), SBS::ToBool(), and SBS::ToString().
Referenced by Skyscraper::ScriptProcessor::Run().
