Beispiel #1
0
 ///<summary> Constructor </summary>
 public HLAsubscribeObjectClassAttributesMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
     // TODO ANGEL: Es apropiado que conozca la instancia concreta a este nivel o se debería pasar en el constructor la referencia
     attributeHandleSetFactory = new XRTIAttributeHandleSetFactory();
     attributeHandleFactory    = new XRTIAttributeHandleFactory();
     objectClassFactory        = new XRTIObjectClassHandleFactory();
 }
Beispiel #2
0
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public SxtaObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            ocd = manager.DescriptorManager.GetObjectClassDescriptor("Sxtafederate");

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAisJoined").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new SxtafederatePropertyHLAisJoinedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederationNameJoined").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new SxtafederatePropertyHLAfederationNameJoinedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLApendingTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new SxtafederatePropertyHLApendingTimeXrtiSerializer(serializerMngr));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public TimeManagementObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;

            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            // Home
            ocd    = manager.DescriptorManager.GetObjectClassDescriptor("Home");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosX").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosY").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("BoxesCount").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HomePropertyBoxesCountXrtiSerializer(serializerMngr));

            // Actor
            ocd    = manager.DescriptorManager.GetObjectClassDescriptor("Actor");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosX").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosY").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Direction").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ActorPropertyDirectionXrtiSerializer(serializerMngr));

            // Interactions
            objType = typeof(HLAinteractionRootMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionRoot", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionRoot").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionRootMessageXrtiSerializer(serializerMngr));

            objType = typeof(BoxInHouseMessage);
            manager.AddReceiveInteractionDelegate(objType, "BoxInHouse", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("BoxInHouse").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new BoxInHouseMessageXrtiSerializer(serializerMngr));
        }
Beispiel #4
0
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public BoidObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;

            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;


            ocd    = manager.DescriptorManager.GetObjectClassDescriptor("Boid");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Color").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new BoidPropertyColorXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Position").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new BoidPropertyPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Velocity").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new BoidPropertyVelocityXrtiSerializer(serializerMngr));
        }
Beispiel #5
0
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public MetaFederationObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;

            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            ocd    = manager.DescriptorManager.GetObjectClassDescriptor("HLAfederationExecution");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("federationName").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationExecutionPropertyfederationNameXrtiSerializer(serializerMngr));


            objType = typeof(HLAinteractionRootMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionRoot", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionRoot").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionRootMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAmetaFederationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAmetaFederation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAmetaFederation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAmetaFederationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAcreateFederationExecutionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAcreateFederationExecution", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAcreateFederationExecution").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAcreateFederationExecutionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAdestroyFederationExecutionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAdestroyFederationExecution", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAdestroyFederationExecution").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAdestroyFederationExecutionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAjoinFederationExecutionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAjoinFederationExecution", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAjoinFederationExecution").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAjoinFederationExecutionMessageXrtiSerializer(serializerMngr));
        }
Beispiel #6
0
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public BootstrapObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;

            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;

            objType = typeof(HLAattributeHandleValuePair);
            handle  = -10;
            serializerMngr.RegisterSerializer(objType, handle, new HLAattributeHandleValuePairXrtiSerializer(serializerMngr));

            objType = typeof(BaseInteractionMessage);
            manager.AddReceiveInteractionDelegate(objType, "BaseInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("BaseInteraction").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new BaseInteractionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAGenericInteractionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAGenericInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAGenericInteraction").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAGenericInteractionMessageXrtiSerializer(serializerMngr));
#if POSIBLE_MEJORA
            bootstrapInteractionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(this.OnReceiveHLAupdateAttributeValuesReliableBase));
#endif
            objType = typeof(HLAinteractionFragmentMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionFragment", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionFragment").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionFragmentMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAcontinueMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAcontinue", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAcontinue").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAcontinueMessageXrtiSerializer(serializerMngr));

            objType = typeof(PeerAdvertisementInteractionMessage);
            manager.AddReceiveInteractionDelegate(objType, "PeerAdvertisementInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("PeerAdvertisementInteraction").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new PeerAdvertisementInteractionMessageXrtiSerializer(serializerMngr));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public HelloWorldObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;

            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;


            ocd    = manager.DescriptorManager.GetObjectClassDescriptor("ExternalCountry");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Name").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ExternalCountryPropertyNameXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Population").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ExternalCountryPropertyPopulationXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Position").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ExternalCountryPropertyPositionXrtiSerializer(serializerMngr));

            /*
             * ocd = manager.DescriptorManager.GetObjectClassDescriptor("Boid");
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Position").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new BoidPropertyPositionXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Velocity").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new BoidPropertyVelocityXrtiSerializer(serializerMngr));
             *
             * objType = typeof(HLAinteractionRootMessage);
             * manager.AddReceiveInteractionDelegate(objType, "HLAinteractionRoot", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
             * handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionRoot").Handle).Identifier;
             * serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionRootMessageXrtiSerializer(serializerMngr));
             *
             */
            objType = typeof(CommunicationMessage);
            manager.AddReceiveInteractionDelegate(objType, "Communication", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("Communication").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new CommunicationMessageXrtiSerializer(serializerMngr));
        }
 ///<summary> Constructor </summary>
 public CommunicationMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 public ExternalCountryPropertyNameXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #10
0
 public HLArequestAttributeValueUpdateMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #11
0
 ///<summary>Constructor for the serializer of HLAfederate.HLAtimeConstrained property.
 /// </summary>
 public HLAfederatePropertyHLAtimeConstrainedXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary>Constructor for the serializer of Home.BoxesCount property.
 /// </summary>
 public HomePropertyBoxesCountXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 public ActorPropertyDirectionXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary> Constructor </summary>
 public BoxInHouseMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #15
0
 ///<summary>Constructor for the serializer of Boid.Velocity property.
 /// </summary>
 public BoidPropertyVelocityXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary>Constructor for the serializer of HLAfederation.HLAFDDID property.
 /// </summary>
 public HLAfederationPropertyHLAFDDIDXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #17
0
 ///<summary> Constructor </summary>
 public HLAsubscribeInteractionClassMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
     // TODO ANGEL: Es apropiado que conozca la instancia concreta a este nivel o se debería pasar en el constructor la referencia
     interactionClassHandleFactory = new XRTIInteractionClassHandleFactory();
 }
Beispiel #18
0
 ///<summary>Constructor for the serializer of HLAfederate.HLAtimeManagerState property.
 /// </summary>
 public HLAfederatePropertyHLAtimeManagerStateXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary>Constructor for the serializer of HLAfederation.HLAnextSaveTime property.
 /// </summary>
 public HLAfederationPropertyHLAnextSaveTimeXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary> Constructor </summary>
 public HLAmetaFederationMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 public ExternalCountryPropertyPopulationXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #22
0
 ///<summary>Constructor for the serializer of HLAfederate.HLAisJoined property.
 /// </summary>
 public SxtafederatePropertyHLAisJoinedXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary> Constructor </summary>
 public HLAinteractionRootMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #24
0
 ///<summary>Constructor for the serializer of Boid.Position property.
 /// </summary>
 public BoidPropertyPositionXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary>Constructor for the serializer of Home.PosX property.
 /// </summary>
 public IntegerPositionXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary> Constructor </summary>
 public HLAdestroyFederationExecutionMessageXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #27
0
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public SxtaObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;

            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            ocd = manager.DescriptorManager.GetObjectClassDescriptor("Sxtafederate");

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAisJoined").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAisJoinedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateHandle").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateHandleXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateType").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateTypeXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateHost").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateHostXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeRegulating").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeRegulatingXrtiSerializer(serializerMngr));

            /*
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLARTIversion").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLARTIversionXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAFDDID").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAFDDIDXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeConstrained").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeConstrainedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAasynchronousDelivery").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAasynchronousDeliveryXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateState").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateStateXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeManagerState").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeManagerStateXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAlogicalTime").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAlogicalTimeXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAlookahead").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAlookaheadXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAGALT").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAGALTXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLALITS").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLALITSXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAROlength").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAROlengthXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLATSOlength").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLATSOlengthXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAreflectionsReceived").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAreflectionsReceivedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAupdatesSent").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAupdatesSentXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAinteractionsReceived").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAinteractionsReceivedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAinteractionsSent").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAinteractionsSentXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectsInstancesThatCanBeDeleted").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectsInstancesThatCanBeDeletedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesUpdated").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesUpdatedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesReflected").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesReflectedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesDeleted").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesDeletedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesRemoved").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesRemovedXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesRegistered").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesRegisteredXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesDiscovered").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesDiscoveredXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeGrantedTime").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeGrantedTimeXrtiSerializer(serializerMngr));
             *
             * handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeAdvancingTime").Handle).Identifier;
             * serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeAdvancingTimeXrtiSerializer(serializerMngr));
             */
        }
 ///<summary>Constructor for the serializer of HLAfederate.HLAGALT property.
 /// </summary>
 public HLAfederatePropertyHLAGALTXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
Beispiel #29
0
 ///<summary>Constructor for the serializer of Boid.Color property.
 /// </summary>
 public BoidPropertyColorXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }
 ///<summary>Constructor for the serializer of HLAfederation.HLAautoProvide property.
 /// </summary>
 public HLAfederationPropertyHLAautoProvideXrtiSerializer(XrtiSerializerManager manager)
     : base(manager)
 {
 }