![]() |
VR-Forces 5.0.2 Developer's Guide
|
Class DtAcoParser parses usmtf formatted ACOs–Air Control Orders.

Classes | |
| struct | CorridorLeg |
| struct | Extrusion |
Public Member Functions | |
| DtAcoParser () | |
| ~DtAcoParser () | |
| virtual bool | parse (istream &stream) |
| virtual void | initTypeMap (const std::map< std::string, std::string > &importData) |
| virtual Extrusion & | objectExtrusion () |
| virtual std::vector < CorridorLeg > & | trackLegList () |
Public Member Functions inherited from DtUsmtfParser | |
| DtUsmtfParser () | |
| virtual | ~DtUsmtfParser () |
| virtual bool | init () |
Public Member Functions inherited from DtObjectParser | |
| DtObjectParser () | |
| ~DtObjectParser () | |
| virtual bool | parseFile (const string &filename) |
| virtual ObjectList & | getCreateObjectList () |
| virtual ObjectEntityTypeMap * | typeMap () |
Protected Member Functions | |
| ObjectInformation * | currentAcoData () |
| DtVector | getVertex (const string &data) |
| void | addVertex (const string &data) |
| void | addVertex (const vector< string > &tokens, size_t index) |
| void | addVertices (const vector< string > &tokens, size_t startIndex) |
| double | parseDistance (const string str) |
| bool | parseDateTime (const std::string &tm, ptime &time, const ptime &prevTime) |
| bool | parseACMID (const vector< string > &tokens) |
| bool | parseGEOLINE (const vector< string > &tokens) |
| bool | parsePOLYGON (const vector< string > &tokens) |
| bool | parseAPOINT (const vector< string > &tokens) |
| bool | parseCIRCLE (const vector< string > &tokens) |
| bool | parseCORRIDOR (const vector< string > &tokens) |
| bool | parseAORBIT (const vector< string > &tokens) |
| bool | parseTRACK (const vector< string > &tokens) |
| bool | parseEFFLEVEL (const vector< string > &tokens) |
| bool | parseEXER (const vector< string > &tokens) |
| bool | parsePOLYARC (const vector< string > &tokens) |
| bool | parsePERIOD (const vector< string > &tokens) |
| bool | parseTIMEFRAM (const vector< string > &tokens) |
| bool | parseAPERIOD (const vector< string > &tokens) |
| bool | addLeg (const vector< string > &tokens, size_t startIndex) |
| void | updateOrbitVertices (DtVector &firstVertex, DtVector &lastVertex, double width, string alignment) |
Protected Member Functions inherited from DtUsmtfParser | |
| void | parseLatLonSec (const string &input, double &lat, double &lon, const string &prefix="") |
| void | parseLatLonMin (const string &input, double &lat, double &lon, const string &prefix="") |
| void | parseLatLonCentiSec (const string &input, double &lat, double &lon, const string &prefix="") |
| void | parseLatLonVLATS (const string &input, double &lat, double &lon, const string &prefix="") |
| bool | parseDateTime7 (const string &input, const ptime &prevTime, ptime &time, const string &prefix="") |
| bool | parseDateTime9 (const string &input, const ptime &prevTime, ptime &time, const string &prefix="") |
| bool | parseDateTime10 (const string &input, const time_period &timeFrame, ptime &time, const string &prefix="") |
| bool | parseDateTime14 (const string &input, ptime &time, const string &prefix="") |
| bool | checkAndAssign (string &sData, const vector< string > &tokens, size_t tokenIndex, const string &prefix="") |
Protected Member Functions inherited from DtObjectParser | |
| void | setSeparatorData (const string &recordSeparator, const string &fieldSeparators, const string "eChars, const string &escapeChars) |
| virtual void | clear () |
Protected Attributes | |
| std::map< string, EFLVL > | myFltLevelMap |
| Extrusion | myExtrudedSpecs |
| string | myOverlayParent |
| time_period * | myTimeFrame |
| std::vector< CorridorLeg > | myLegList |
Protected Attributes inherited from DtObjectParser | |
| ObjectList | myCreateObjectList |
| DtTokenizer | myTokenizer |
| Coordinate_System * | myCoordSystem |
| ObjectEntityTypeMap | myTypeMap |
Private Types | |
| enum | SHAPE { APOINT = 0, GEOLINE, CORRIDOR, CIRCLE, AORBIT, TRACK, POLYGON, POLYARC, RADARC } |
| enum | EFLVL { BRRA = 0, BRFL, RARA, RAFL, FLFL } |
| enum | ALT { GL = 0, MSL, FL } |
Additional Inherited Members | |
Static Public Member Functions inherited from DtUsmtfParser | |
| static double | calcDegrees (const double °, const double &min=0.0, const double &sec=0.0, char hemisphere= '-') |
| static string | eraseHead (const string &input, const string &prefix) |
|
private |
|
private |
|
private |
| DtAcoParser::DtAcoParser | ( | ) |
| DtAcoParser::~DtAcoParser | ( | ) |
|
virtual |
Derived classes will set up the tokenizer and determine how extract field information for each record.
Reimplemented from DtObjectParser.
|
virtual |
Allows one to map their string names to our entity types.
Reimplemented from DtObjectParser.
|
virtual |
When creating vrf object will need to determine the altitude of the points For areal objects, add ceiling and floor.
|
virtual |
|
protected |
|
protected |
Parse teh vertex information.
|
protected |
|
protected |
|
protected |
|
protected |
Parses a string that contains a distance in an ACO eg. (15NM, 2000KM, 25000M)
|
protected |
Parse the date/time based on the length.
|
protected |
parse the Airspace Control Means ID
|
protected |
parse a Geometric Composite Line
|
protected |
parse a Polygon Shape
|
protected |
parse a Single Point
|
protected |
parse a Circle
|
protected |
parse an Air Corridor
|
protected |
parse an Airspace shape orbit
|
protected |
parse a track– this is a different way of expressing a track
|
protected |
parse Flight level restrictions
|
protected |
parse name of exerices, this will be come the overlay name
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
This will determine how we transform the vertices based on the EFFLEVEL defined We are only supporting extrusion for areal objects not lines, points, or corridors. Instead for those we shall set the altitude of the points to the max level.
|
protected |
|
protected |
Time Period that this ATO file represents.
|
protected |