Exemple #1
0
        public override IEnumerator ReceivePayload(VisualPayload payload)
        {
            var newStream = InternalArrayBitstream.GenerateBitStreamFromFloat(FloatData.GetFirstValue(payload.Data));

            BitstreamTarget.SetValue(newStream, payload.Data);

            var iterator = Router.TransmitAll(payload);

            while (iterator.MoveNext())
            {
                yield return(null);
            }
        }
Exemple #2
0
        protected override void OnProcessOutputSchema(MutableObject newSchema)
        {
            BitstreamTarget.SetValue(InternalArrayBitstream.GenerateBitStreamFromFloat(5f), newSchema);

            Router.TransmitAllSchema(newSchema);
        }