Emergency 20 Dokumentation  4.2.0
em5::EPerson Class Reference

Emergency 5 implementation of EPerson wrapper class for a QSF entity. More...

#include <EPerson.h>

Inheritance diagram for em5::EPerson:
qsf::ai::EPerson em5::EGenericObjectBase qsf::ai::EGenericObject em5::EActorBase qsf::ai::EActor

Public Member Functions

 EPerson (qsf::Entity &entity)
 
virtual ~EPerson ()
 
virtual const glm::vec3 & GetPosition () override
 
virtual const glm::mat3x3 & GetRotationMatrix () override
 
virtual bool IsWalkable () override
 
virtual qsf::ai::ETerrainGetTerrain () override
 
virtual qsf::ai::ETerrainGetTerrain (int index) override
 
virtual qsf::ai::EObjectTerrainClass GetTerrainClass () override
 
virtual qsf::ai::EFloorPlacement GetPlacement () override
 
virtual void UpdatePlacement (glm::vec3 &position_, glm::mat3x3 &rotation_) override
 
virtual int GetCarriedPersonID () const override
 
virtual void initOwnerPlayer () override
 
virtual bool IsArrested () const override
 
virtual bool IsDiver () const override
 
virtual bool IsDrowning () const override
 
virtual bool IsJumping () const override
 
virtual bool IsCollisionIgnored (EActor &actor) const override
 
virtual bool CanRunFromUnitCar () const override
 
virtual int GetIsFollowing () const override
 
virtual int GetLinkedPersonID () const override
 
virtual glm::vec3 GetRelLinkPosition () const override
 
virtual const glm::vec3 & getBoundingBoxCenter () override
 
virtual const glm::vec3 & getBoundingBoxExtents () override
 
void setBoundingBox (const glm::vec3 &center, const glm::vec3 &extents)
 
virtual qsf::ai::EPersonRole GetRole () const override
 
virtual qsf::EntitygetQsfEntity () override
 
virtual bool hasTag (const qsf::StringHash &tag) const override
 
void updateRole ()
 
void updateTerrainClass ()
 
- Public Member Functions inherited from qsf::ai::EPerson
virtual bool IsCollisionIgnored (EActor &actor) const =0
 
- Public Member Functions inherited from qsf::ai::EGenericObject
virtual float GetBoundingRadius ()
 
virtual float GetBoundingRadiusXZ () const
 
virtual float GetBoundingRadiusHeight () const
 
virtual glm::vec3 GetBBMidPoint () const
 
virtual bool IsMoving () const
 
int GetFlags () const
 
bool IsFlagSet (int flag_) const
 
bool IsHydrant () const
 
bool hasFireChildren () const
 
void setMovableComponent (MovableComponent *movableComponent)
 
- Public Member Functions inherited from qsf::ai::EActor
EActorType GetType () const
 
int GetID () const
 
int GetParentID () const
 
std::string GetName () const
 
const AxisAlignedBoundingBoxGetBoundingBox () const
 
virtual void SetBoundingData (const glm::vec3 &midPoint_, float radius_, float radiusXZ_, float height_)
 
void SetBoundingDataIsSetByRouter (bool value_)
 
void SetHasRouterCollisionObject (bool has_)
 
int GetOwnerPlayer () const
 
void SetOwnerPlayerInternal (int owner_)
 

Additional Inherited Members

- Protected Member Functions inherited from qsf::ai::EPerson
 EPerson ()
 
- Protected Member Functions inherited from qsf::ai::EGenericObject
 EGenericObject (EActorType actorType)
 
- Protected Member Functions inherited from qsf::ai::EActor
 EActor (EActorType actorType)
 
- Protected Member Functions inherited from em5::EGenericObjectBase
 EGenericObjectBase (qsf::Entity &entity)
 
virtual ~EGenericObjectBase ()
 
const glm::vec3 & GetPosition ()
 
const glm::mat3x3 & GetRotationMatrix ()
 
qsf::ai::EObjectTerrainClass GetTerrainClass ()
 
qsf::ai::EFloorPlacement GetPlacement ()
 
void UpdatePlacement (glm::vec3 &position_, glm::mat3x3 &rotation_)
 
int GetCarriedPersonID () const
 
- Protected Member Functions inherited from em5::EActorBase
 EActorBase (qsf::Entity &entity)
 
virtual ~EActorBase ()
 
qsf::ai::ETerrainGetTerrain ()
 
qsf::ai::ETerrainGetTerrain (int index)
 
int initOwnerPlayer ()
 
bool IsWalkable ()
 
- Protected Attributes inherited from qsf::ai::EGenericObject
int mFlags
 
WeakPtr< MovableComponentmMovableComponent
 
- Protected Attributes inherited from qsf::ai::EActor
EActorType mActorType
 
int mID
 
AxisAlignedBoundingBox mAxisAlignedBoundingBox
 
bool mHasRouterCollisionObject
 
bool mBoundingDataIsSetByRouter
 
glm::vec3 mMidPoint
 
float mRadius
 
float mRadiusXZ
 
float mRadiusHeight
 
int mOwnerPlayer
 
- Protected Attributes inherited from em5::EActorBase
qsf::EntitymEntity
 

Detailed Description

Emergency 5 implementation of EPerson wrapper class for a QSF entity.

Constructor & Destructor Documentation

em5::EPerson::EPerson ( qsf::Entity entity)
virtual em5::EPerson::~EPerson ( )
virtual

Member Function Documentation

virtual bool em5::EPerson::CanRunFromUnitCar ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual const glm::vec3& em5::EPerson::getBoundingBoxCenter ( )
inlineoverridevirtual

Implements qsf::ai::EPerson.

virtual const glm::vec3& em5::EPerson::getBoundingBoxExtents ( )
inlineoverridevirtual

Implements qsf::ai::EPerson.

virtual int em5::EPerson::GetCarriedPersonID ( ) const
inlineoverridevirtual
virtual int em5::EPerson::GetIsFollowing ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual int em5::EPerson::GetLinkedPersonID ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual qsf::ai::EFloorPlacement em5::EPerson::GetPlacement ( )
inlineoverridevirtual
virtual const glm::vec3& em5::EPerson::GetPosition ( )
inlineoverridevirtual
virtual qsf::Entity& em5::EPerson::getQsfEntity ( )
inlineoverridevirtual

Implements qsf::ai::EActor.

virtual glm::vec3 em5::EPerson::GetRelLinkPosition ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual qsf::ai::EPersonRole em5::EPerson::GetRole ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual const glm::mat3x3& em5::EPerson::GetRotationMatrix ( )
inlineoverridevirtual
virtual qsf::ai::ETerrain* em5::EPerson::GetTerrain ( )
inlineoverridevirtual

Implements qsf::ai::EActor.

virtual qsf::ai::ETerrain* em5::EPerson::GetTerrain ( int  index)
inlineoverridevirtual

Implements qsf::ai::EActor.

virtual qsf::ai::EObjectTerrainClass em5::EPerson::GetTerrainClass ( )
overridevirtual
virtual bool em5::EPerson::hasTag ( const qsf::StringHash tag) const
overridevirtual

Implements qsf::ai::EActor.

virtual void em5::EPerson::initOwnerPlayer ( )
inlineoverridevirtual

Implements qsf::ai::EActor.

virtual bool em5::EPerson::IsArrested ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual bool em5::EPerson::IsCollisionIgnored ( EActor actor) const
overridevirtual
virtual bool em5::EPerson::IsDiver ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual bool em5::EPerson::IsDrowning ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual bool em5::EPerson::IsJumping ( ) const
overridevirtual

Implements qsf::ai::EPerson.

virtual bool em5::EPerson::IsWalkable ( )
inlineoverridevirtual

Implements qsf::ai::EActor.

void em5::EPerson::setBoundingBox ( const glm::vec3 &  center,
const glm::vec3 &  extents 
)
virtual void em5::EPerson::UpdatePlacement ( glm::vec3 &  position_,
glm::mat3x3 &  rotation_ 
)
inlineoverridevirtual
void em5::EPerson::updateRole ( )
void em5::EPerson::updateTerrainClass ( )

The documentation for this class was generated from the following file: