|
XPMP2
X-Plane multiplayer library 2 - using instancing
|
Holds a copy of some aircraft data as was sent out last. More...
#include <Remote.h>
Public Member Functions | |
| RmtAcCacheTy (const Aircraft &ac, double _lat, double _lon, double _alt_ft) | |
| Constructor copies relevant values from the passed-in aircraft. More... | |
| void | UpdateFrom (const Aircraft &ac, double _lat, double _lon, double _alt_ft) |
| Updates current values from given aircraft. More... | |
Public Attributes | |
| const unsigned | fullUpdGrp |
| full update group, with which planes are distributed to load balance sending XPMP2::RMT_MSG_AC_DETAILED messages More... | |
| float | ts |
| timestamp this position was valid (XP network time) More... | |
| double | lat |
| degree latitude More... | |
| double | lon |
| degree longitude More... | |
| double | alt_ft |
| feet altitude More... | |
| XPLMDrawInfo_t | drawInfo |
| position and orientation last sent More... | |
| std::vector< float > | v |
| dataRef values More... | |
| bool | bValid: 1 |
| is this object valid? (Will be reset in case of exceptions) More... | |
| bool | bVisible: 1 |
| Shall this plane be drawn at the moment? More... | |
| bool | bRender: 1 |
| Shall the CSL model be drawn in 3D world? More... | |
| const CSLModel * | pCSLMdl |
| the CSL model in use More... | |
Holds a copy of some aircraft data as was sent out last.
| XPMP2::RmtAcCacheTy::RmtAcCacheTy | ( | const Aircraft & | ac, |
| double | _lat, | ||
| double | _lon, | ||
| double | _alt_ft | ||
| ) |
Constructor copies relevant values from the passed-in aircraft.
| void XPMP2::RmtAcCacheTy::UpdateFrom | ( | const Aircraft & | ac, |
| double | _lat, | ||
| double | _lon, | ||
| double | _alt_ft | ||
| ) |
Updates current values from given aircraft.
| double XPMP2::RmtAcCacheTy::alt_ft |
feet altitude
| bool XPMP2::RmtAcCacheTy::bRender |
Shall the CSL model be drawn in 3D world?
| bool XPMP2::RmtAcCacheTy::bValid |
is this object valid? (Will be reset in case of exceptions)
| bool XPMP2::RmtAcCacheTy::bVisible |
Shall this plane be drawn at the moment?
| XPLMDrawInfo_t XPMP2::RmtAcCacheTy::drawInfo |
position and orientation last sent
| const unsigned XPMP2::RmtAcCacheTy::fullUpdGrp |
full update group, with which planes are distributed to load balance sending XPMP2::RMT_MSG_AC_DETAILED messages
| double XPMP2::RmtAcCacheTy::lat |
degree latitude
| double XPMP2::RmtAcCacheTy::lon |
degree longitude
| const CSLModel* XPMP2::RmtAcCacheTy::pCSLMdl |
the CSL model in use
| float XPMP2::RmtAcCacheTy::ts |
timestamp this position was valid (XP network time)
| std::vector<float> XPMP2::RmtAcCacheTy::v |
dataRef values