Inherited by Eaagles::Simulation::AirTrkMgr, Eaagles::Simulation::GmtiTrkMgr, Eaagles::Simulation::NetTrkMgr, and Eaagles::Simulation::RwrTrkMgr.
Inheritance diagram for Eaagles::Simulation::TrackManager:


Public Member Functions | |
| TrackManager () | |
| LCreal | getMaxTrackAge () const |
| int | getMaxTracks () const |
| void | newReport (Emission *em, LCreal snDbl) |
| virtual int | getTrackList (Track *tlist[], const int max) |
| virtual int | getTrackList (const Track *tlist[], const int max) const |
| virtual void | clearTracksAndQueues () |
| virtual bool | addTrack (Track *const t) |
| bool | isType (const short t) const |
| short | getType () const |
| void | setType (const short t) |
| void | setSubtype (const short t) |
| virtual int | getTrackList (SPtr< Track > *const tlist, const int max) const |
| virtual bool | killedNotification (Player *const p) |
| virtual void | reset () |
Protected Member Functions | |
| int | getNewTrackID () |
| virtual void | processTrackList (const LCreal dt)=0 |
| virtual Emission * | getReport (LCreal *const sn) |
| virtual bool | setSlotMaxTracks (const Basic::LcNumber *const num) |
| virtual bool | setSlotMaxTrackAge (const Basic::LcNumber *const num) |
| virtual bool | setSlotFirstTrackId (const Basic::LcNumber *const num) |
| virtual bool | setSlotAlpha (const Basic::LcNumber *const num) |
| virtual bool | setSlotBeta (const Basic::LcNumber *const num) |
| virtual bool | setSlotGamma (const Basic::LcNumber *const num) |
| void | makeMatrixA (const LCreal dt) |
| virtual void | process (const LCreal dt) |
Protected Attributes | |
| Track * | tracks [MAX_TRKS] |
| int | nTrks |
| int | maxTrks |
| bool | clearing |
| LCreal | A [3][3] |
| bool | haveMatrixA |
| LCreal | alpha |
| LCreal | beta |
| LCreal | gamma |
Static Protected Attributes | |
| static const int | MAX_TRKS = 200 |
| static const int | MAX_REPORTS = 200 |
Private Attributes | |
| QQueue< Emission * > | emQueue |
| QQueue< LCreal > | snQueue |
| LCreal | maxTrackAge |
| short | type |
| int | nextTrkId |
| int | firstTrkId |
Abstract class for Track Managers
| Eaagles::Simulation::TrackManager::TrackManager | ( | ) |
| LCreal Eaagles::Simulation::TrackManager::getMaxTrackAge | ( | ) | const [inline] |
| int Eaagles::Simulation::TrackManager::getMaxTracks | ( | ) | const [inline] |
| int Eaagles::Simulation::TrackManager::getTrackList | ( | Track * | tlist[], | |
| const int | max | |||
| ) | [virtual] |
| int Eaagles::Simulation::TrackManager::getTrackList | ( | const Track * | tlist[], | |
| const int | max | |||
| ) | const [virtual] |
| void Eaagles::Simulation::TrackManager::clearTracksAndQueues | ( | ) | [virtual] |
Clear all tracks and queues.
| bool Eaagles::Simulation::TrackManager::addTrack | ( | Track *const | t | ) | [virtual] |
Add a track.
| bool Eaagles::Simulation::TrackManager::isType | ( | const short | t | ) | const [inline] |
Type of tracks managed (see enum TypeBits in Track.h).
| short Eaagles::Simulation::TrackManager::getType | ( | ) | const [inline] |
| void Eaagles::Simulation::TrackManager::setType | ( | const short | t | ) | [inline] |
| void Eaagles::Simulation::TrackManager::setSubtype | ( | const short | t | ) | [inline] |
| int Eaagles::Simulation::TrackManager::getTrackList | ( | SPtr< Track > *const | tlist, | |
| const int | max | |||
| ) | const [virtual] |
Legacy function (will be removed at next major release).
| bool Eaagles::Simulation::TrackManager::killedNotification | ( | Player *const | p | ) | [virtual] |
| void Eaagles::Simulation::TrackManager::reset | ( | ) | [virtual] |
| int Eaagles::Simulation::TrackManager::getNewTrackID | ( | ) | [inline, protected] |
| virtual void Eaagles::Simulation::TrackManager::processTrackList | ( | const LCreal | dt | ) | [protected, pure virtual] |
Derived class unique.
Implemented in Eaagles::Simulation::NetTrkMgr, Eaagles::Simulation::AirTrkMgr, Eaagles::Simulation::GmtiTrkMgr, and Eaagles::Simulation::RwrTrkMgr.
Get the next 'new' report from the queue.
| bool Eaagles::Simulation::TrackManager::setSlotMaxTracks | ( | const Basic::LcNumber *const | num | ) | [protected, virtual] |
Sets the maximum numberof track files.
| bool Eaagles::Simulation::TrackManager::setSlotMaxTrackAge | ( | const Basic::LcNumber *const | num | ) | [protected, virtual] |
Sets the maximum age of tracks.
| bool Eaagles::Simulation::TrackManager::setSlotFirstTrackId | ( | const Basic::LcNumber *const | num | ) | [protected, virtual] |
Sets the first (starting) track id number.
| bool Eaagles::Simulation::TrackManager::setSlotAlpha | ( | const Basic::LcNumber *const | num | ) | [protected, virtual] |
Sets alpha.
| bool Eaagles::Simulation::TrackManager::setSlotBeta | ( | const Basic::LcNumber *const | num | ) | [protected, virtual] |
Sets beta.
| bool Eaagles::Simulation::TrackManager::setSlotGamma | ( | const Basic::LcNumber *const | num | ) | [protected, virtual] |
Sets gamma.
| void Eaagles::Simulation::TrackManager::makeMatrixA | ( | const LCreal | dt | ) | [protected] |
Prediction parameters.
| void Eaagles::Simulation::TrackManager::process | ( | const LCreal | dt | ) | [protected, virtual] |
const int Eaagles::Simulation::TrackManager::MAX_TRKS = 200 [static, protected] |
Max Emission tracks.
const int Eaagles::Simulation::TrackManager::MAX_REPORTS = 200 [static, protected] |
Max number of reports.
Track* Eaagles::Simulation::TrackManager::tracks[MAX_TRKS] [protected] |
Track List Tracks
int Eaagles::Simulation::TrackManager::nTrks [protected] |
Number of tracks.
int Eaagles::Simulation::TrackManager::maxTrks [protected] |
Max number of tracks (input).
bool Eaagles::Simulation::TrackManager::clearing [protected] |
Clearing tracks & queue in progress.
LCreal Eaagles::Simulation::TrackManager::A[3][3] [protected] |
A Matrix.
bool Eaagles::Simulation::TrackManager::haveMatrixA [protected] |
Matrix A has be initialized.
LCreal Eaagles::Simulation::TrackManager::alpha [protected] |
Alpha parameter.
LCreal Eaagles::Simulation::TrackManager::beta [protected] |
Beta parameter.
LCreal Eaagles::Simulation::TrackManager::gamma [protected] |
Gamma parameter.
QQueue<Emission*> Eaagles::Simulation::TrackManager::emQueue [private] |
Emission input queue.
S/N input queue.
Max Track age (sec).
short Eaagles::Simulation::TrackManager::type [private] |
int Eaagles::Simulation::TrackManager::nextTrkId [private] |
Next track ID.
int Eaagles::Simulation::TrackManager::firstTrkId [private] |
First (starting) track ID.
1.5.0