Esempio n. 1
0
        public void Init(IStreamHost host)
        {
            this.host = host;
            this.i1 = host.CreateInputStream<DoubleStream>("Stream In");

            this.o1 = host.CreateOutput<double>("Output 1");
        }
Esempio n. 2
0
        public void Init(IStreamHost host)
        {
            this.host = host;
            this.image = host.CreateInputStream<ImageStream>("Stream In");

            this.width = host.CreateOutput<int>("Output 1");
        }
Esempio n. 3
0
        public void Init(IStreamHost host)
        {
            this.host = host;
            this.testinputstream = host.CreateInputStream<IBaseStream>("Stream In");
            this.testoutputstream = host.CreateOutputStream<IBaseStream>("Stream Out");

            this.p1 = host.CreateParameter<double>("Param 1");
            this.p2 = host.CreateParameter<double>("Param 2");

            this.testoutdata = host.CreateOutput<double>("Out 1");
        }