ifw-fcf  2.0.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Public Member Functions | List of all members
DrotWdg Class Reference

#include <drot.h>

Inheritance diagram for DrotWdg:
DeviceWdg AbstractDevice

Public Slots

void SetActive (int index)
 
void SetActive (double value)
 
void UpdateSubstate (int substate)
 
void UpdateSpinner (int substate)
 
void UpdateTrackMode (int mode)
 
void UpdatePosition (double position)
 
void UpdateAlpha (double position)
 
void UpdateDelta (double position)
 
void UpdateEncoders (double encoders)
 
void UpdateOptions (int mode)
 
void UpdateNamedPos (QString named_pos)
 
void HandleLaunchButton ()
 
- Public Slots inherited from DeviceWdg
void SetActive (int index)
 
void UpdateState (int state)
 
bool UpdateSubstate (int substate)
 
void UpdateSpinner (int substate)
 
void UpdateErrorMsg (std::string msg)
 
void HandleSetupButton ()
 

Public Member Functions

 DrotWdg (QWidget *parent=0, std::string name="undefined", std::string filename="undefined_file", std::string server_id="undefined", int cmd_timeout=60000)
 
virtual ~DrotWdg ()
 
virtual void StartSubscription ()
 
void GetMessage (std::shared_ptr<::elt::mal::Mal > mal, std::vector< std::shared_ptr<::fcfif::FcsUnion >> &setup_buffer, bool ignoreChecked=false)
 
virtual void GetSubordinatedDevices (QStringList &dev_list)
 
virtual void UpdateData (QList< QVariant > &data_list)
 
virtual std::vector< std::string > GetDbAttributes (std::string server_id)
 
virtual void SetEnable (bool flag)
 
- Public Member Functions inherited from DeviceWdg
 DeviceWdg (QWidget *parent, std::string name, int cmd_timeout)
 
virtual ~DeviceWdg ()
 
std::string GetName ()
 
void Select ()
 
void Deselect ()
 
bool IsSelected ()
 
virtual void Stop ()
 
virtual void GetDbAttributes (std::string server_id, std::vector< std::string > &vector)
 

Additional Inherited Members

- Signals inherited from DeviceWdg
void TriggerSetup (QString)
 
- Protected Member Functions inherited from DeviceWdg
void SetupCommonUi ()
 
bool IsSimulated ()
 
- Protected Attributes inherited from DeviceWdg
QTimer * m_spinner_timer
 
std::string m_name
 
int m_cmd_timeout
 
bool m_simulated
 
CommonUi m_ui
 

Constructor & Destructor Documentation

DrotWdg::DrotWdg ( QWidget *  parent = 0,
std::string  name = "undefined",
std::string  filename = "undefined_file",
std::string  server_id = "undefined",
int  cmd_timeout = 60000 
)
explicit
DrotWdg::~DrotWdg ( )
virtual

Member Function Documentation

std::vector< std::string > DrotWdg::GetDbAttributes ( std::string  server_id)
virtual

Implements AbstractDevice.

void DrotWdg::GetMessage ( std::shared_ptr<::elt::mal::Mal >  mal,
std::vector< std::shared_ptr<::fcfif::FcsUnion >> &  setup_buffer,
bool  ignoreChecked = false 
)
virtual

Implements AbstractDevice.

void DrotWdg::GetSubordinatedDevices ( QStringList &  dev_list)
virtual

Implements AbstractDevice.

void DrotWdg::HandleLaunchButton ( )
slot
void DrotWdg::SetActive ( int  index)
slot
void DrotWdg::SetActive ( double  value)
slot
void DrotWdg::SetEnable ( bool  flag)
virtual

Reimplemented from DeviceWdg.

void DrotWdg::StartSubscription ( )
virtual

Implements AbstractDevice.

void DrotWdg::UpdateAlpha ( double  position)
slot
void DrotWdg::UpdateData ( QList< QVariant > &  data_list)
virtual

Reimplemented from DeviceWdg.

void DrotWdg::UpdateDelta ( double  position)
slot
void DrotWdg::UpdateEncoders ( double  encoders)
slot
void DrotWdg::UpdateNamedPos ( QString  named_pos)
slot
void DrotWdg::UpdateOptions ( int  mode)
slot
void DrotWdg::UpdatePosition ( double  position)
slot
void DrotWdg::UpdateSpinner ( int  substate)
slot
void DrotWdg::UpdateSubstate ( int  substate)
slot
void DrotWdg::UpdateTrackMode ( int  mode)
slot

The documentation for this class was generated from the following files: