qpidctrl  0.7.1
Public Member Functions | List of all members
QLakeshoreDeviceThread Class Reference

#include <qlakeshoredevicethread.h>

Inheritance diagram for QLakeshoreDeviceThread:
Inheritance graph

Public Member Functions

 QLakeshoreDeviceThread (QPidControllerWPtr ctl, QString deviceName)
 
void run ()
 
- Public Member Functions inherited from QPidDeviceThread
 QPidDeviceThread (QPidControllerWPtr ctl, QString deviceName)
 
virtual ~QPidDeviceThread ()
 
QPidDevicePtr device () const
 
QPidDevicePtr waitForDevice () const
 

Additional Inherited Members

- Signals inherited from QPidDeviceThread
void deviceReady ()
 
- Static Public Member Functions inherited from QPidDeviceThread
static QPidDeviceThreadPtr createDevice (QPidControllerWPtr ctl, int deviceKind, QString deviceName)
 
static QStringList deviceTypeNames ()
 
static QString deviceTypeName (int n)
 
static void usleep (unsigned long usecs)
 
static void msleep (unsigned long msecs)
 
static void sleep (unsigned long secs)
 
- Protected Attributes inherited from QPidDeviceThread
QString m_DeviceName
 
QPidDevicePtr m_Device
 
QPidControllerWPtr m_Controller
 

Detailed Description

Definition at line 6 of file qlakeshoredevicethread.h.

Constructor & Destructor Documentation

QLakeshoreDeviceThread::QLakeshoreDeviceThread ( QPidControllerWPtr  ctl,
QString  deviceName 
)
explicit

Definition at line 5 of file qlakeshoredevicethread.cpp.

5  :
6  QPidDeviceThread(ctl, deviceName)
7 {
8 }
QPidDeviceThread(QPidControllerWPtr ctl, QString deviceName)

Member Function Documentation

void QLakeshoreDeviceThread::run ( )

Definition at line 10 of file qlakeshoredevicethread.cpp.

References QPidDeviceThread::deviceReady(), QPidDeviceThread::m_Controller, QPidDeviceThread::m_Device, and QPidDeviceThread::m_DeviceName.

11 {
12  {
14  QcepSettingsSaverWPtr saver = ctrl->saver();
15 
17 
18  m_Device = dev;
19  }
20 
21  emit deviceReady();
22 
23  exec();
24 }
QPidControllerWPtr m_Controller
QSharedPointer< QPidController > QPidControllerPtr
QPidDevicePtr m_Device
QSharedPointer< QLakeshoreDevice > QLakeshoreDevicePtr

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