Inherited by Eaagles::Simulation::SteerpointActionCamouflageType, Eaagles::Simulation::SteerpointActionDecoyRelease, Eaagles::Simulation::SteerpointActionImaging, and Eaagles::Simulation::SteerpointActionWeaponRelease.
Inheritance diagram for Eaagles::Simulation::SteerpointAction:


Public Member Functions | |
| SteerpointAction () | |
| virtual bool | isReadyToStart () |
| virtual bool | isInProgress () |
| virtual bool | isCompleted () |
| virtual bool | trigger (Route *const route) |
| virtual bool | cancel () |
| virtual void | process (const LCreal dt) |
| int | getRefId () const |
| virtual void | setRefId (const int id) |
| unsigned short | getSteerpointNumber () const |
Protected Member Functions | |
| Route * | getRouteManager () |
| bool | setRouteManager (Route *const rm) |
| virtual void | setCompleted (const bool flg) |
Private Attributes | |
| SPtr< Route > | routeMgr |
| int | refId |
| unsigned short | stptNumber |
| bool | completed |
Actions that occur at steerpoints.
Notes:
1) use process() to process one action frame of delta time, 'dt'. Follow
standard real-time rules since process() may be called from updateTC().
2) Actions that are not ready to start (isReadyToStart()) at steerpoint
crossing may be skipped by the route manager.
3) One shot action will complete during the call to trigger().
4) Any action that will take time to complete must have a route manager
passed via trigger().
Guid: {F4772DC9-F695-4cdb-BBE2-6431B2D43A8B}
| Eaagles::Simulation::SteerpointAction::SteerpointAction | ( | ) |
| bool Eaagles::Simulation::SteerpointAction::isReadyToStart | ( | ) | [virtual] |
True if action is ready to start.
| bool Eaagles::Simulation::SteerpointAction::isInProgress | ( | ) | [virtual] |
True if action is in progress.
| bool Eaagles::Simulation::SteerpointAction::isCompleted | ( | ) | [virtual] |
True if action has been completed.
| bool Eaagles::Simulation::SteerpointAction::trigger | ( | Route *const | route | ) | [virtual] |
| bool Eaagles::Simulation::SteerpointAction::cancel | ( | ) | [virtual] |
| void Eaagles::Simulation::SteerpointAction::process | ( | const LCreal | dt | ) | [virtual] |
Action processing.
Reimplemented in Eaagles::Simulation::SteerpointActionImaging, and Eaagles::Simulation::SteerpointActionDecoyRelease.
| int Eaagles::Simulation::SteerpointAction::getRefId | ( | ) | const [inline] |
Message Ref ID.
| void Eaagles::Simulation::SteerpointAction::setRefId | ( | const int | id | ) | [virtual] |
Sets the message ref ID.
| unsigned short Eaagles::Simulation::SteerpointAction::getSteerpointNumber | ( | ) | const [inline] |
Steerpoint number for this action.
| Route* Eaagles::Simulation::SteerpointAction::getRouteManager | ( | ) | [inline, protected] |
Our route manager.
| bool Eaagles::Simulation::SteerpointAction::setRouteManager | ( | Route *const | rm | ) | [protected] |
Set our route manager.
| void Eaagles::Simulation::SteerpointAction::setCompleted | ( | const bool | flg | ) | [protected, virtual] |
Our route manager (only set while we're in progress).
int Eaagles::Simulation::SteerpointAction::refId [private] |
Ref ID.
unsigned short Eaagles::Simulation::SteerpointAction::stptNumber [private] |
Steerpoint number for this action.
bool Eaagles::Simulation::SteerpointAction::completed [private] |
True if action has been completed.
1.5.0