XPMP2
X-Plane multiplayer library 2 - using instancing
Classes | Public Types | Public Member Functions | Public Attributes | List of all members
XPMP2::CSLModelInfo_t Struct Reference

Collates some information on the CSL model. More...

#include <XPMPAircraft.h>

Classes

struct  MatchCrit_t
 Any number of airline codes and/or liveries can be assigned to a model for matching purpose. More...
 

Public Types

typedef std::vector< MatchCrit_tvecMatchCrit_t
 

Public Member Functions

 CSLModelInfo_t ()
 Default constructor does nothing. More...
 
 CSLModelInfo_t (const XPMP2::CSLModel &csl)
 Constructor copies from XPMP2::CSLModel. More...
 

Public Attributes

std::string cslId
 id, just an arbitrary label read from xsb_aircraft.txt::OBJ8_AIRCRAFT More...
 
std::string modelName
 name, formed by last part of path plus id More...
 
std::string xsbAircraftPath
 Path to the xsb_aircraft.txt file from where this model is loaded. More...
 
int xsbAircraftLn = 0
 Line number in the xsb_aircraft.txt file where the model definition starts. More...
 
std::string icaoType
 ICAO aircraft type this model represents: xsb_aircraft.txt::ICAO More...
 
std::string doc8643Classification
 Doc8643 information: Classification, like L1P, L4J, H1T. More...
 
std::string doc8643WTC
 Doc8643 information: wake turbulence class, like M, L/M, L, H. More...
 
vecMatchCrit_t vecMatchCrit
 

Detailed Description

Collates some information on the CSL model.

The XPMP2::CSLModel class definition is private to the XPMP2 library as it contains many technical implementation details. This structure contains some of the CSLModel information in a public definition, returned by XPMP2::Aircraft::GetModelInfo().


Class Documentation

◆ XPMP2::CSLModelInfo_t::MatchCrit_t

struct XPMP2::CSLModelInfo_t::MatchCrit_t

Any number of airline codes and/or liveries can be assigned to a model for matching purpose.

Class Members
string icaoAirline ICAO airine/operator code.
string livery special livery (not often used)

Member Typedef Documentation

◆ vecMatchCrit_t

Constructor & Destructor Documentation

◆ CSLModelInfo_t() [1/2]

XPMP2::CSLModelInfo_t::CSLModelInfo_t ( )
inline

Default constructor does nothing.

◆ CSLModelInfo_t() [2/2]

XPMP2::CSLModelInfo_t::CSLModelInfo_t ( const XPMP2::CSLModel csl)

Constructor copies from XPMP2::CSLModel.

Member Data Documentation

◆ cslId

std::string XPMP2::CSLModelInfo_t::cslId

id, just an arbitrary label read from xsb_aircraft.txt::OBJ8_AIRCRAFT

◆ doc8643Classification

std::string XPMP2::CSLModelInfo_t::doc8643Classification

Doc8643 information: Classification, like L1P, L4J, H1T.

◆ doc8643WTC

std::string XPMP2::CSLModelInfo_t::doc8643WTC

Doc8643 information: wake turbulence class, like M, L/M, L, H.

◆ icaoType

std::string XPMP2::CSLModelInfo_t::icaoType

ICAO aircraft type this model represents: xsb_aircraft.txt::ICAO

◆ modelName

std::string XPMP2::CSLModelInfo_t::modelName

name, formed by last part of path plus id

◆ vecMatchCrit

vecMatchCrit_t XPMP2::CSLModelInfo_t::vecMatchCrit

◆ xsbAircraftLn

int XPMP2::CSLModelInfo_t::xsbAircraftLn = 0

Line number in the xsb_aircraft.txt file where the model definition starts.

◆ xsbAircraftPath

std::string XPMP2::CSLModelInfo_t::xsbAircraftPath

Path to the xsb_aircraft.txt file from where this model is loaded.


The documentation for this struct was generated from the following files: