Public Member Functions |
| MyMFDData (VESSEL *vessel) |
void | Update () |
| Updates the vessel's state.
|
void | SwitchAutopilot (AutopilotType type) |
AutopilotType | GetAutopilotType () const |
void | MECO () |
void | MainEngineOn () |
void | HoverEngineOn () |
TGTPARAM & | GetTargetParams () |
| MFDData (VESSEL *vessel) |
| Default constructor.
|
virtual | ~MFDData () |
| Destructor.
|
VESSEL * | GetVessel () const |
| Returns associated vessel.
|
void | Invalidate () |
| Sets this object as invalid.
|
bool | IsValid () const |
| Checks if this object is still valid.
|
Public Attributes |
OBJHANDLE | hRef |
TGTPARAM | m_tgtParam |
BODYPHYS | m_bodyPhys |
char | strTarget [BUFLEN] |
double | m_longitude |
double | m_latitude |
double | m_radius |
bool | m_isTgtSet |
bool | m_drawHUD |
Member Function Documentation
void MyMFDData::Update |
( |
| ) |
|
|
virtual |
Updates the vessel's state.
Updates the vessel's state as in for example - position, velocity, reference planet, etc.
Should be called from MyMFDMultipleVessels::Update() and on every simulation step from PluginMultipleVessels::UpdateClient() if necessary. This method should update all the required data of the vessel to be able operate properly without an opened MFD.
Implements EnjoLib::MFDGoodies::MFDData.
The documentation for this class was generated from the following files:
- multipleVesselsMFD/example/MyMFDData.hpp
- multipleVesselsMFD/example/MyMFDData.cpp