Exemplo n.º 1
0
        public void InitializeMmap()
        {
            GameObject hakoniwa = GameObject.Find("Hakoniwa");

            bufferParams = hakoniwa.GetComponentInChildren <IoBufferParameter>();
            io_mmap      = new MmapFileReader();
            io_mmap.DoStart(this.filepath);
            this.io = io_mmap;
            return;
        }
Exemplo n.º 2
0
        public void Initialize()
        {
            GameObject hakoniwa = GameObject.Find("Hakoniwa");

            bufferParams = hakoniwa.GetComponentInChildren <IoBufferParameter>();

            /*************************************
            * UDP SETTINGS
            *************************************/
            io_udp      = new UdpCommServer();
            io_udp.port = port;
            /*************************************/
            io_udp.DoStart();
            this.io = io_udp;
            return;
        }
Exemplo n.º 3
0
        public void Initialize()
        {
            GameObject hakoniwa = GameObject.Find("Hakoniwa");

            bufferParams = hakoniwa.GetComponentInChildren <IoBufferParameter>();
#if VDEV_IO_MMAP
            io = new MmapFileReader();
            io.DoStart(this.filepath, this.stime_off);
#else
            /*************************************
            * UDP SETTINGS
            *************************************/
            io      = new UdpCommServer();
            io.port = port;
            /*************************************/
            io.DoStart();
#endif
        }
Exemplo n.º 4
0
        public void Initialize()
        {
            GameObject hakoniwa = GameObject.Find("Hakoniwa");

            bufferParams = hakoniwa.GetComponentInChildren <IoBufferParameter>();

            /*************************************
            * UDP SETTINGS
            *************************************/
            io_udp      = new UdpCommClient();
            io_udp.host = host;
            io_udp.port = port;
            /*************************************/
            io_udp.DoStart();
            this.io = io_udp;
            Debug.Log("params=" + bufferParams);
            return;
        }
Exemplo n.º 5
0
        public void Start()
        {
            GameObject hakoniwa = GameObject.Find("Hakoniwa");

            bufferParams = hakoniwa.GetComponentInChildren <IoBufferParameter>();

#if VDEV_IO_MMAP
            io = new MmapFileWriter();
            io.DoStart(this.filepath, this.stime_off);
#else
            /*************************************
            * UDP SETTINGS
            *************************************/
            io      = new UdpCommClient();
            io.host = host;
            io.port = port;
            /*************************************/
            io.DoStart();
#endif
            Debug.Log("params=" + bufferParams);
        }