34 lines
792 B
C++
34 lines
792 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) {}
|