private void ChangeProcessor(IByteProcessor newprocessor)
        {
            //既存のやつがあればリセット
            if (_currentByteProcessor != null)
            {
                _currentByteProcessor.Flush();
            }

            if (newprocessor != null)
            {
                newprocessor.Init();
            }

            _currentByteProcessor = newprocessor;
            _state = State.Normal;
        }
        private void ChangeProcessor(IByteProcessor newprocessor)
        {
            //Šù‘¶‚Ì‚â‚‚ª‚ ‚ê‚΃ŠƒZƒbƒg
            if (_currentByteProcessor != null)
            {
                _currentByteProcessor.Flush();
            }

            if (newprocessor != null)
            {
                newprocessor.Init();
            }

            _currentByteProcessor = newprocessor;
            _state = State.Normal;
        }
Exemple #3
0
        private void ChangeProcessor(IByteProcessor newprocessor) {
            //既存のやつがあればリセット
            if (_currentByteProcessor != null) {
                _currentByteProcessor.Flush();
            }

            if (newprocessor != null) {
                newprocessor.Init();
            }

            _currentByteProcessor = newprocessor;
            _state = State.Normal;
        }
Exemple #4
0
        private void ChangeProcessor(IByteProcessor newprocessor)
        {
            //�����̂�‚�����΃��Z�b�g
            if (_currentByteProcessor != null) {
                _currentByteProcessor.Flush();
            }

            if (newprocessor != null) {
                newprocessor.Init();
            }

            _currentByteProcessor = newprocessor;
            _state = State.Normal;
        }