20#include <vrfobjcore/vrfTurretedBalGunPSR.h>
44 DtVreVrfBalGunPSR(DtLocalObject* vrfObject,
const DtString& rwName = DtString::nullString(),
45 DtReaderWriterRegistry* parentRegistry = 0);
54 DtReaderWriterRegistry* parentRegistry = 0);
74 virtual DtVrfProcessStateRepository*
clone(
const DtString& rwName = DtString::nullString(),
75 DtReaderWriterRegistry* parentRegistry = 0)
const override;
82 virtual DtString
type()
const override;
135 const DtReaderWriter::SearchPaths& searchPaths,
136 const DtVariableBindingsList& variableBindings)
override;
147 const DtString& rwName, DtLocalObject* vrfObject, DtReaderWriterRegistry* parentRegistry);
Class representing ballistic projectiles in simulations.
Definition projectile.h:42
Class representing a list of projectiles.
Definition projectileList.h:38
Extended ballistic gun process state repository for VREngage.
Definition vreVrfBalGunPSR.h:36
DtSimObject * myFiringEntity
Pointer to the firing entity.
Definition vreVrfBalGunPSR.h:166
virtual void getSelf(DtlObjPtr args, const DtReaderWriter::SearchPaths &searchPaths, const DtVariableBindingsList &variableBindings) override
Processes an MTL stream to initialize this PSR.
DtVreVrfBalGunPSR(const DtVreVrfBalGunPSR &orig, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
Copy constructor.
DtProjectileList myProjectileList
List of tracked projectiles.
Definition vreVrfBalGunPSR.h:154
DtPhysicalWorld * myPhysicalWorld
Pointer to the physical world.
Definition vreVrfBalGunPSR.h:160
DtVreVrfBalGunPSR & operator=(const DtVreVrfBalGunPSR &orig)
Assignment operator.
virtual void setPhysicalWorld(DtPhysicalWorld *physicalWorld)
Sets the physical world pointer.
DtVreVrfBalGunPSR(DtLocalObject *vrfObject, const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0)
Constructor with VRF object and optional name.
virtual void setFiringEntity(DtSimObject *firingEntity)
Sets the firing entity.
virtual ~DtVreVrfBalGunPSR() override
Virtual destructor.
Definition vreVrfBalGunPSR.h:59
static DtVrfProcessStateRepository * creator(const DtString &rwName, DtLocalObject *vrfObject, DtReaderWriterRegistry *parentRegistry)
Factory function to create a new instance of this PSR.
virtual DtString type() const override
Gets the type identifier for this PSR.
virtual DtVrfProcessStateRepository * clone(const DtString &rwName=DtString::nullString(), DtReaderWriterRegistry *parentRegistry=0) const override
Creates a clone of this PSR.
virtual std::list< DtProjectileDetonationResult > updateProjectiles(double deltaTime)
Updates all tracked projectiles.
virtual void addProjectile(const DtProjectile &projectile)
Adds a projectile to the tracking list.
virtual void removeAllProjectiles()
Removes all tracked projectiles.
Export macros for the VREngage Object Core library.
#define VREVRFOBJCORE_DLL
Platform-specific DLL export/import declaration.
Definition export.h:27
Include export definitions for this library.
Definition glsVreMessageUtil.h:49
const char DtVreVrfBalGunPSRType[]
Type identifier string for the VREngage ballistic gun PSR.
Definition vreVrfBalGunPSR.h:27
Projectile detonation result class for VREngage.
Projectile list class for VREngage.