Esempio n. 1
0
 public InstanceHandle RegisterInstance(
     FDM instanceData)
 {
     return(DDS.OpenSplice.FooDataWriter.RegisterInstance(
                this,
                instanceData));
 }
Esempio n. 2
0
 public InstanceHandle LookupInstance(
     FDM instance)
 {
     return
         (DDS.OpenSplice.FooDataReader.LookupInstance(
              this,
              instance));
 }
Esempio n. 3
0
        public InstanceHandle LookupInstance(
            FDM instanceData)
        {
            InstanceHandle result = DDS.OpenSplice.FooDataWriter.LookupInstance(
                this,
                instanceData);

            return(result);
        }
Esempio n. 4
0
 public ReturnCode WriteDispose(
     FDM instanceData,
     InstanceHandle instanceHandle)
 {
     return(DDS.OpenSplice.FooDataWriter.WriteDispose(
                this,
                instanceData,
                instanceHandle));
 }
Esempio n. 5
0
 public ReturnCode UnregisterInstance(
     FDM instanceData,
     InstanceHandle instanceHandle)
 {
     return(DDS.OpenSplice.FooDataWriter.UnregisterInstance(
                this,
                instanceData,
                instanceHandle));
 }
Esempio n. 6
0
 public InstanceHandle RegisterInstanceWithTimestamp(
     FDM instanceData,
     Time sourceTimestamp)
 {
     return(DDS.OpenSplice.FooDataWriter.RegisterInstanceWithTimestamp(
                this,
                instanceData,
                sourceTimestamp));
 }
Esempio n. 7
0
 public ReturnCode WriteDisposeWithTimestamp(
     FDM instanceData,
     InstanceHandle instanceHandle,
     Time sourceTimestamp)
 {
     return(DDS.OpenSplice.FooDataWriter.WriteDisposeWithTimestamp(
                this,
                instanceData,
                instanceHandle,
                sourceTimestamp));
 }
Esempio n. 8
0
        public ReturnCode TakeNextSample(
            FDM dataValue,
            SampleInfo sampleInfo)
        {
            object     objectValues = dataValue;
            ReturnCode result       =
                DDS.OpenSplice.FooDataReader.TakeNextSample(
                    this,
                    ref objectValues,
                    ref sampleInfo);

            dataValue = (FDM)objectValues;
            return(result);
        }
Esempio n. 9
0
        public override void CopyOut(System.IntPtr from, ref object to, int offset)
        {
            FDM dataTo = to as FDM;

            if (dataTo == null)
            {
                dataTo = new FDM();
                to     = dataTo;
            }
            dataTo.userID    = ReadInt32(from, offset + offset_userID);
            dataTo.Lattitude = ReadDouble(from, offset + offset_Lattitude);
            dataTo.Longitude = ReadDouble(from, offset + offset_Longitude);
            dataTo.Altitude  = ReadDouble(from, offset + offset_Altitude);
            dataTo.aa        = ReadDouble(from, offset + offset_aa);
        }
Esempio n. 10
0
        public override bool CopyIn(System.IntPtr basePtr, object untypedFrom, System.IntPtr to, int offset)
        {
            FDM from = untypedFrom as FDM;

            if (from == null)
            {
                return(false);
            }
            Write(to, offset + offset_userID, from.userID);
            Write(to, offset + offset_Lattitude, from.Lattitude);
            Write(to, offset + offset_Longitude, from.Longitude);
            Write(to, offset + offset_Altitude, from.Altitude);
            Write(to, offset + offset_aa, from.aa);
            return(true);
        }
Esempio n. 11
0
        public ReturnCode GetKeyValue(
            ref FDM key,
            InstanceHandle instanceHandle)
        {
            object     keyObj = key;
            ReturnCode result = DDS.OpenSplice.FooDataWriter.GetKeyValue(
                this,
                ref keyObj,
                instanceHandle);

            if (keyObj != key)
            {
                key = keyObj as FDM;
            }
            return(result);
        }
Esempio n. 12
0
 public ReturnCode WriteDisposeWithTimestamp(
     FDM instanceData,
     Time sourceTimestamp)
 {
     return(WriteDisposeWithTimestamp(instanceData, InstanceHandle.Nil, sourceTimestamp));
 }
Esempio n. 13
0
 public ReturnCode WriteDispose(
     FDM instanceData)
 {
     return(WriteDispose(instanceData, InstanceHandle.Nil));
 }