15 #include <rad/mal/subscriber.hpp>
16 #include <rad/mal/utils.hpp>
32 explicit AdcWdg(QWidget *parent = 0,
33 std::string name =
"undefined",
34 std::string filename =
"undefined_file",
35 std::string server_id =
"undefined",
36 int cmd_timeout = 60000
41 void GetMessage(std::shared_ptr<::elt::mal::Mal> mal,
42 std::vector<std::shared_ptr<::fcfif::FcsUnion>>& setup_buffer,
43 bool ignoreChecked =
false);
46 virtual void UpdateData(QList<QVariant>& data_list);
47 virtual std::vector<std::string>
GetDbAttributes(std::string server_id);
74 std::string m_server_id;
75 QStringList m_options;
77 std::string m_address;
78 std::string m_simaddr;
80 std::unique_ptr<rad::cii::Subscriber<fcfif::AdcTopicUnion>> m_subscriber;
81 std::unique_ptr<rad::cii::Subscriber<fcfif::MotorPositionTopic>> m_motor1_subscriber;
82 std::unique_ptr<rad::cii::Subscriber<fcfif::MotorPositionTopic>> m_motor2_subscriber;
virtual void UpdateData(QList< QVariant > &data_list)
Definition: adc.cpp:176
void UpdateSpinner(int substate)
Definition: adc.cpp:279
void SetActive(int index)
Definition: adc.cpp:208
virtual ~AdcWdg()
Definition: adc.cpp:93
void HandleLaunchButton1()
Definition: adc.cpp:383
void UpdateNamedPos(QString named_pos)
Definition: adc.cpp:370
void UpdateAlpha(double position)
Definition: adc.cpp:375
void UpdateOptions(int mode)
Definition: adc.cpp:491
AdcWdg(QWidget *parent=0, std::string name="undefined", std::string filename="undefined_file", std::string server_id="undefined", int cmd_timeout=60000)
Definition: adc.cpp:22
void UpdateSubstate(int substate)
Definition: adc.cpp:250
void UpdateDelta(double position)
Definition: adc.cpp:379
void HandleLaunchButton2()
Definition: adc.cpp:407
virtual void StartSubscription()
Definition: adc.cpp:511
void UpdateEncoders(QString motor, double encoders)
Definition: adc.cpp:339
void UpdateTrackMode(int mode)
Definition: adc.cpp:310
virtual std::vector< std::string > GetDbAttributes(std::string server_id)
Definition: adc.cpp:143
void UpdatePosition(QString motor, double position)
Definition: adc.cpp:328
void GetMessage(std::shared_ptr<::elt::mal::Mal > mal, std::vector< std::shared_ptr<::fcfif::FcsUnion >> &setup_buffer, bool ignoreChecked=false)
Definition: adc.cpp:97
virtual void GetSubordinatedDevices(QStringList &dev_list)
Definition: adc.cpp:504
WDGLIB DeviceWdg class declaration file.
virtual void SetEnable(bool flag)
Definition: adc.cpp:432