PARP Research Group University of Murcia, Spain


UserInteract Class Reference

Inherits QVWorker.

List of all members.

Public Member Functions

 UserInteract (QString name=QString())
void processTrigger (const QString triggerName)
 Process trigger activations in the worker.
void iterate ()
 Function to be defined in subclasses with processing code.


Detailed Description

Definition at line 60 of file userIO.cpp.


Member Function Documentation

void UserInteract::processTrigger ( const QString  name  )  [inline, virtual]

Process trigger activations in the worker.

Triggers are just named actions that can be called upon a QVWorker to change it's state, initialize itself, or whatever action the programmer considers convenient, in a completely asynchronous manner.

When added to a worker, they will depict a button in the corresponding property widget in the interface, that will do a call to processTrigger() function when pressed. Use addTrigger to add triggers to a worker, and redefine this function to capture their activations.

See also:
addTrigger()
Parameters:
name the name of the trigger that was activated.

Reimplemented from QVWorker.

Definition at line 74 of file userIO.cpp.

void UserInteract::iterate (  )  [inline, virtual]

Function to be defined in subclasses with processing code.

This function should contain the code to process data, that will be executed continuously until worker is finished.

Reimplemented from QVWorker.

Definition at line 79 of file userIO.cpp.


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



QVision framework. PARP research group, copyright 2007, 2008.