62 void start(Priority priority = InheritPriority);
132 void setStatus(
int address,
int retries,
const QString& command,
const QString& status);
139 QMutex m_status_mutex;
void quit()
Quits the running thread.
INVERTOR_status status()
Returns current status of the line.
virtual void slotInit()=0
Initializes ancestors.
void data(DBT_DATA)
Signal to send retrieved data to other objects.
virtual void setLine(const DBT_LINES &)
Sets the parameters for the line.
Class describing database table DATA.
DBT_LINES m_line
Stores information about line.
QList< DBT_INVERTORS > m_invertors
Stores information about all invertors connected to the line.
INVERTOR_status m_status
Line status.
virtual void slotQuit()=0
Quits ancestors.
virtual void setInvertors(const QList< DBT_INVERTORS > &)
Sets the list of invertors connected to the line.
Stores the invertors status.
static INVERTOR * create(DBT_LINES::Type)
Factory makes instances depending on type.
Virtual class for invertor communication.
void loopFinished(int number_of_ok, int number_of_err)
Signal is sent when reading cycle was finished and all invertors were read.
Class describing database table LINES.
void start(Priority priority=InheritPriority)
Starts the thread.
void setStatus(int address, int retries, const QString &command, const QString &status)
Set status of line.