VAT  3.0
Video Analysis Tool
Signals | Public Member Functions | Public Attributes | List of all members
ProductionThread Class Reference

The ProductionThread class is a Thread in carge of coordinate frame navigation and kick video analysis entity to process. More...

#include <productionthread.h>

Inheritance diagram for ProductionThread:

Signals

void load_data ()
 
void bad_init ()
 

Public Member Functions

 ProductionThread (VideoAnalysis *i_va, QObject *parent=0)
 Constructor. More...
 
void run ()
 cyclical process executed as a separate thread. This method shouldn't be called directly, but start() method instead.
 
bool init ()
 Reads parameters of video analysis entity and then initialize video analyisis entity. More...
 
void do_play ()
 Allow to continuously execute next frame.
 
void do_next ()
 Ensure that video analysis entity is fully initialized and ask for execution to it.
 
void do_pause ()
 set flag of pause. This flag is perceived by the thread in run() method.
 
void do_init ()
 restart video analysis modules and its parameters.
 
void do_end ()
 notifies the thread to terminate.
 
void load_done ()
 notifies the thread to continue, since the load is complete.
 

Public Attributes

VideoAnalysism_videoAnalysis
 reference to video analysis entity used.
 
bool newVideoAnalysisInstance
 used to identify if video analysis entity is completely configured.
 
bool done
 
bool paused
 
bool waiting
 
bool next
 

Detailed Description

The ProductionThread class is a Thread in carge of coordinate frame navigation and kick video analysis entity to process.

Constructor & Destructor Documentation

ProductionThread::ProductionThread ( VideoAnalysis i_va,
QObject *  parent = 0 
)

Constructor.

Parameters
i_vaVideo analysis entity reference
parentQObject parent according to QObject tree organization.

Member Function Documentation

bool ProductionThread::init ( )

Reads parameters of video analysis entity and then initialize video analyisis entity.

Returns
False if parameters reading or initialization of video analysis entity fails.

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