ifw-fcf  2.0.0
Public Slots | Signals | Public Member Functions | List of all members
PiezoWdg Class Reference

#include <piezo.h>

Inheritance diagram for PiezoWdg:
DeviceWdg AbstractDevice

Public Slots

void SetActive (int index)
 
void UpdateSubstate (int substate)
 
void UpdateOptions (int mode)
 
void UpdateBit (int index, int value)
 
void UpdatePos (int index, double value)
 
- 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 SetBit (int index, int value)
 
void SetPos (int index, double value)
 
- Signals inherited from DeviceWdg
void TriggerSetup (QString)
 

Public Member Functions

 PiezoWdg (QWidget *parent, const std::string &name, const std::string &ps_endpoint, fcf::devmgr::piezo::PiezoConfig &config, const int &cmd_timeout=60000)
 
virtual ~PiezoWdg ()
 
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)
 
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

◆ PiezoWdg()

PiezoWdg::PiezoWdg ( QWidget *  parent,
const std::string &  name,
const std::string &  ps_endpoint,
fcf::devmgr::piezo::PiezoConfig config,
const int &  cmd_timeout = 60000 
)
explicit

◆ ~PiezoWdg()

PiezoWdg::~PiezoWdg ( )
virtual

Member Function Documentation

◆ GetDbAttributes()

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

Implements AbstractDevice.

◆ GetMessage()

void PiezoWdg::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 PiezoWdg::GetSubordinatedDevices ( QStringList &  dev_list)
virtual

Implements AbstractDevice.

◆ SetActive

void PiezoWdg::SetActive ( int  index)
slot

◆ SetBit

void PiezoWdg::SetBit ( int  index,
int  value 
)
signal

◆ SetEnable()

void PiezoWdg::SetEnable ( bool  flag)
virtual

Reimplemented from DeviceWdg.

◆ SetPos

void PiezoWdg::SetPos ( int  index,
double  value 
)
signal

◆ StartSubscription()

void PiezoWdg::StartSubscription ( )
virtual

Implements AbstractDevice.

◆ UpdateBit

void PiezoWdg::UpdateBit ( int  index,
int  value 
)
slot

◆ UpdateData()

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

Reimplemented from DeviceWdg.

◆ UpdateOptions

void PiezoWdg::UpdateOptions ( int  mode)
slot

◆ UpdatePos

void PiezoWdg::UpdatePos ( int  index,
double  value 
)
slot

◆ UpdateSubstate

void PiezoWdg::UpdateSubstate ( int  substate)
slot

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