Public Member Functions | |
MyPluginMultipleVessels (HINSTANCE hDLL) | |
bool | IsFuelLimited () |
EnjoLib::MFDGoodies::Sound & | GetSound () |
void | clbkFocusChanged (OBJHANDLE new_focus, OBJHANDLE old_focus) |
MyMFDButtonsPage & | GetButtons () |
![]() | |
PluginMultipleVessels (HINSTANCE hDLL) | |
Default ctor. | |
virtual | ~PluginMultipleVessels () |
Dtor. | |
MFDData * | AssociateMFDData (VESSEL *vessel) |
Associates a given vessel with MFDData. | |
void | UpdatePreStep (const SimulationTimeData &timeData) |
Updates the plugin. | |
void | UpdatePostStep (const SimulationTimeData &timeData) |
void | clbkSimulationStart (RenderMode mode) |
void | clbkSimulationEnd () |
void | Init () |
Initialises the plugin. | |
void | Cleanup () |
void | DeleteVessel (OBJHANDLE hVessel) |
Deletes vessel. | |
void | clbkPreStep (double simt, double simdt, double mjd) |
Time step notification before state update. | |
void | clbkPostStep (double simt, double simdt, double mjd) |
Time step notification after state update. | |
void | clbkDeleteVessel (OBJHANDLE hVessel) |
Vessel destruction notification. |
Protected Member Functions | |
void | UpdateClientPreStep (EnjoLib::MFDGoodies::MFDData *data, const EnjoLib::MFDGoodies::SimulationTimeData &timeData) |
Updates client (derived) PluginMultipleVessels before simulation state update. | |
void | UpdateClientPostStep (EnjoLib::MFDGoodies::MFDData *data, const EnjoLib::MFDGoodies::SimulationTimeData &timeData) |
Updates client (derived) PluginMultipleVessels after simulation state update. | |
void | InitClient () |
Initialises client (derived) PluginMultipleVessels. | |
void | CleanupClient () |
EnjoLib::MFDGoodies::MFDData * | ConstructNewMFDData (VESSEL *vessel) |
Creates and returns a new MFDData * compatible pointer. |
|
protectedvirtual |
Creates and returns a new MFDData * compatible pointer.
This method should construct and return a new MFDData * compatible pointer,
ie. a pointer to an object that is derived from MFDData and used in your PluginMultipleVessels and MFD implementation Called from AssociateMFDData()
Implements EnjoLib::MFDGoodies::PluginMultipleVessels.
|
protectedvirtual |
Initialises client (derived) PluginMultipleVessels.
Initialises client (derived) PluginMultipleVessels. This method should gain access to Orbiter's configuration files and store the obtained data in member variables, so that they can be passed to MFD, if they are needed. This method is called only once in simulation.
Implements EnjoLib::MFDGoodies::PluginMultipleVessels.
|
protectedvirtual |
Updates client (derived) PluginMultipleVessels after simulation state update.
Implements EnjoLib::MFDGoodies::PluginMultipleVessels.
|
protectedvirtual |
Updates client (derived) PluginMultipleVessels before simulation state update.
Updates client (derived) PluginMultipleVessels for each valid MFDData object. The method should perform every necessary operations on MFDData object for a proper module operation when the MFD itself is turned off.
data | - one of the created MFDData object |
timeData | - simulation timess |
Implements EnjoLib::MFDGoodies::PluginMultipleVessels.