예제 #1
0
 ///<summary> Reads and returns a HLAupdateType from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAupdateType Deserialize(HlaEncodingReader reader)
 {
     return (HLAupdateType)reader.ReadHLAinteger32BE();
 }
예제 #2
0
 ///<summary> Reads and returns a HLAfederateHandle from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAfederateHandle Deserialize(HlaEncodingReader reader)
 {
     return((HLAfederateHandle)reader.ReadHLAinteger32BE());
 }
예제 #3
0
 ///<summary> Reads and returns a HLAswitch from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAswitch Deserialize(HlaEncodingReader reader)
 {
     return (HLAswitch)reader.ReadHLAinteger32BE();
 }
예제 #4
0
 ///<summary> Reads and returns a HLAsharingType from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAsharingType Deserialize(HlaEncodingReader reader)
 {
     return((HLAsharingType)reader.ReadHLAinteger32BE());
 }
예제 #5
0
 ///<summary> Reads and returns a HLAswitch from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns>return the decoded value</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public static HLAswitch Deserialize(HlaEncodingReader reader)
 {
     return((HLAswitch)reader.ReadHLAinteger32BE());
 }