/* * ValueView.cpp * * Created on: 2 дек. 2023 г. * Author: titov */ #include "ValueView.hh" void processing::acs::ValueView::set( TypeInput point ) { value = point; output->set( point ); } processing::acs::ValueView::TypeOutput processing::acs::ValueView::get() const { //todo: Реализовать либо ошибку, либо еще что. return 0.0f; } void processing::acs::ValueView::set_output( SetInterface * new_output ) { output = new_output; } void processing::acs::ValueView::reset() { value = NAN; } processing::acs::ValueView::ValueView() : value(NAN), output(nullptr) {}