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

#include <lamp.h>

Inheritance diagram for LampWdg:
DeviceWdg AbstractDevice

Public Slots

void SetIntensity (double value)
 
void UpdateSubstate (int substate)
 
void UpdateSpinner (int substate)
 
void UpdateIntensity (double intensity)
 
- 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

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

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

Member Function Documentation

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

Implements AbstractDevice.

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

Implements AbstractDevice.

void LampWdg::GetSubordinatedDevices ( QStringList &  dev_list)
virtual

Implements AbstractDevice.

void LampWdg::SetEnable ( bool  flag)
virtual

Reimplemented from DeviceWdg.

void LampWdg::SetIntensity ( double  value)
slot
void LampWdg::StartSubscription ( )
virtual

Implements AbstractDevice.

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

Reimplemented from DeviceWdg.

void LampWdg::UpdateIntensity ( double  intensity)
slot
void LampWdg::UpdateSpinner ( int  substate)
slot
void LampWdg::UpdateSubstate ( int  substate)
slot

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