qavrg 0.0.28
Signals | Public Member Functions | Protected Member Functions | Private Attributes
QavrgSpecServerThread Class Reference

#include <qavrgspecserverthread.h>

List of all members.


void printMessage (QString msg)

Public Member Functions

 QavrgSpecServerThread (QavrgAcquisition *acq)
 ~QavrgSpecServerThread ()
void shutdown ()
QavrgSpecServerserver ()

Protected Member Functions

void run ()

Private Attributes


Detailed Description

Definition at line 8 of file qavrgspecserverthread.h.

Constructor & Destructor Documentation

QavrgSpecServerThread::QavrgSpecServerThread ( QavrgAcquisition acq)

Definition at line 5 of file qavrgspecserverthread.cpp.

References m_SpecServer.

  : QThread(),
  m_SpecServer = new QavrgSpecServer(acq);
  m_SpecServer -> moveToThread(this);
QavrgSpecServerThread::~QavrgSpecServerThread ( )

Definition at line 13 of file qavrgspecserverthread.cpp.

References m_SpecServer, and shutdown().


  delete m_SpecServer;

Member Function Documentation

void QavrgSpecServerThread::printMessage ( QString  msg) [signal]

Referenced by run().

void QavrgSpecServerThread::run ( ) [protected]

Definition at line 20 of file qavrgspecserverthread.cpp.

References m_SpecServer, and printMessage().

  emit printMessage(tr("spec server thread 0x%1\n").arg((long)(QThread::currentThread()),8,16,QChar('0')));

  m_SpecServer -> startServer(QHostAddress::Any);

QavrgSpecServer * QavrgSpecServerThread::server ( )

Definition at line 36 of file qavrgspecserverthread.cpp.

References m_SpecServer.

  return m_SpecServer;
void QavrgSpecServerThread::shutdown ( )

Definition at line 29 of file qavrgspecserverthread.cpp.

Referenced by ~QavrgSpecServerThread().



Member Data Documentation

Definition at line 25 of file qavrgspecserverthread.h.

Referenced by QavrgSpecServerThread(), run(), server(), and ~QavrgSpecServerThread().

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