Nix (Dev) 3.5.10
dev - 3.5.10 - 1af9301
|
#include <AnalogChannel.hpp>
Classes | |
struct | DefaultValues |
struct | Keys |
struct | Sections |
Public Member Functions | |
~AnalogChannel () override=default | |
void | update (AbstractChannel &other) override |
bool | load (const iv::file::xml::node &nodeChannel) override |
bool | save (iv::file::xml::node &nodeChannel) const override |
std::string | analogStrValue () const |
std::string | getEngineeringUnitsStr () const override |
iv::channels::AnalogAlarmLimits & | alarmLimits () |
iv::types::channelValue & | deadBand () |
iv::types::channelValue & | offset () |
iv::types::channelValue & | factor () |
uint8_t & | numberOfDecimals () |
iv::eMeasurementUnit & | measurementUnit () |
iv::channels::eAnalogSensorType & | analogSensorType () |
iv::types::channelValue & | sensorHigh () |
iv::types::channelValue & | sensorLow () |
std::string | formatValue () const override |
iv::channels::FormattedValue | formattedValue () const override |
virtual std::shared_ptr< AbstractChannel > | clone ()=0 |
void | deinitialize () |
virtual void | processAlarm (std::shared_ptr< iv::alarms::AlarmsManager > alarmManager)=0 |
virtual void | processValue ()=0 |
void | setValue (std::optional< iv::types::channelValue > value, const std::optional< iv::alarms::Alarm > &alarm, const std::optional< iv::types::networkId > &networkOrigin) |
virtual void | calculateAlarm () |
template<typename T > requires std::is_same_v<T, bool> || std::is_same_v<T, int32_t> || std::is_same_v<T, uint32_t> || std::is_same_v<T, float> || std::is_same_v<T, uint64_t> || std::is_same_v<T, double> || std::is_same_v<T, std::string> || std::is_same_v<T, const char *> | |
T | getValue () const |
iv::types::channelValue | getRawData () const |
virtual std::string | getRawDataUnit () const |
const iv::types::channelId & | getChannelId () const |
iv::types::channelOrder | getChannelOrder () const |
const iv::channels::ChannelAlarmParameters & | getAlarmParameters () const |
const std::map< iv::types::networkId, std::shared_ptr< iv::channels::INetworkInfo > > & | channelsNetwork () const |
bool | isWired () const |
bool | isVirtual () const |
bool | isAnalog () const |
bool | isDigital () const |
bool | isString () const |
bool | isSerialLine () const |
bool | isAlarmCalculated () const |
bool | hasValue () const |
std::string | getAlarmIconName () const |
iv::types::color | getColorStateRgb () const |
iv::alarms::eAlarmPriority | getAlarmPriority () const |
iv::alarms::eAlarmState | getAlarmState () const |
iv::alarms::eAlarmType | getAlarmType () const |
TODO: Por defecto tal vez debería haber un undefined o algo así, pq en detalles del canal se dibuja — cd no es valido. | |
iv::channels::eInhibitionCondition | getInhibitionConditionState () const |
std::weak_ptr< iv::units::Unit > | getUnit () const |
Protected Member Functions | |
AnalogChannel () | |
AnalogChannel (const AnalogChannel &other) | |
bool | shouldStoreAlarm (iv::alarms::Alarm &alarm) const |
virtual iv::types::channelValue | setRawData (iv::types::channelValue value) |
Friends | |
class | iv::channels::controller::AnalogChannel |
|
overridedefault |
|
protected |
|
protected |
iv::channels::AnalogAlarmLimits & iv::channels::AnalogChannel::alarmLimits | ( | ) |
iv::channels::eAnalogSensorType & iv::channels::AnalogChannel::analogSensorType | ( | ) |
|
nodiscard |
|
virtualinherited |
Reimplemented in iv::channels::VirtualAnalog, iv::channels::VirtualDigital, and iv::channels::VirtualString.
|
nodiscardinherited |
|
pure virtualinherited |
iv::types::channelValue & iv::channels::AnalogChannel::deadBand | ( | ) |
|
inherited |
iv::types::channelValue & iv::channels::AnalogChannel::factor | ( | ) |
|
nodiscardoverridevirtual |
Implements iv::channels::AbstractChannel.
|
nodiscardoverridevirtual |
Implements iv::channels::AbstractChannel.
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
TODO: Por defecto tal vez debería haber un undefined o algo así, pq en detalles del canal se dibuja — cd no es valido.
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardoverridevirtual |
Reimplemented from iv::channels::AbstractChannel.
|
nodiscardinherited |
|
inherited |
|
virtualinherited |
Reimplemented in iv::channels::WiredAnalog.
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
inherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
nodiscardinherited |
|
overridevirtual |
Reimplemented from iv::channels::AbstractChannel.
Reimplemented in iv::channels::VirtualAnalog, and iv::channels::WiredAnalog.
iv::eMeasurementUnit & iv::channels::AnalogChannel::measurementUnit | ( | ) |
uint8_t & iv::channels::AnalogChannel::numberOfDecimals | ( | ) |
iv::types::channelValue & iv::channels::AnalogChannel::offset | ( | ) |
|
pure virtualinherited |
|
pure virtualinherited |
|
overridevirtual |
Reimplemented from iv::channels::AbstractChannel.
Reimplemented in iv::channels::VirtualAnalog, and iv::channels::WiredAnalog.
iv::types::channelValue & iv::channels::AnalogChannel::sensorHigh | ( | ) |
iv::types::channelValue & iv::channels::AnalogChannel::sensorLow | ( | ) |
|
protectedvirtualinherited |
Reimplemented in iv::channels::VirtualAnalog, and iv::channels::WiredAnalog.
|
inherited |
|
protectedinherited |
|
overridevirtual |
Reimplemented from iv::channels::AbstractChannel.
Reimplemented in iv::channels::VirtualAnalog, and iv::channels::WiredAnalog.
|
friend |
|
inherited |
|
protected |
|
inherited |
|
protected |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protected |
|
inherited |
|
protected |
|
inherited |
Info redundant for performance
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
protected |
|
inherited |
Controller
|
inherited |
|
protected |
|
protected |
|
protected |
|
protected |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |
|
inherited |