ScummVM API documentation
Twp::Thread Class Referencefinal
Inheritance diagram for Twp::Thread:
Twp::ThreadBase

Public Member Functions

 Thread (const Common::String &name, bool global, HSQOBJECT threadObj, HSQOBJECT envObj, HSQOBJECT closureObj, const Common::Array< HSQOBJECT > args)
 
virtual bool isGlobal () override final
 
virtual HSQUIRRELVM getThread () override final
 
bool call ()
 
virtual bool update (float elapsed) override final
 
virtual void stop () override final
 
- Public Member Functions inherited from Twp::ThreadBase
void pause ()
 
void unpause ()
 
void setName (const Common::String &name)
 
Common::String getName () const
 
int getId () const
 
bool isSuspended ()
 
bool isDead ()
 
void suspend ()
 
void resume ()
 

Public Attributes

bool _global = false
 
HSQOBJECT _threadObj
 
HSQOBJECT _envObj
 
HSQOBJECT _closureObj
 
Common::Array< HSQOBJECT_args
 
- Public Attributes inherited from Twp::ThreadBase
float _waitTime = 0.f
 
int _numFrames = 0
 
bool _paused = false
 
bool _pauseable = false
 
uint32 _lastUpdateTime = 0
 

Additional Inherited Members

- Protected Attributes inherited from Twp::ThreadBase
int _id = 0
 
Common::String _name
 
bool _stopRequest = false
 
bool _stopped = false
 

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