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

#include <adc.h>

Inheritance diagram for AdcWdg:
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 (QString motor, double position)
 
void UpdateEncoders (QString motor, double encoders)
 
void UpdatePosition (int motor, double position)
 
void UpdateEncoders (int motor, double encoders)
 
void UpdateAlpha (double position)
 
void UpdateDelta (double position)
 
void UpdateOptions (int mode)
 
void UpdateNamedPos (QString named_pos)
 
void HandleLaunchButton1 ()
 
void HandleLaunchButton2 ()
 
- 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

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

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

Member Function Documentation

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

Implements AbstractDevice.

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

Implements AbstractDevice.

void AdcWdg::GetSubordinatedDevices ( QStringList &  dev_list)
virtual

Implements AbstractDevice.

void AdcWdg::HandleLaunchButton1 ( )
slot
void AdcWdg::HandleLaunchButton2 ( )
slot
void AdcWdg::SetActive ( int  index)
slot
void AdcWdg::SetActive ( double  value)
slot
void AdcWdg::SetEnable ( bool  flag)
virtual

Reimplemented from DeviceWdg.

void AdcWdg::StartSubscription ( )
virtual

Implements AbstractDevice.

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

Reimplemented from DeviceWdg.

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

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