17 #include <rad/mal/subscriber.hpp>
18 #include <rad/mal/utils.hpp>
36 explicit PiezoWdg(QWidget *parent = 0,
37 std::string name =
"undefined",
38 std::string filename =
"undefined_file",
39 int cmd_timeout = 60000);
43 void GetMessage(std::shared_ptr<::elt::mal::Mal> mal,
44 std::vector<std::shared_ptr<::fcfif::FcsUnion>>& setup_buffer,
45 bool ignoreChecked =
false);
47 virtual void UpdateData(QList<QVariant>& data_list);
48 virtual std::vector<std::string>
GetDbAttributes(std::string server_id);
52 void SetBit(
int index,
int value);
53 void SetPos(
int index,
double value);
66 std::unique_ptr<rad::cii::Subscriber<fcfif::PiezoTopicUnion>> m_subscriber;
69 std::unique_ptr<fcf::devmgr::piezo::PiezoConfig> m_device_config;
void SetPos(int index, double value)
virtual void UpdateData(QList< QVariant > &data_list)
Definition: piezo.cpp:214
PiezoWdg(QWidget *parent=0, std::string name="undefined", std::string filename="undefined_file", int cmd_timeout=60000)
Definition: piezo.cpp:24
virtual void StartSubscription()
Definition: piezo.cpp:320
void UpdateOptions(int mode)
Definition: piezo.cpp:151
void GetMessage(std::shared_ptr<::elt::mal::Mal > mal, std::vector< std::shared_ptr<::fcfif::FcsUnion >> &setup_buffer, bool ignoreChecked=false)
Definition: piezo.cpp:179
void SetBit(int index, int value)
PiezoConfig class header file.
void SetActive(int index)
Definition: piezo.cpp:96
virtual void GetSubordinatedDevices(QStringList &dev_list)
Definition: piezo.cpp:288
void UpdatePos(int index, double value)
Definition: piezo.cpp:306
void UpdateBit(int index, int value)
Definition: piezo.cpp:292
void UpdateSubstate(int substate)
Definition: piezo.cpp:246
virtual std::vector< std::string > GetDbAttributes(std::string server_id)
Definition: piezo.cpp:266
virtual ~PiezoWdg()
Definition: piezo.cpp:72
WDGLIB DeviceWdg class declaration file.
void SetEnable(bool flag)
Definition: piezo.cpp:76