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

Identifies a single burst sequence so callers can cancel pending (not-yet-spawned) rounds.

Pass to DtOsgBallisticManager::cancelBurst() to abort a burst early. Already-spawned projectiles continue to simulate until their natural expiry; only rounds not yet spawned are discarded. A default-constructed handle is invalid (isValid() == false).

Public Member Functions

 DtBallisticBurstHandle ()
 
 DtBallisticBurstHandle (uint64_t id)
 
bool isValid () const
 
uint64_t id () const
 
bool operator== (const DtBallisticBurstHandle &other) const
 
bool operator!= (const DtBallisticBurstHandle &other) const
 

Protected Attributes

uint64_t myId
 

Constructor & Destructor Documentation

makVrv::DtBallisticBurstHandle::DtBallisticBurstHandle ( )

Constructs an invalid handle (isValid() returns false).

makVrv::DtBallisticBurstHandle::DtBallisticBurstHandle ( uint64_t  id)

Constructs a handle with the given opaque burst ID.

Callers should not construct handles directly; use DtOsgBallisticManager::createProjectiles().

Parameters
idOpaque burst identifier assigned by the manager.

Member Function Documentation

bool makVrv::DtBallisticBurstHandle::isValid ( ) const

Returns true if this handle refers to a live or recently completed burst record.

A default-constructed handle always returns false.

uint64_t makVrv::DtBallisticBurstHandle::id ( ) const

Returns the opaque burst identifier.

bool makVrv::DtBallisticBurstHandle::operator== ( const DtBallisticBurstHandle &  other) const

Returns true if both handles refer to the same burst.

bool makVrv::DtBallisticBurstHandle::operator!= ( const DtBallisticBurstHandle &  other) const

Returns true if the handles refer to different bursts.

Member Data Documentation

uint64_t makVrv::DtBallisticBurstHandle::myId
protected

Opaque burst ID assigned by the manager; 0 indicates an invalid handle.


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)