public override int GetMarshalledSize() { int marshalSize = 0; marshalSize = base.GetMarshalledSize(); marshalSize += this._originatingID.GetMarshalledSize(); // this._originatingID marshalSize += this._receivingID.GetMarshalledSize(); // this._receivingID marshalSize += 4; // this._requestID marshalSize += 4; // this._requestStatus marshalSize += 4; // this._numberOfFixedDatumRecords marshalSize += 4; // this._numberOfVariableDatumRecords for (int idx = 0; idx < this._fixedDatums.Count; idx++) { FixedDatum listElement = (FixedDatum)this._fixedDatums[idx]; marshalSize += listElement.GetMarshalledSize(); } for (int idx = 0; idx < this._variableDatums.Count; idx++) { VariableDatum listElement = (VariableDatum)this._variableDatums[idx]; marshalSize += listElement.GetMarshalledSize(); } return(marshalSize); }
public override int GetMarshalledSize() { int marshalSize = 0; marshalSize = base.GetMarshalledSize(); marshalSize += 1; // this._requiredReliabilityService marshalSize += 2; // this._pad1 marshalSize += 1; // this._pad2 marshalSize += 4; // this._requestID marshalSize += 4; // this._timeInterval marshalSize += 4; // this._numberOfFixedDatumRecords marshalSize += 4; // this._numberOfVariableDatumRecords for (int idx = 0; idx < this._fixedDatumRecords.Count; idx++) { FixedDatum listElement = (FixedDatum)this._fixedDatumRecords[idx]; marshalSize += listElement.GetMarshalledSize(); } for (int idx = 0; idx < this._variableDatumRecords.Count; idx++) { VariableDatum listElement = (VariableDatum)this._variableDatumRecords[idx]; marshalSize += listElement.GetMarshalledSize(); } return(marshalSize); }
public override int GetMarshalledSize() { int marshalSize = 0; marshalSize = base.GetMarshalledSize(); marshalSize += this._aggregateID.GetMarshalledSize(); // this._aggregateID marshalSize += 1; // this._forceID marshalSize += 1; // this._aggregateState marshalSize += this._aggregateType.GetMarshalledSize(); // this._aggregateType marshalSize += 4; // this._formation marshalSize += this._aggregateMarking.GetMarshalledSize(); // this._aggregateMarking marshalSize += this._dimensions.GetMarshalledSize(); // this._dimensions marshalSize += this._orientation.GetMarshalledSize(); // this._orientation marshalSize += this._centerOfMass.GetMarshalledSize(); // this._centerOfMass marshalSize += this._velocity.GetMarshalledSize(); // this._velocity marshalSize += 2; // this._numberOfDisAggregates marshalSize += 2; // this._numberOfDisEntities marshalSize += 2; // this._numberOfSilentAggregateTypes marshalSize += 2; // this._numberOfSilentEntityTypes for (int idx = 0; idx < this._aggregateIDList.Count; idx++) { AggregateID listElement = (AggregateID)this._aggregateIDList[idx]; marshalSize += listElement.GetMarshalledSize(); } for (int idx = 0; idx < this._entityIDList.Count; idx++) { EntityID listElement = (EntityID)this._entityIDList[idx]; marshalSize += listElement.GetMarshalledSize(); } marshalSize += 1; // this._pad2 for (int idx = 0; idx < this._silentAggregateSystemList.Count; idx++) { EntityType listElement = (EntityType)this._silentAggregateSystemList[idx]; marshalSize += listElement.GetMarshalledSize(); } for (int idx = 0; idx < this._silentEntitySystemList.Count; idx++) { EntityType listElement = (EntityType)this._silentEntitySystemList[idx]; marshalSize += listElement.GetMarshalledSize(); } marshalSize += 4; // this._numberOfVariableDatumRecords for (int idx = 0; idx < this._variableDatumList.Count; idx++) { VariableDatum listElement = (VariableDatum)this._variableDatumList[idx]; marshalSize += listElement.GetMarshalledSize(); } return(marshalSize); }
public override int GetMarshalledSize() { int marshalSize = 0; marshalSize = base.GetMarshalledSize(); marshalSize += this._groupEntityID.GetMarshalledSize(); // this._groupEntityID marshalSize += 1; // this._groupedEntityCategory marshalSize += 1; // this._numberOfGroupedEntities marshalSize += 4; // this._pad2 marshalSize += 8; // this._latitude marshalSize += 8; // this._longitude for (int idx = 0; idx < this._groupedEntityDescriptions.Count; idx++) { VariableDatum listElement = (VariableDatum)this._groupedEntityDescriptions[idx]; marshalSize += listElement.GetMarshalledSize(); } return(marshalSize); }
public virtual int GetMarshalledSize() { int marshalSize = 0; marshalSize += 4; // this._numberOfFixedDatums marshalSize += 4; // this._numberOfVariableDatums for (int idx = 0; idx < this._fixedDatumIDList.Count; idx++) { FixedDatum listElement = (FixedDatum)this._fixedDatumIDList[idx]; marshalSize += listElement.GetMarshalledSize(); } for (int idx = 0; idx < this._variableDatumIDList.Count; idx++) { VariableDatum listElement = (VariableDatum)this._variableDatumIDList[idx]; marshalSize += listElement.GetMarshalledSize(); } return(marshalSize); }
public override int GetMarshalledSize() { int marshalSize = 0; marshalSize = base.GetMarshalledSize(); marshalSize += 2; // this._eventType marshalSize += 4; // this._pad1 marshalSize += 4; // this._numberOfFixedDatumRecords marshalSize += 4; // this._numberOfVariableDatumRecords for (int idx = 0; idx < this._fixedDatumRecords.Count; idx++) { FixedDatum listElement = (FixedDatum)this._fixedDatumRecords[idx]; marshalSize += listElement.GetMarshalledSize(); } for (int idx = 0; idx < this._variableDatumRecords.Count; idx++) { VariableDatum listElement = (VariableDatum)this._variableDatumRecords[idx]; marshalSize += listElement.GetMarshalledSize(); } return(marshalSize); }