41 lines
616 B
C++
41 lines
616 B
C++
|
|
/*
|
|||
|
|
* ValueView.hh
|
|||
|
|
*
|
|||
|
|
* Created on: 2 <EFBFBD><EFBFBD><EFBFBD>. 2023 <EFBFBD>.
|
|||
|
|
* 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_ */
|