|
WSF
|
#include <WsfPlatformObserver.hpp>
The implementation of the Platform observer objects. An instance of this class is maintained by the simulation.
| WsfObserver::CommentCallback WsfPlatformObserver::Comment |
| WsfObserver::CrashedIntoGroundCallback WsfPlatformObserver::CrashedIntoGround |
A platform has crashed into the ground.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform that crashed. |
| WsfObserver::ExecuteCallbackCallback WsfPlatformObserver::ExecuteCallback |
A 'callback' is being invoked on a platform.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform. |
| aCallback | The callback being invoked. |
| WsfObserver::GroupAddedCallback WsfPlatformObserver::GroupAdded |
A new platform / platform part group has been added.
| aGroupName | - the name of the group. |
| aGroupType | - the type of the group. |
| WsfObserver::NavigationStatusChangedCallback WsfPlatformObserver::NavigationStatusChanged |
The navigation status (GPS availability) of a platform has changed.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform whose status changed. |
| aStatus | The new navigation status. |
| WsfObserver::PlatformAddedCallback WsfPlatformObserver::PlatformAdded |
A platform was added to the simulation.
This is called before the platforms' 'Initialize()' method so be careful. The only assumptions that can be made are that the platform and its associated systems are present and they have been properly registered. Other than that you should not assume anything about position, state, etc.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform that was added. |
| WsfObserver::PlatformAppearanceChangedCallback WsfPlatformObserver::PlatformAppearanceChanged |
The appearance of a platform has changed.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform whose appearance has changed. |
| aItemType | The type of the item being changed. |
| WsfObserver::PlatformBrokenCallback WsfPlatformObserver::PlatformBroken |
A platform that was completely damaged is being removed from the simulation.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform that has been broken. |
| WsfObserver::PlatformDamageChangedCallback WsfPlatformObserver::PlatformDamageChanged |
The damage state of a platform has changed.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform whose damage state has changed. |
| WsfObserver::PlatformDeletedCallback WsfPlatformObserver::PlatformDeleted |
A platform is being deleted from simulation.
This is called just before the platform is removed from the simulation.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform that is being deleted. |
| WsfObserver::PlatformInitializedCallback WsfPlatformObserver::PlatformInitialized |
A platform has been initialized.
This is called just after the platforms Initialize method has been called.
| aSimTime | The current simulation time. |
| aPlatformPtr | The platform that was initialized. |
| WsfObserver::PlatformOmittedCallback WsfPlatformObserver::PlatformOmitted |
A platform has been omitted from the simulation because the 'platform_availability' has indicated the platform is not available or the user-defined 'on_platform_injection' script has indicated it shouldn't be added.
| aSimTime | The current simulation time (should always be zero in this case). |
| aPlatformPtr | The platform is unavailable. |