void enable()
Lifecycle control for emitter system.
void onEmitterSystemUpdate(DtReflectedEmitterSystem *obj)
Instance-level handlers for reflected emitter lifecycle.
void onEmitterSystemRemoval(DtReflectedEmitterSystem *obj)
Instance-level handlers for reflected emitter lifecycle.
static void emitterSystemUpdateCallback(DtReflectedEmitterSystem *obj, void *usr)
Static callbacks used to hook reflected emitter systems.
DtExerciseConn * myExConn
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:72
Instances of DtExerciseConn are used to provide an application's interface or connection to the netwo...
Definition: exerciseConnHLA.h:62
DtEmitterComponent(DtVehicleSim *owner, DtExerciseConn *conn, DtReflectedEntityList *rel, DtEntityStateRepository *esr)
Construct an emitter component bound to a vehicle and its state/network context.
bool onEmitterSystemDiscovery(DtReflectedEmitterSystem *refEmitter)
Instance-level handlers for reflected emitter lifecycle.
Part of the F18 example.
Definition: f18/vehicleSim.h:29
DtString generateEmbeddedSystemName(const char *baseName)
Generate a unique embedded-system name for this host.
DtEmitterSystemPublisher * myEmitterPub
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:76
void disable()
Disable radar emissions and destroy the emitter system/beam.
bool enabled() const
Return true if emissions are currently enabled.
void tick(double dt)
Per-frame update; publishes emitter state when enabled.
static void emitterSystemAdditionCallback(DtReflectedEmitterSystem *obj, void *usr)
Static callbacks used to hook reflected emitter systems.
DtVehicleSim * myOwner
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:71
Instances of DtReflectedEmitterSystemList manage the list of of remote EmitterSystems in the exercise...
Definition: reflectedEmitterSystemListHLA.h:21
DtEmitterBeamRepository * myBeam
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:77
Instances of DtEntityStateRepository are used to maintain attributes and state of entity objects in a...
Definition: entityStateRepository.h:42
class DtReflectedObject:
Definition: reflectedObjectHLA.h:36
DtReflectedEntityList * myRel
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:73
static void emitterSystemRemovalCallback(DtReflectedEmitterSystem *obj, void *usr)
Static callbacks used to hook reflected emitter systems.
class DtEmitterBeamRepository:
Definition: emitterBeamRepository.h:44
Instances of DtReflectedEntityList are used to manage remote entities from the network.
Definition: reflectedEntityListHLA.h:38
This file provides protocol to independence DtExerciseConn.
void toggle()
Toggle emissions on or off.
DtEntityStateRepository * myESR
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:74
bool myEnabled
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:79
void onEmitterSystemAddition(DtReflectedEmitterSystem *obj)
Instance-level handlers for reflected emitter lifecycle.
~DtEmitterComponent()
Destructor.
Instances of DtEmitterSystemPublisher are used for local or source simulations of emitter systems...
Definition: emitterSystemPublisherHLA.h:23
void switchScanData()
Change the radar beam scan pattern (for demo purposes)
Definition: emitterComponent.h:22
Instances of DtString are used to represent strings.
Definition: vlString.h:38
DtReflectedEmitterSystemList * myRefEmitList
Owning vehicle, shared context, emitter publisher, and reflection list.
Definition: emitterComponent.h:78
static bool emitterSystemDiscoveryCondition(DtReflectedObject *refObj, void *usr)
Static callbacks used to hook reflected emitter systems.
Instances of DtReflectedEmitterSystem represent EmitterSystem objects simulated by remote application...
Definition: reflectedEmitterSystemHLA.h:28