VR-Link API Documentation for HLA 4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions
DtEmitterComponent Class Reference
+ Collaboration diagram for DtEmitterComponent:

Public Member Functions

 DtEmitterComponent (DtVehicleSim *owner, DtExerciseConn *conn, DtReflectedEntityList *rel, DtEntityStateRepository *esr)
 Construct an emitter component bound to a vehicle and its state/network context. More...
 
 ~DtEmitterComponent ()
 Destructor. More...
 
void switchScanData ()
 Change the radar beam scan pattern (for demo purposes) More...
 
bool enabled () const
 Return true if emissions are currently enabled. More...
 
void enable ()
 Lifecycle control for emitter system. More...
 
void disable ()
 Disable radar emissions and destroy the emitter system/beam. More...
 
void toggle ()
 Toggle emissions on or off. More...
 
void tick (double dt)
 Per-frame update; publishes emitter state when enabled. More...
 

Protected Member Functions

DtString generateEmbeddedSystemName (const char *baseName)
 Generate a unique embedded-system name for this host. More...
 
void onEmitterSystemUpdate (DtReflectedEmitterSystem *obj)
 Instance-level handlers for reflected emitter lifecycle. More...
 
void onEmitterSystemAddition (DtReflectedEmitterSystem *obj)
 Instance-level handlers for reflected emitter lifecycle. More...
 
void onEmitterSystemRemoval (DtReflectedEmitterSystem *obj)
 Instance-level handlers for reflected emitter lifecycle. More...
 
bool onEmitterSystemDiscovery (DtReflectedEmitterSystem *refEmitter)
 Instance-level handlers for reflected emitter lifecycle. More...
 

Static Protected Member Functions

static void emitterSystemUpdateCallback (DtReflectedEmitterSystem *obj, void *usr)
 Static callbacks used to hook reflected emitter systems. More...
 
static void emitterSystemAdditionCallback (DtReflectedEmitterSystem *obj, void *usr)
 Static callbacks used to hook reflected emitter systems. More...
 
static void emitterSystemRemovalCallback (DtReflectedEmitterSystem *obj, void *usr)
 Static callbacks used to hook reflected emitter systems. More...
 
static bool emitterSystemDiscoveryCondition (DtReflectedObject *refObj, void *usr)
 Static callbacks used to hook reflected emitter systems. More...
 

Protected Attributes

DtVehicleSim * myOwner
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 
DtExerciseConn * myExConn
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 
DtReflectedEntityList * myRel
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 
DtEntityStateRepository * myESR
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 
DtEmitterSystemPublisher * myEmitterPub
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 
DtEmitterBeamRepository * myBeam
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 
DtReflectedEmitterSystemList * myRefEmitList
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 
bool myEnabled
 Owning vehicle, shared context, emitter publisher, and reflection list. More...
 

Constructor & Destructor Documentation

DtEmitterComponent::DtEmitterComponent ( DtVehicleSim *  owner,
DtExerciseConn *  conn,
DtReflectedEntityList *  rel,
DtEntityStateRepository *  esr 
)

Construct an emitter component bound to a vehicle and its state/network context.

DtEmitterComponent::~DtEmitterComponent ( )

Destructor.

Member Function Documentation

void DtEmitterComponent::disable ( )

Disable radar emissions and destroy the emitter system/beam.

static void DtEmitterComponent::emitterSystemAdditionCallback ( DtReflectedEmitterSystem *  obj,
void *  usr 
)
staticprotected

Static callbacks used to hook reflected emitter systems.

static bool DtEmitterComponent::emitterSystemDiscoveryCondition ( DtReflectedObject *  refObj,
void *  usr 
)
staticprotected

Static callbacks used to hook reflected emitter systems.

static void DtEmitterComponent::emitterSystemRemovalCallback ( DtReflectedEmitterSystem *  obj,
void *  usr 
)
staticprotected

Static callbacks used to hook reflected emitter systems.

static void DtEmitterComponent::emitterSystemUpdateCallback ( DtReflectedEmitterSystem *  obj,
void *  usr 
)
staticprotected

Static callbacks used to hook reflected emitter systems.

void DtEmitterComponent::enable ( )

Lifecycle control for emitter system.

Enable radar emissions and create the emitter system/beam

bool DtEmitterComponent::enabled ( ) const

Return true if emissions are currently enabled.

DtString DtEmitterComponent::generateEmbeddedSystemName ( const char *  baseName)
protected

Generate a unique embedded-system name for this host.

void DtEmitterComponent::onEmitterSystemAddition ( DtReflectedEmitterSystem *  obj)
protected

Instance-level handlers for reflected emitter lifecycle.

bool DtEmitterComponent::onEmitterSystemDiscovery ( DtReflectedEmitterSystem *  refEmitter)
protected

Instance-level handlers for reflected emitter lifecycle.

void DtEmitterComponent::onEmitterSystemRemoval ( DtReflectedEmitterSystem *  obj)
protected

Instance-level handlers for reflected emitter lifecycle.

void DtEmitterComponent::onEmitterSystemUpdate ( DtReflectedEmitterSystem *  obj)
protected

Instance-level handlers for reflected emitter lifecycle.

void DtEmitterComponent::switchScanData ( )

Change the radar beam scan pattern (for demo purposes)

void DtEmitterComponent::tick ( double  dt)

Per-frame update; publishes emitter state when enabled.

void DtEmitterComponent::toggle ( )

Toggle emissions on or off.

Member Data Documentation

DtEmitterBeamRepository* DtEmitterComponent::myBeam
protected

Owning vehicle, shared context, emitter publisher, and reflection list.

DtEmitterSystemPublisher* DtEmitterComponent::myEmitterPub
protected

Owning vehicle, shared context, emitter publisher, and reflection list.

bool DtEmitterComponent::myEnabled
protected

Owning vehicle, shared context, emitter publisher, and reflection list.

DtEntityStateRepository* DtEmitterComponent::myESR
protected

Owning vehicle, shared context, emitter publisher, and reflection list.

DtExerciseConn* DtEmitterComponent::myExConn
protected

Owning vehicle, shared context, emitter publisher, and reflection list.

DtVehicleSim* DtEmitterComponent::myOwner
protected

Owning vehicle, shared context, emitter publisher, and reflection list.

DtReflectedEmitterSystemList* DtEmitterComponent::myRefEmitList
protected

Owning vehicle, shared context, emitter publisher, and reflection list.

DtReflectedEntityList* DtEmitterComponent::myRel
protected

Owning vehicle, shared context, emitter publisher, and reflection list.


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

Document ID: Generated on Mon Sep 28 00:09:32 EDT 2026 from SVN revision 295353
Copyright © 1992-2025 MAK Technologies. All Rights Reserved (www.mak.com)