public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); CapricosaData cloneResult = (CapricosaData)cloneO; cloneResult.mushrooms = this.mushrooms; }
protected override void NewDataArrived(OPSObject o) { if (newData != null) { newData(this, (ChildData)o); } }
// private void SubscriberNewData(Subscriber sender, OPSObject data) { if (client != null) { client.SubscriberNewData(sender, (Ops.ParticipantInfoData)data); } }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); BaseData cloneResult = (BaseData)cloneO; cloneResult.baseText = this.baseText; }
protected override void NewDataArrived(OPSObject o) { if (newData != null) { newData(this, (ExtraAllt)o); } }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); FooData cloneResult = (FooData)cloneO; cloneResult.fooString = this.fooString; }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); ChildData cloneResult = (ChildData)cloneO; cloneResult.bo = this.bo; cloneResult.b = this.b; cloneResult.i = this.i; cloneResult.l = this.l; cloneResult.f = this.f; cloneResult.d = this.d; cloneResult.s = this.s; cloneResult.test2 = (TestData)this.test2.Clone(); cloneResult.testPointer = (TestAll.TestData) this.testPointer.Clone(); cloneResult.fruit = (Fruit)this.fruit.Clone(); cloneResult.bos = new List <bool>(this.bos); cloneResult.bs = new List <byte>(this.bs); cloneResult.is_ = new List <int>(this.is_); cloneResult.ls = new List <long>(this.ls); cloneResult.fs = new List <float>(this.fs); cloneResult.ds = new List <double>(this.ds); cloneResult.ss = new List <string>(this.ss); cloneResult.test2s = new List <TestData>(this.test2s.Count); this.test2s.ForEach((item) => { cloneResult.test2s.Add((TestData)item.Clone()); }); cloneResult.secondVirtArray = new List <TestData>(this.secondVirtArray.Count); this.secondVirtArray.ForEach((item) => { cloneResult.secondVirtArray.Add((TestData)item.Clone()); }); cloneResult.test2s2 = new List <TestData>(this.test2s2.Count); this.test2s2.ForEach((item) => { cloneResult.test2s2.Add((TestData)item.Clone()); }); }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); VessuvioData cloneResult = (VessuvioData)cloneO; cloneResult.ham = this.ham; }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); Cheese cloneResult = (Cheese)cloneO; cloneResult.name = this.name; cloneResult.age = this.age; }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); TestData cloneResult = (TestData)cloneO; cloneResult.text = this.text; cloneResult.value = this.value; }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); PizzaData cloneResult = (PizzaData)cloneO; cloneResult.cheese = this.cheese; cloneResult.tomatoSauce = this.tomatoSauce; }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); BaseData cloneResult = (BaseData)cloneO; cloneResult.Id = this.Id; cloneResult.Name = this.Name; }
// private void SubscriberNewData(Subscriber sender, OPSObject data) { OPSMessage mess = sender.GetMessage(); if (client != null) { client.SubscriberNewData(sender, (T)data); } }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); LHCData cloneResult = (LHCData)cloneO; cloneResult.bearnaise = this.bearnaise; cloneResult.beef = this.beef; cloneResult.p = new List <pizza.PizzaData>(this.p.Count); this.p.ForEach((item) => { cloneResult.p.Add((pizza.PizzaData)item.Clone()); }); }
public override void Serialize(IArchiverInOut archive) { base.Serialize(archive); this.messageType = archive.Inout("messageType", messageType); this.publisherPriority = archive.Inout("publisherPriority", publisherPriority); this.publicationID = archive.Inout("publicationID", publicationID); this.publisherName = archive.Inout("publisherName", publisherName); this.topicName = archive.Inout("topicName", topicName); this.topLevelKey = archive.Inout("topLevelKey", topLevelKey); this.address = archive.Inout("address", address); this.data = (OPSObject)archive.Inout("data", data); }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); OPSMessage cloneResult = (OPSMessage) cloneO; cloneResult.SetKey(this.GetKey()); cloneResult.messageType = this.messageType; cloneResult.publisherPriority = this.publisherPriority; cloneResult.publicationID = this.publicationID; cloneResult.publisherName = this.publisherName; cloneResult.topicName = this.topicName; cloneResult.topLevelKey = this.topLevelKey; cloneResult.address = this.address; cloneResult.data = (OPSObject)this.data.Clone(); }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); OPSMessage cloneResult = (OPSMessage)cloneO; cloneResult.SetKey(this.GetKey()); cloneResult.messageType = this.messageType; cloneResult.publisherPriority = this.publisherPriority; cloneResult.publicationID = this.publicationID; cloneResult.publisherName = this.publisherName; cloneResult.topicName = this.topicName; cloneResult.topLevelKey = this.topLevelKey; cloneResult.address = this.address; cloneResult.data = (OPSObject)this.data.Clone(); }
public override void Serialize(IArchiverInOut archive) { base.Serialize(archive); if (IdlVersionMask != 0) { OPSMessage_version = archive.Inout("OPSMessage_version", OPSMessage_version); } else { OPSMessage_version = 0; } this.messageType = archive.Inout("messageType", messageType); this.publisherPriority = archive.Inout("publisherPriority", publisherPriority); this.publicationID = archive.Inout("publicationID", publicationID); this.publisherName = archive.Inout("publisherName", publisherName); this.topicName = archive.Inout("topicName", topicName); this.topLevelKey = archive.Inout("topLevelKey", topLevelKey); this.address = archive.Inout("address", address); this.data = (OPSObject)archive.Inout("data", data); }
public override void FillClone(OPSObject cloneO) { base.FillClone(cloneO); ExtraAllt cloneResult = (ExtraAllt)cloneO; cloneResult.extraCheese = this.extraCheese; cloneResult.nrOfMushRooms = this.nrOfMushRooms; cloneResult.meetQuality = this.meetQuality; cloneResult.timestamp = this.timestamp; cloneResult.timeBakedHours = this.timeBakedHours; cloneResult.timeBakedSeconds = this.timeBakedSeconds; cloneResult.description = this.description; cloneResult.cheese_ = (pizza.special.Cheese) this.cheese_.Clone(); cloneResult.bools = new List <bool>(this.bools); cloneResult.bytes = new List <byte>(this.bytes); cloneResult.ints = new List <int>(this.ints); cloneResult.longs = new List <long>(this.longs); cloneResult.floats = new List <float>(this.floats); cloneResult.doubles = new List <double>(this.doubles); cloneResult.strings = new List <string>(this.strings); cloneResult.cheeses = new List <pizza.special.Cheese>(this.cheeses.Count); this.cheeses.ForEach((item) => { cloneResult.cheeses.Add((pizza.special.Cheese)item.Clone()); }); }
public void SetData(OPSObject data) { this.data = data; }
public override void Serialize(IArchiverInOut archive) { base.Serialize(archive); this.messageType = archive.Inout("messageType", messageType); this.publisherPriority = archive.Inout("publisherPriority", publisherPriority); this.publicationID = archive.Inout("publicationID", publicationID); this.publisherName = archive.Inout("publisherName", publisherName); this.topicName = archive.Inout("topicName", topicName); this.topLevelKey = archive.Inout("topLevelKey", topLevelKey); this.address = archive.Inout("address", address); this.data = (OPSObject) archive.Inout("data", data); }