41 lines
616 B
C++
41 lines
616 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_ */
|