/// <summary> /// Constructor. /// </summary> /// <param name="interactClass">the info of the interaction class /// </param> /// <param name="pHandle">the handle of the interaction class /// </param> /// <param name="pParentDescriptors">the descriptors of the interaction class's parents /// </param> /// </param> public InteractionClassDescriptor(Sxta.Rti1516.Reflection.HLAinteractionClass interactClass, IInteractionClassHandle pHandle) { interactionClass = interactClass; handle = pHandle; parentDescriptors = new List <InteractionClassDescriptor>(); dimensions = new XRTIDimensionHandleSet(); transportation = "HLAreliable".Equals(interactClass.Transportation) ? TransportationType.HLA_RELIABLE : TransportationType.HLA_BEST_EFFORT; order = "Receive".Equals(interactClass.Order) ? Sxta.Rti1516.Reflection.HLAorderType.Receive : Sxta.Rti1516.Reflection.HLAorderType.TimeStamp; }
/// <summary> /// Constructor. /// </summary> /// <param name="pName">the name of the interaction class /// </param> /// <param name="pHandle">the handle of the interaction class /// </param> /// <param name="pParentDescriptors">the descriptors of the interaction class's parents /// </param> /// <param name="pDimensions">the dimensions associated with the interaction class /// </param> /// <param name="pTransportation">the transportation type of the interaction class /// </param> /// <param name="pOrder">the order type of the interaction class /// </param> public InteractionClassDescriptor(XmlElement interactionElement, IInteractionClassHandle pHandle, List<InteractionClassDescriptor> pParentDescriptors, IDimensionHandleSet pDimensions, TransportationType pTransportation, Sxta.Rti1516.Reflection.HLAorderType pOrder) { interactionClass = new Sxta.Rti1516.Reflection.HLAinteractionClass(interactionElement); handle = pHandle; parentDescriptors = pParentDescriptors; dimensions = pDimensions; transportation = pTransportation; order = pOrder; }
/// <summary> /// Constructor. /// </summary> /// <param name="pName">the name of the interaction class /// </param> /// <param name="pHandle">the handle of the interaction class /// </param> /// <param name="pParentDescriptors">the descriptors of the interaction class's parents /// </param> /// <param name="pDimensions">the dimensions associated with the interaction class /// </param> /// <param name="pTransportation">the transportation type of the interaction class /// </param> /// <param name="pOrder">the order type of the interaction class /// </param> public InteractionClassDescriptor(XmlElement interactionElement, IInteractionClassHandle pHandle, List <InteractionClassDescriptor> pParentDescriptors, IDimensionHandleSet pDimensions, TransportationType pTransportation, Sxta.Rti1516.Reflection.HLAorderType pOrder) { interactionClass = new Sxta.Rti1516.Reflection.HLAinteractionClass(interactionElement); handle = pHandle; parentDescriptors = pParentDescriptors; dimensions = pDimensions; transportation = pTransportation; order = pOrder; }
/// <summary> /// Constructor. /// </summary> /// <param name="interactClass">the info of the interaction class /// </param> /// <param name="pHandle">the handle of the interaction class /// </param> /// <param name="pParentDescriptors">the descriptors of the interaction class's parents /// </param> /// </param> public InteractionClassDescriptor(Sxta.Rti1516.Reflection.HLAinteractionClass interactClass, IInteractionClassHandle pHandle) { interactionClass = interactClass; handle = pHandle; parentDescriptors = new List<InteractionClassDescriptor>(); dimensions = new XRTIDimensionHandleSet(); transportation = "HLAreliable".Equals(interactClass.Transportation) ? TransportationType.HLA_RELIABLE : TransportationType.HLA_BEST_EFFORT; order = "Receive".Equals(interactClass.Order) ? Sxta.Rti1516.Reflection.HLAorderType.Receive : Sxta.Rti1516.Reflection.HLAorderType.TimeStamp; }