16 #include <vl/diGuyObjectStateRepository.h>
18 #include <vlutil/vlTime.h>
19 #include <vl/globalObjectDesignator.h>
21 #include <matrix/vlVector.h>
22 #include <matrix/vlTaitBryan.h>
24 #include <vlpi/disEnums.h>
25 #include <vlpi/entityType.h>
30 class DtDIGuyObjectStateRepository;
36 class DtVrlinkConnection;
42 template <
typename StateRepClass>
78 const DtVector32& vel,
79 const DtTaitBryan& ori,
80 const DtVector32& acc,
81 const DtVector32& rotVel,
101 virtual void setAlgorithm(DtDeadReckonTypes alg)
override;
108 virtual void setHostGlobalId(
const DtGlobalObjectDesignator&
id )
override;
139 virtual void setStationName(
const DtStationName newVal )
override;
160 virtual void setEntityType(
const DtEntityType& type)
override;
173 virtual void setEntityId(
const DtEntityIdentifier&
id)
override;
179 virtual void setForceId(DtForceType force)
override;
299 const DtAppearAttrVal val)
override;
345 virtual void addDiGuyShapeVariation(
unsigned int linkIndex,
unsigned int shapeIndex,
const DtDiGuyPixelData& pixelData )
override;
349 virtual void setDiGuyUnit(
const DtPatchIdentifier& val )
override;
351 virtual void setDiGuyRank(
const DtPatchIdentifier& val )
override;
371 double speed,
bool usePositioning,
const DtVector&
offset,
double transitionSpeed );
380 virtual void setDiGuyArc(
const std::vector<char>& val )
override;
381 virtual void setDiGuyParent(
const DtEntityIdentifier& val )
override;
virtual void setDiGuyCharacterNameNoPropagation(const DtString &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setRelativeOrientation(const DtTaitBryan &orient, DtTime aTime) override
Set the relative orientation of the entity with respect to the host.
virtual void setAll(const DtVector &loc, const DtVector32 &vel, const DtTaitBryan &ori, const DtVector32 &acc, const DtVector32 &rotVel, DtTime curTime) override
Coherently set all DR parameters, thus avoiding DR computations associated with a partial set...
virtual void setDiGuyCharacterScaleNoPropagation(const DtVector &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
DtEntityStateInterceptor()=delete
not allowed - default constructor
virtual void setLocation(const DtVector &location, DtTime aTime) override
Set the location of the center of mass in geocentric world coordinates at aTime.
virtual void setDiGuyItemAppearanceNoPropagation(const DtString &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void clearHostGlobalId() override
Coherently set all DR parameters, thus avoiding DR computations associated with a partial set...
The DtVrlinkEntityStateListener extends DtEntityStateListener to process all entity state information...
Definition: DtVrlinkEntityStateListener.h:58
virtual void setDiGuyCharacterScale(const DtVector &scale) override
Sets the character scaling factor.
virtual void addDiGuyShapeVariation(unsigned int linkIndex, unsigned int shapeIndex, const DtDiGuyPixelData &pixelData) override
virtual ~DtEntityStateInterceptor()
destructor
virtual void setDiGuyActionNoPropagation(const DtString &val, bool paused, double speed, bool usePositioning, const DtVector &offset, double transitionSpeed)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setStationNumber(const DtU16 newVal) override
Sets the station number this entity is assigned to on the host.
virtual void setDiGuyParent(const DtEntityIdentifier &val) override
virtual void setDiGuyHeadAppearanceNoPropagation(const DtString &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setDiGuyEquipmentNoPropagation(const DtString &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setDiGuyRank(const DtPatchIdentifier &val) override
virtual void setHostGlobalId(const DtGlobalObjectDesignator &id) override
Sets the globalId of the attached host. This function should only be used to attach this entity to an...
virtual void setDiGuyPersonalUnit(const DtPatchIdentifier &val) override
virtual void setAppearanceAttribute(const DtAppearAttribute attr, const DtAppearAttrVal val) override
Set an appearance attribute. attr is the appearance bitfield mask val is the hex number to be or'ed i...
virtual void setDiGuyItemAppearance(const DtString &val) override
virtual void setDiGuyCharacterPersonalUnitNoPropagation(const DtPatchIdentifier &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setAppearance(DtU32 app)
Set the appearance bit field, use with care.
virtual void setRelativePosition(const DtVector &newVal) override
Set the relative position on the host.
Contains makVrv::DtPartCollectionInterceptor class.
#define DT_PROTOCOL_NAMESPACE
Contains DLL export macros.
Definition: vrfDis.h:17
Contains makVrv::DtVirtualBaseClass class.
virtual void setDiGuyUnit(const DtPatchIdentifier &val) override
virtual void setDiGuyTypeNoPropagation(const DtString &newType)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setForceId(DtForceType force) override
Set the force type.
virtual void setDiGuyCharacterRankNoPropagation(const DtPatchIdentifier &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setAlgorithm(DtDeadReckonTypes alg) override
Set the dead reckoning algorithm.
virtual void setDiGuyBodyWeight(double val) override
virtual void setRelativeAlgorithm(DtDeadReckonTypes alg) override
Set the dead reckoning algorithm.
virtual void removeDiGuyShapeVariation(unsigned int linkIndex, unsigned int shapeIndex) override
virtual void setDiGuyBodyWeightNoPropagation(DtFloat64 val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setRelativeFrozen(bool onOff) override
Set relative frozen.
virtual void setDiGuyShapeVariations(const DtDiGuyLinkShapeMap &shapeVariations) override
virtual void setVelocity(const DtVector32 &Velocity, DtTime aTime) override
Set the velocity in meters per second at aTime.
virtual void setRelativeRotationalVelocity(const DtVector32 &BodyRates, DtTime aTime) override
Set the relative rotational velocity.
virtual DtStateRepository * clone(bool copy=false) const override
Return a copy/empty object of the same type as this.
Contains makVrv::DtBaseEntityStateInterceptor class.
virtual void setEntityType(const DtEntityType &type) override
Set the entity type.
virtual void setDiGuyAction(const DtString &val) override
Base class for EntityState Interceptors, this allows all entity ESI's to have an HLA13 entity...
Definition: DtBaseEntityStateInterceptor.h:28
virtual void setRelativeLocation(const DtVector &location, DtTime aTime) override
Set the location of the center of mass in world coordinates at the given time.
virtual void setRotationalVelocity(const DtVector32 &BodyRates, DtTime aTime) override
Set the rotational velocity of an entity at aTime.
DtEntityStateInterceptor & operator=(const DtEntityStateInterceptor &)=delete
not allowed - equals operator
virtual void setDiGuyName(const DtString &val) override
DtVrlinkEntityStateListener * myVrlinkEntityStateListener
Definition: DtEntityStateInterceptor.h:392
virtual void setDiGuyStateRepository(DtDIGuyObjectStateRepository *diGuyStateRep)
Sets the related DI-Guy state repository (see DtDiGuyStateRepositoryInterceptoy.h) that...
virtual void setDiGuyAppearance(const DtString &val) override
virtual void setEntityId(const DtEntityIdentifier &id) override
Set the entity's identifier. In DIS, this comes as part of the reflected entity constructor. In DIS, this is the GlobalObjectDesignator; in HLA/RPR, it's just another data element.
virtual void setDiGuyAppearanceNoPropagation(const DtString &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...
virtual void setRelativeAcceleration(const DtVector32 &Acceleration, DtTime aTime) override
Set the relative acceleration of the entity with respect to the host at aTime.
virtual void setAcceleration(const DtVector32 &Acceleration, DtTime aTime) override
Sets the acceleration at aTime.
virtual DtArticulatedPartCollection * artPartList()
Get the art part list.
voidpf uLong offset
Definition: ioapi.h:42
virtual void setStationName(const DtStationName newVal) override
Sets the station name this entity is assigned to on the host.
virtual void setMarkingText(const char *text) override
Set the marking text attribute. This is typically used as the vehicle bumper number, though some applications may use it as a unique identifier.
virtual void setDiGuyType(const DtString &newType) override
virtual void setOrientation(const DtTaitBryan &orient, DtTime aTime) override
Set the orientation at aTime.
virtual void setDiGuyArc(const std::vector< char > &val) override
virtual void setDiGuyHeadAppearance(const DtString &val) override
virtual void setRelativeVelocity(const DtVector32 &Velocity, DtTime aTime) override
Set the relative velocity of the entity in meters per second with respect to the host at aTime...
The state interceptor interface extends DtStateRepository, via the StateRepClass template parameter...
Definition: DtEntityStateInterceptor.h:43
virtual void setDiGuyCharacterUnitNoPropagation(const DtPatchIdentifier &val)
These are to support HLAevolved without causing infinite loops, they call the listener for data repli...