34 lines
796 B
C++
34 lines
796 B
C++
/*
|
||
* PhaseSpaceToValueConverter.cpp
|
||
*
|
||
* Created on: 11 авг. 2020 г.
|
||
* Author: LeonidTitov
|
||
*/
|
||
|
||
#include "PhaseSpaceToValueConverter.hh"
|
||
|
||
void technological::adapter::PhaseSpaceToValueConverter::set( TypeInput input ) {
|
||
|
||
interface->set( input.value );
|
||
|
||
}
|
||
|
||
technological::adapter::PhaseSpaceToValueConverter::TypeOutput technological::adapter::PhaseSpaceToValueConverter::get() const {
|
||
|
||
return TypeOutput( value, 0.0f );
|
||
|
||
}
|
||
|
||
void technological::adapter::PhaseSpaceToValueConverter::set_output(
|
||
SetInterface * set_interface ) {
|
||
|
||
interface = set_interface;
|
||
|
||
}
|
||
|
||
void technological::adapter::PhaseSpaceToValueConverter::reset() {
|
||
|
||
}
|
||
|
||
technological::adapter::PhaseSpaceToValueConverter::PhaseSpaceToValueConverter( systemic::IValue<float> & value ) : value(value) {}
|