I suppose it's fair say that there is quite inadequate literature on HLA. I have been talking to people and reading about HLA in bits and pieces. The federates can basically chit-chat with each other by two means :
1. Publishing and Subscribing Objects
2. Sending and Receiving Interactions
Let us consider a case where two federates communicate by publishing and subscribing objects. Let us consider two federates ns3 and dummy, the process of having multiple federates running though a RTI can be summarised as below:
1. Both federates publish and subscribe object through the RTI.
2. Whenever one federate changes any attributes of the object, a callback is send by the RTI to the federate and also the changed attributes.
3. RTI only grants a time advance request when all federates have finished their simulation till the present time.
This is how the entire federation works.
1. Publishing and Subscribing Objects
2. Sending and Receiving Interactions
Let us consider a case where two federates communicate by publishing and subscribing objects. Let us consider two federates ns3 and dummy, the process of having multiple federates running though a RTI can be summarised as below:
1. Both federates publish and subscribe object through the RTI.
2. Whenever one federate changes any attributes of the object, a callback is send by the RTI to the federate and also the changed attributes.
3. RTI only grants a time advance request when all federates have finished their simulation till the present time.
This is how the entire federation works.
No comments:
Post a Comment