25 lines
515 B
C++
25 lines
515 B
C++
/*
|
||
* VievValue.cpp
|
||
*
|
||
* Created on: 12 сент. 2020 г.
|
||
* Author: LeonidTitov
|
||
*/
|
||
|
||
#include "VievValue.hh"
|
||
|
||
bool application::schematic::VievValue::input( Environment & env ) {
|
||
|
||
return show( value, env.rholder.getShared<Value>( links.value ) );
|
||
|
||
}
|
||
|
||
void application::schematic::VievValue::build( Environment & env ) {
|
||
|
||
typedef ::schematic::ViewValueAsync<float> View;
|
||
|
||
View * view = memories::instance_object<View>(env.static_object_ma, *value );
|
||
|
||
env.signals.add( links.view, view );
|
||
|
||
}
|