Inherited by Eaagles::Network::NibDisIO.
Inheritance diagram for Eaagles::Simulation::Nib:


Public Member Functions | |
| Nib (const NetworkIO::IoType ioType) | |
| NetworkIO::IoType | getIoType () const |
| NetworkIO * | getNetworkIO () |
| virtual bool | setNetworkIO (NetworkIO *const p) |
| Player * | getPlayer () |
| unsigned short | getPlayerID () const |
| const char * | getPlayerName () const |
| virtual bool | setPlayer (Player *const p) |
| virtual void | setPlayerID (const unsigned short v) |
| virtual void | setPlayerName (const char *s) |
| virtual const Basic::LcString * | getFederateName () const |
| virtual bool | setFederateName (const Basic::LcString *const msg) |
| bool | isMode (const Player::Mode m) const |
| bool | isNotMode (const Player::Mode m) const |
| Player::Mode | getMode () const |
| virtual void | setMode (const Player::Mode m) |
| bool | isSide (const Player::Side s) const |
| bool | isNotSide (const Player::Side s) const |
| Player::Side | getSide () const |
| virtual void | setSide (const Player::Side s) |
| bool | isDeadReckoning (const Player::DeadReckoning dr) const |
| Player::DeadReckoning | getDeadReckoning () const |
| void | setDeadReckoning (const Player::DeadReckoning dr) |
| bool | isChecked () const |
| void | setCheckedFlag (const bool flg) |
| const Ntm * | getTypeMapper () const |
| bool | isEntityTypeChecked () const |
| bool | isEntityTypeUnchecked () const |
| bool | isEntityTypeValid () const |
| bool | isEntityTypeInvalid () const |
| virtual bool | setTypeMapper (const Ntm *const p) |
| virtual void | setEntityTypeChecked (const bool f) |
| LCreal | getDamage () const |
| LCreal | getSmoke () const |
| LCreal | getFlames () const |
| unsigned int | getCamouflageType () const |
| virtual bool | setDamage (const LCreal v) |
| virtual bool | setSmoke (const LCreal v) |
| virtual bool | setFlames (const LCreal v) |
| virtual bool | setCamouflageType (const unsigned int v) |
| bool | isTimeoutEnabled () const |
| void | setTimeoutEnabled (const bool flg) |
| void | setHoldTimer (const LCreal v) |
| bool | isHoldTimerActive () const |
| LCreal | getHoldTimer () const |
| LCreal | getTimeExec () const |
| virtual void | setTimeExec (const LCreal t) |
| const osg::Vec3 & | getPosition () const |
| virtual void | setPosition (const osg::Vec3 &newPos) |
| const osg::Vec3 & | getVelocity () const |
| virtual void | setVelocity (const osg::Vec3 &newVel) |
| const osg::Vec3 & | getAcceleration () const |
| virtual void | setAcceleration (const osg::Vec3 &newAccel) |
| const osg::Vec3 & | getEulerAngles () const |
| virtual void | setEulerAngles (const osg::Vec3 &newAngles) |
| const osg::Vec3 & | getAngularVelocities () const |
| virtual void | setAngularVelocities (const osg::Vec3 &newAngVel) |
| virtual bool | setOutputPlayerType (const Player *const p) |
| virtual bool | isPlayerStateUpdateRequired (const LCreal curExecTime) |
| virtual void | playerState2Nib (const LCreal curExecTime) |
| virtual void | nib2PlayerState () |
| virtual bool | entityStateManager (const LCreal curExecTime) |
| virtual bool | weaponFireMsgFactory (const LCreal curExecTime) |
| virtual bool | munitionDetonationMsgFactory (const LCreal curExecTime) |
| virtual bool | networkOutputManagers (const LCreal curExecTime) |
Private Attributes | |
| NetworkIO::IoType | ioType |
| SPtr< const Basic::LcString > f SPtr< Player > | player |
| SPtr< NetworkIO > | netIO |
| bool | checked |
| unsigned short | playerID |
| SPtr< const Ntm > | ntm |
| bool | entityTypeChecked |
| char | pname [PNAME_BUF_SIZE] |
| Player::Side | side |
| Player::Mode | mode |
| bool | timeoutEnbFlg |
| LCreal | holdTimer |
| LCreal | execTime |
| Player::DeadReckoning deadRe LCreal | damage |
| LCreal | smoking |
| LCreal | flames |
| unsigned int | camouflage |
| osg::Vec3 | posVec |
| osg::Vec3 | velVec |
| osg::Vec3 | accelVec |
| osg::Vec3 | angles |
| osg::Vec3 | angularVel |
| bool | posVecUpdtFlg |
| bool | velVecUpdtFlg |
| bool | accelVecUpdtFlg |
| bool | anglesUpdtFlg |
| bool | angularVelUpdtFlg |
Static Private Attributes | |
| static const unsigned int | PNAME_BUF_SIZE = 12 |
Network Interface Block (Nib) manages the player to network relationship.
| Eaagles::Simulation::Nib::Nib | ( | const NetworkIO::IoType | ioType | ) |
| NetworkIO::IoType Eaagles::Simulation::Nib::getIoType | ( | ) | const [inline] |
| bool Eaagles::Simulation::Nib::setNetworkIO | ( | NetworkIO *const | p | ) | [virtual] |
Sets our Network I/O controller.
| Player* Eaagles::Simulation::Nib::getPlayer | ( | ) | [inline] |
The player, it's name and ID.
| unsigned short Eaagles::Simulation::Nib::getPlayerID | ( | ) | const [inline] |
| const char* Eaagles::Simulation::Nib::getPlayerName | ( | ) | const [inline] |
| bool Eaagles::Simulation::Nib::setPlayer | ( | Player *const | p | ) | [virtual] |
| void Eaagles::Simulation::Nib::setPlayerID | ( | const unsigned short | v | ) | [virtual] |
| void Eaagles::Simulation::Nib::setPlayerName | ( | const char * | s | ) | [virtual] |
| const Basic::LcString * Eaagles::Simulation::Nib::getFederateName | ( | ) | const [virtual] |
Federate name as LcString.
| bool Eaagles::Simulation::Nib::setFederateName | ( | const Basic::LcString *const | msg | ) | [virtual] |
Sets our federate name.
| bool Eaagles::Simulation::Nib::isMode | ( | const Player::Mode | m | ) | const [inline] |
Mode.
| bool Eaagles::Simulation::Nib::isNotMode | ( | const Player::Mode | m | ) | const [inline] |
| Player::Mode Eaagles::Simulation::Nib::getMode | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setMode | ( | const Player::Mode | m | ) | [virtual] |
| bool Eaagles::Simulation::Nib::isSide | ( | const Player::Side | s | ) | const [inline] |
side
| bool Eaagles::Simulation::Nib::isNotSide | ( | const Player::Side | s | ) | const [inline] |
| Player::Side Eaagles::Simulation::Nib::getSide | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setSide | ( | const Player::Side | s | ) | [virtual] |
| bool Eaagles::Simulation::Nib::isDeadReckoning | ( | const Player::DeadReckoning | dr | ) | const [inline] |
Dead reckoning.
| Player::DeadReckoning Eaagles::Simulation::Nib::getDeadReckoning | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setDeadReckoning | ( | const Player::DeadReckoning | dr | ) | [inline] |
| bool Eaagles::Simulation::Nib::isChecked | ( | ) | const [inline] |
Checked flags.
| void Eaagles::Simulation::Nib::setCheckedFlag | ( | const bool | flg | ) | [inline] |
| const Ntm* Eaagles::Simulation::Nib::getTypeMapper | ( | ) | const [inline] |
Standard player (entity) type codes.
| bool Eaagles::Simulation::Nib::isEntityTypeChecked | ( | ) | const [inline] |
| bool Eaagles::Simulation::Nib::isEntityTypeUnchecked | ( | ) | const [inline] |
| bool Eaagles::Simulation::Nib::isEntityTypeValid | ( | ) | const [inline] |
| bool Eaagles::Simulation::Nib::isEntityTypeInvalid | ( | ) | const [inline] |
| bool Eaagles::Simulation::Nib::setTypeMapper | ( | const Ntm *const | p | ) | [virtual] |
| void Eaagles::Simulation::Nib::setEntityTypeChecked | ( | const bool | f | ) | [virtual] |
| LCreal Eaagles::Simulation::Nib::getDamage | ( | ) | const [inline] |
Appearance.
| LCreal Eaagles::Simulation::Nib::getSmoke | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Nib::getFlames | ( | ) | const [inline] |
| unsigned int Eaagles::Simulation::Nib::getCamouflageType | ( | ) | const [inline] |
| bool Eaagles::Simulation::Nib::setDamage | ( | const LCreal | v | ) | [virtual] |
| bool Eaagles::Simulation::Nib::setSmoke | ( | const LCreal | v | ) | [virtual] |
| bool Eaagles::Simulation::Nib::setFlames | ( | const LCreal | v | ) | [virtual] |
| bool Eaagles::Simulation::Nib::setCamouflageType | ( | const unsigned int | v | ) | [virtual] |
| bool Eaagles::Simulation::Nib::isTimeoutEnabled | ( | ) | const [inline] |
NIB timeout.
| void Eaagles::Simulation::Nib::setTimeoutEnabled | ( | const bool | flg | ) | [inline] |
| void Eaagles::Simulation::Nib::setHoldTimer | ( | const LCreal | v | ) | [inline] |
| bool Eaagles::Simulation::Nib::isHoldTimerActive | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Nib::getHoldTimer | ( | ) | const [inline] |
| LCreal Eaagles::Simulation::Nib::getTimeExec | ( | ) | const [inline] |
Exec time.
| void Eaagles::Simulation::Nib::setTimeExec | ( | const LCreal | t | ) | [virtual] |
| const osg::Vec3& Eaagles::Simulation::Nib::getPosition | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setPosition | ( | const osg::Vec3 & | newPos | ) | [virtual] |
| const osg::Vec3& Eaagles::Simulation::Nib::getVelocity | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setVelocity | ( | const osg::Vec3 & | newVel | ) | [virtual] |
| const osg::Vec3& Eaagles::Simulation::Nib::getAcceleration | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setAcceleration | ( | const osg::Vec3 & | newAccel | ) | [virtual] |
| const osg::Vec3& Eaagles::Simulation::Nib::getEulerAngles | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setEulerAngles | ( | const osg::Vec3 & | newAngles | ) | [virtual] |
| const osg::Vec3& Eaagles::Simulation::Nib::getAngularVelocities | ( | ) | const [inline] |
| void Eaagles::Simulation::Nib::setAngularVelocities | ( | const osg::Vec3 & | newAngVel | ) | [virtual] |
| bool Eaagles::Simulation::Nib::setOutputPlayerType | ( | const Player *const | p | ) | [virtual] |
| bool Eaagles::Simulation::Nib::isPlayerStateUpdateRequired | ( | const LCreal | curExecTime | ) | [virtual] |
| void Eaagles::Simulation::Nib::playerState2Nib | ( | const LCreal | curExecTime | ) | [virtual] |
| void Eaagles::Simulation::Nib::nib2PlayerState | ( | ) | [virtual] |
| bool Eaagles::Simulation::Nib::entityStateManager | ( | const LCreal | curExecTime | ) | [virtual] |
Reimplemented in Eaagles::Network::NibDisIO.
| bool Eaagles::Simulation::Nib::weaponFireMsgFactory | ( | const LCreal | curExecTime | ) | [virtual] |
Reimplemented in Eaagles::Network::NibDisIO.
| bool Eaagles::Simulation::Nib::munitionDetonationMsgFactory | ( | const LCreal | curExecTime | ) | [virtual] |
Reimplemented in Eaagles::Network::NibDisIO.
| bool Eaagles::Simulation::Nib::networkOutputManagers | ( | const LCreal | curExecTime | ) | [virtual] |
Reimplemented in Eaagles::Network::NibDisIO.
Input/Output direction of this NIB.
SPtr<const Basic::LcString> f SPtr<Player> Eaagles::Simulation::Nib::player [private] |
Our playerederateName;.
SPtr<NetworkIO> Eaagles::Simulation::Nib::netIO [private] |
Our Network.
bool Eaagles::Simulation::Nib::checked [private] |
NIB was checked.
unsigned short Eaagles::Simulation::Nib::playerID [private] |
Player ID.
SPtr<const Ntm> Eaagles::Simulation::Nib::ntm [private] |
Type mapper and type chec Type mapperked flags
bool Eaagles::Simulation::Nib::entityTypeChecked [private] |
Entity type has been checked.
const unsigned int Eaagles::Simulation::Nib::PNAME_BUF_SIZE = 12 [static, private] |
Player data.
char Eaagles::Simulation::Nib::pname[PNAME_BUF_SIZE] [private] |
Name.
Player::Side Eaagles::Simulation::Nib::side [private] |
Side.
Player::Mode Eaagles::Simulation::Nib::mode [private] |
NIB Mode.
bool Eaagles::Simulation::Nib::timeoutEnbFlg [private] |
NIB can timeout flag.
LCreal Eaagles::Simulation::Nib::holdTimer [private] |
Time to remain in current mode after reset(net)/crash/killed.
LCreal Eaagles::Simulation::Nib::execTime [private] |
Exec time of last output (seconds).
Player::DeadReckoning deadRe LCreal Eaagles::Simulation::Nib::damage [private] |
Damage state from no damage(0.0) to destroyed (1.0)ckoning;.
LCreal Eaagles::Simulation::Nib::smoking [private] |
Smoke state from no smoke (0.0) to maximum (1.0).
LCreal Eaagles::Simulation::Nib::flames [private] |
Flames state from no flames (0.0) to maximum (1.0).
unsigned int Eaagles::Simulation::Nib::camouflage [private] |
Camouflage type (0 is none).
osg::Vec3 Eaagles::Simulation::Nib::posVec [private] |
Player state data Position vector (m) [ x, y, z ] NED
osg::Vec3 Eaagles::Simulation::Nib::velVec [private] |
Velocity Vector (earth) (m/sec) [ ue, ve, we ] NED.
osg::Vec3 Eaagles::Simulation::Nib::accelVec [private] |
Acceleration Vector (earth) ((m/sec)/sec) [ due, dve, dwe ] NED.
osg::Vec3 Eaagles::Simulation::Nib::angles [private] |
(Euler) angles about x, y, z (rad) [ roll pitch yaw ] or [ phi theta psi ]
osg::Vec3 Eaagles::Simulation::Nib::angularVel [private] |
Angular velocities (aircraft) (rad/sec) [ pa, qa, ra ].
bool Eaagles::Simulation::Nib::posVecUpdtFlg [private] |
Player state flags (input support).
bool Eaagles::Simulation::Nib::velVecUpdtFlg [private] |
Updated Position vector flag.
bool Eaagles::Simulation::Nib::accelVecUpdtFlg [private] |
Updated Velocity Vector flag.
bool Eaagles::Simulation::Nib::anglesUpdtFlg [private] |
Updated Acceleration Vector flag.
bool Eaagles::Simulation::Nib::angularVelUpdtFlg [private] |
Updated (Euler) angles flag.
1.5.0