Exemplo n.º 1
0
 ///<summary>Writes this HLAupdateType to the specified stream.</summary>
 ///<param name="writer"> the stream to write to</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, HLAupdateType val)
 {
     writer.WriteHLAinteger32BE((int)val);
 }
Exemplo n.º 2
0
 ///<summary>Writes this HLAfederateHandle to the specified stream.</summary>
 ///<param name="writer"> the stream to write to</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, HLAfederateHandle val)
 {
     writer.WriteHLAinteger32BE((int)val);
 }
Exemplo n.º 3
0
 ///<summary>Writes this HLAsharingType to the specified stream.</summary>
 ///<param name="writer"> the stream to write to</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, HLAsharingType val)
 {
     writer.WriteHLAinteger32BE((int)val);
 }
Exemplo n.º 4
0
 ///<summary>Writes this HLAswitch to the specified stream.</summary>
 ///<param name="writer"> the stream to write to</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, HLAswitch val)
 {
     writer.WriteHLAinteger32BE((int)val);
 }
 ///<summary>
 /// Writes this HLAparameterHandleValuePair to the specified stream.
 ///</summary>
 ///<param name="writer"> the output stream to write to</param>
 ///<param name="obj"> the object to serialize</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, HLAparameterHandleValuePair obj)
 {
     writer.WriteHLAinteger64BE(obj.ParameterHandle);
     writer.WriteHLAopaqueData(obj.ParameterValue);
 }
 ///<summary>
 /// Writes this HLAparameterHandleValuePair to the specified stream.
 ///</summary>
 ///<param name="writer"> the output stream to write to</param>
 ///<param name="obj"> the object to serialize</param>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static void Serialize(HlaEncodingWriter writer, HLAparameterHandleValuePair obj)
 {
     writer.WriteHLAinteger64BE(obj.ParameterHandle);
     writer.WriteHLAopaqueData(obj.ParameterValue);
 }