15 #include <rad/mal/subscriber.hpp>
16 #include <rad/mal/utils.hpp>
33 explicit LampWdg(QWidget *parent = 0, std::string name =
"undefined",
int cmd_timeout = 60000);
37 void GetMessage(std::shared_ptr<::elt::mal::Mal> mal,
38 std::vector<std::shared_ptr<::fcfif::FcsUnion>>& setup_buffer,
39 bool ignoreChecked =
false);
41 virtual void UpdateData(QList<QVariant>& data_list);
42 virtual std::vector<std::string>
GetDbAttributes(std::string server_id);
56 QList< QWidget* > m_widget_list;
58 std::unique_ptr<rad::cii::Subscriber<fcfif::LampTopicUnion>> m_subscriber;
void UpdateSubstate(int substate)
Definition: lamp.cpp:115
virtual std::vector< std::string > GetDbAttributes(std::string server_id)
Definition: lamp.cpp:81
void SetIntensity(double value)
Definition: lamp.cpp:111
virtual void StartSubscription()
Definition: lamp.cpp:236
virtual void UpdateData(QList< QVariant > &data_list)
Definition: lamp.cpp:96
void UpdateIntensity(double intensity)
Definition: lamp.cpp:199
LampWdg(QWidget *parent=0, std::string name="undefined", int cmd_timeout=60000)
Definition: lamp.cpp:20
WDGLIB DeviceWdg class declaration file.
void UpdateSpinner(int substate)
Definition: lamp.cpp:166
virtual ~LampWdg()
Definition: lamp.cpp:57
void GetMessage(std::shared_ptr<::elt::mal::Mal > mal, std::vector< std::shared_ptr<::fcfif::FcsUnion >> &setup_buffer, bool ignoreChecked=false)
Definition: lamp.cpp:61
virtual void GetSubordinatedDevices(QStringList &dev_list)
Definition: lamp.cpp:231
virtual void SetEnable(bool flag)
Definition: lamp.cpp:203