41 lines
620 B
C++
41 lines
620 B
C++
/*
|
||
* ValueView.hh
|
||
*
|
||
* Created on: 2 дек. 2023 г.
|
||
* Author: titov
|
||
*/
|
||
|
||
#ifndef UMLIBRARY_PROCESSING_ACS_VALUEVIEW_HH_
|
||
#define UMLIBRARY_PROCESSING_ACS_VALUEVIEW_HH_
|
||
|
||
#include "ControlSystemInterface.hh"
|
||
|
||
namespace processing { namespace acs {
|
||
|
||
//!
|
||
class ValueView : public ValueToValueUnitInterface {
|
||
public:
|
||
void set( TypeInput );
|
||
TypeOutput get() const;
|
||
void set_output( SetInterface * );
|
||
|
||
void reset();
|
||
|
||
const float & getValue() { return value; }
|
||
|
||
ValueView();
|
||
|
||
private:
|
||
|
||
SetInterface * output;
|
||
|
||
float value;
|
||
};
|
||
|
||
}}
|
||
|
||
|
||
|
||
|
||
#endif /* UMLIBRARY_PROCESSING_ACS_VALUEVIEW_HH_ */
|