mantaflow  0.10
A framework for fluid simulation
Public Slots | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Manta::MainThread Class Reference

encapsulates working/python thread More...

#include <qtmain.h>

Inheritance diagram for Manta::MainThread:

Public Slots

void wakeUp ()
 
void killMe ()
 

Signals

void sendToGui (int event)
 

Public Member Functions

 MainThread (std::vector< std::string > &args)
 
void sendAndWait (int e)
 send event to GUI and wait for completion
 
void send (int e)
 
void threadSleep (int msec)
 sleep for given number of milliseconds
 
bool isFinished ()
 
void setFinished ()
 

Protected Member Functions

void run ()
 

Protected Attributes

QMutex mMutex
 
QWaitCondition mWait
 
bool mFinished
 
std::vector< std::string > mArgs
 

Detailed Description

encapsulates working/python thread


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