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
MotorWdg Class Reference

#include <motor.h>

Inheritance diagram for MotorWdg:
DeviceWdg AbstractDevice

Public Slots

void SetActive (int index)
 
void SetActive (double value)
 
void UpdateSubstate (int substate)
 
void UpdateSpinner (int substate)
 
void UpdatePosition (double position)
 
void UpdateEncoders (double encoders)
 
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

 MotorWdg (QWidget *parent=0, std::string name="undefined", std::string filename="undefined_file", std::string server_id="undefined", int cmd_timeout=60000)
 
virtual ~MotorWdg ()
 
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

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

Member Function Documentation

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

Implements AbstractDevice.

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

Implements AbstractDevice.

void MotorWdg::GetSubordinatedDevices ( QStringList &  dev_list)
virtual

Implements AbstractDevice.

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

Reimplemented from DeviceWdg.

void MotorWdg::StartSubscription ( )
virtual

Implements AbstractDevice.

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

Reimplemented from DeviceWdg.

void MotorWdg::UpdateEncoders ( double  encoders)
slot
void MotorWdg::UpdateNamedPos ( QString  named_pos)
slot
void MotorWdg::UpdatePosition ( double  position)
slot
void MotorWdg::UpdateSpinner ( int  substate)
slot
void MotorWdg::UpdateSubstate ( int  substate)
slot

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