ifw-fcf  2.0.0
Public Slots | Signals | 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 ()
 

Signals

void NewPosition (double position)
 
void NewEncoders (double encoders)
 
void NewNamePos (QString named_pos)
 
void NewAlpha (double position)
 
void NewDelta (double position)
 
- Signals inherited from DeviceWdg
void TriggerSetup (QString)
 

Public Member Functions

 DrotWdg (QWidget *parent, const std::string &name, const std::string &ps_endpoint, fcf::devmgr::drot::DrotConfig &config, const std::string &server_id="undefined", const int &cmd_timeout=60000)
 
virtual ~DrotWdg ()
 
virtual void StartSubscription ()
 
void GetMessage (std::shared_ptr<::elt::mal::Mal > mal, std::vector< std::shared_ptr<::fcfif::SetupElem >> &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, const std::string &name, const std::string &ps_endpoint, const 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

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

Constructor & Destructor Documentation

◆ DrotWdg()

DrotWdg::DrotWdg ( QWidget *  parent,
const std::string &  name,
const std::string &  ps_endpoint,
fcf::devmgr::drot::DrotConfig config,
const std::string &  server_id = "undefined",
const int &  cmd_timeout = 60000 
)
explicit

◆ ~DrotWdg()

DrotWdg::~DrotWdg ( )
virtual

Member Function Documentation

◆ GetDbAttributes()

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

Implements AbstractDevice.

◆ GetMessage()

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

Implements AbstractDevice.

◆ GetSubordinatedDevices()

void DrotWdg::GetSubordinatedDevices ( QStringList &  dev_list)
virtual

Implements AbstractDevice.

◆ HandleLaunchButton

void DrotWdg::HandleLaunchButton ( )
slot

◆ NewAlpha

void DrotWdg::NewAlpha ( double  position)
signal

◆ NewDelta

void DrotWdg::NewDelta ( double  position)
signal

◆ NewEncoders

void DrotWdg::NewEncoders ( double  encoders)
signal

◆ NewNamePos

void DrotWdg::NewNamePos ( QString  named_pos)
signal

◆ NewPosition

void DrotWdg::NewPosition ( double  position)
signal

◆ SetActive [1/2]

void DrotWdg::SetActive ( double  value)
slot

◆ SetActive [2/2]

void DrotWdg::SetActive ( int  index)
slot

◆ SetEnable()

void DrotWdg::SetEnable ( bool  flag)
virtual

Reimplemented from DeviceWdg.

◆ StartSubscription()

void DrotWdg::StartSubscription ( )
virtual

Implements AbstractDevice.

◆ UpdateAlpha

void DrotWdg::UpdateAlpha ( double  position)
slot

◆ UpdateData()

void DrotWdg::UpdateData ( QList< QVariant > &  data_list)
virtual

Reimplemented from DeviceWdg.

◆ UpdateDelta

void DrotWdg::UpdateDelta ( double  position)
slot

◆ UpdateEncoders

void DrotWdg::UpdateEncoders ( double  encoders)
slot

◆ UpdateNamedPos

void DrotWdg::UpdateNamedPos ( QString  named_pos)
slot

◆ UpdateOptions

void DrotWdg::UpdateOptions ( int  mode)
slot

◆ UpdatePosition

void DrotWdg::UpdatePosition ( double  position)
slot

◆ UpdateSpinner

void DrotWdg::UpdateSpinner ( int  substate)
slot

◆ UpdateSubstate

void DrotWdg::UpdateSubstate ( int  substate)
slot

◆ UpdateTrackMode

void DrotWdg::UpdateTrackMode ( int  mode)
slot

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