Basic HTML version of Foils prepared Nov 29 97

Foil 36 Example: Event Driven Federate

From Overview of HLA and RTI DMSO Standards ARL Training Session IMT Dec 4 97 -- Dec 4 97. by Geoffrey Fox but selected by W. Furmanski from DMSO


1 while (simulation still in progress)
2 invoke Next Event Request (Tlocal = time stamp of next local event)
3 RTI delivers next TSO event w/ time stamp Š Tlocal if any exist (+ others w/ same time stamp)
4 RTI advances federate's logical time, invokes Time Advance Grant
5 if (TSO message(s) delivered in above Next Event Request service call)
6 process the remote event(s) delivered to the federate
7 else process next local event
8 Goal: merge TSO messages (events from other federates) with local events so all events are processed in time stamp order
9 RTI
10 federate
11 TSO
12 messages
13 local
14 events
15 logical
16 time
17 current
18 time
19 next
20 local
21 event
22 next
23 remote
24 event
25 Tlocal

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sun Nov 29 1998