Crate open_dis_rust

Source
Expand description

§open_dis_rust crate

This is a library that implements the IEEE 1278.1-2012 Distributed Interactive Simulation application protocol.

For more information on this standard, you may view the publication from the IEEE website.

§Example usage

use open_dis_rust::common::pdu::Pdu;
use open_dis_rust::simulation_management::acknowledge_pdu::AcknowledgePdu;
use bytes::BytesMut;

// Create new mutable byte array
let mut bytes = BytesMut::new();
// Create a pre-populated AcknowledgePdu
let mut ack_pdu = AcknowledgePdu::default();
// Serialize the PDU into the byte array, which can then be sent over UDP
ack_pdu.serialize(&mut bytes);

Modules§

common
All commonly used non-PDU data types
distributed_emissions
The Distributed Emission Regeneration protocol family
entity_information
The Entity Information / Interaction protocol family
entity_management
The Entity Management protocol family
information_operations
The Information Operations protocol family
logistics
The Logistics protocol family
minefield
The Minefield protocol family
radio_communications
The Radio Communications protocol family
simulation_management
The Simulation Management (SIMAN) protocol family
simulation_management_with_reliability
The Simulation Management with Reliability (SIMAN-R) protocol family
synthetic_environment
The Synthetic Environment protocol family
warfare
The Warfare protocol family