VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Classes | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtBallisticManager Class Referenceabstract

vrvCore singleton base class for the ballistic manager.

Provides a vrvCore-visible interface for spawning and removing GPU-simulated projectile bursts. The concrete implementation is registered by vrvOsg at startup.

Inheritance diagram for makVrv::DtBallisticManager:
Inheritance graph
[legend]

Classes

struct  BallisticData
 
struct  BallisticIdentifier
 

Public Member Functions

virtual ~DtBallisticManager ()
 
 DtBallisticManager ()=delete
 
 DtBallisticManager (const DtBallisticManager &)=delete
 
DtBallisticManager & operator= (const DtBallisticManager &)=delete
 
virtual void tick (void)=0
 
virtual void createProjectiles (const BallisticIdentifier &id, const BallisticData &data)=0
 
virtual void removeProjectiles (const BallisticIdentifier &id)=0
 
- Public Member Functions inherited from makVrv::DtVirtualBaseClass
 DtVirtualBaseClass ()
 
virtual ~DtVirtualBaseClass ()
 

Static Public Member Functions

static DtBallisticManager & instance (DtDe &de)
 

Protected Member Functions

 DtBallisticManager (DtDe &de)
 

Protected Attributes

DtDe & myDe
 

Constructor & Destructor Documentation

virtual makVrv::DtBallisticManager::~DtBallisticManager ( )
virtual

Virtual destructor.

makVrv::DtBallisticManager::DtBallisticManager ( DtDe &  de)
protected

Protected constructor; use the concrete subclass to instantiate.

Parameters
deThe simulation environment this manager is associated with.
makVrv::DtBallisticManager::DtBallisticManager ( )
delete

Default construction is not supported.

makVrv::DtBallisticManager::DtBallisticManager ( const DtBallisticManager &  )
delete

Copy construction is not supported.

Member Function Documentation

static DtBallisticManager& makVrv::DtBallisticManager::instance ( DtDe &  de)
static

Returns the registered DtBallisticManager singleton for the given DtDe.

Parameters
deThe simulation environment to look up the manager in.
Returns
Reference to the registered manager.
Exceptions
DtExceptionif no manager has been registered.
DtBallisticManager& makVrv::DtBallisticManager::operator= ( const DtBallisticManager &  )
delete

Assignment is not supported.

virtual void makVrv::DtBallisticManager::tick ( void  )
pure virtual

Called each simulation tick; implemented by the concrete subclass.

Implemented in makVrv::DtOsgBallisticManager.

virtual void makVrv::DtBallisticManager::createProjectiles ( const BallisticIdentifier &  id,
const BallisticData &  data 
)
pure virtual

Spawns a burst of projectiles described by the given data.

Parameters
idIdentifier of the firing entity.
dataBallistic parameters for the burst.

Implemented in makVrv::DtOsgBallisticManager.

virtual void makVrv::DtBallisticManager::removeProjectiles ( const BallisticIdentifier &  id)
pure virtual

Cancels and removes all active projectiles fired by the given entity.

Parameters
idIdentifier of the firing entity whose projectiles should be removed.

Implemented in makVrv::DtOsgBallisticManager.

Member Data Documentation

DtDe& makVrv::DtBallisticManager::myDe
protected

Reference to the simulation environment this manager is associated with.


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

Document ID: Generated on Thu Oct 15 21:27:02 EDT 2026 from SVN revision 296421
Copyright © 2005-2026 MAK Technologies. All Rights Reserved (www.mak.com)