1863b9246SPatrick Venture /** 2863b9246SPatrick Venture * Copyright 2017 Google Inc. 3863b9246SPatrick Venture * 4863b9246SPatrick Venture * Licensed under the Apache License, Version 2.0 (the "License"); 5863b9246SPatrick Venture * you may not use this file except in compliance with the License. 6863b9246SPatrick Venture * You may obtain a copy of the License at 7863b9246SPatrick Venture * 8863b9246SPatrick Venture * http://www.apache.org/licenses/LICENSE-2.0 9863b9246SPatrick Venture * 10863b9246SPatrick Venture * Unless required by applicable law or agreed to in writing, software 11863b9246SPatrick Venture * distributed under the License is distributed on an "AS IS" BASIS, 12863b9246SPatrick Venture * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13863b9246SPatrick Venture * See the License for the specific language governing permissions and 14863b9246SPatrick Venture * limitations under the License. 15863b9246SPatrick Venture */ 16863b9246SPatrick Venture 17863b9246SPatrick Venture #include "writeonly.hpp" 18863b9246SPatrick Venture 19da4a5dd1SPatrick Venture #include <stdexcept> 20863b9246SPatrick Venture 21*a076487aSPatrick Venture namespace pid_control 22*a076487aSPatrick Venture { 23*a076487aSPatrick Venture read(void)24863b9246SPatrick VentureReadReturn WriteOnly::read(void) 25863b9246SPatrick Venture { 26863b9246SPatrick Venture throw std::runtime_error("Not supported."); 27863b9246SPatrick Venture } 28*a076487aSPatrick Venture 29*a076487aSPatrick Venture } // namespace pid_control 30