|
User Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Variables:
Methods:
- DctThread(const ByteImageC & image,const StringC & outpath,IntT winSize,const StringC & name,BooleanT normalise = FALSE)
-
Constructor
| ind | Index of types of intererest. |
- DctThread(const DctThread & em)
-
Copy constructor
| ind | Index of types of intererest. |
- DctThread & Copy() const
-
Make a copy
| ind | Index of types of intererest. |
- int Start()
-
Start EM thread
| ind | Index of types of intererest. |
- int End()
-
End EM thread
| ind | Index of types of intererest. |
- BooleanT ThreadFinished()
-
Check to see if thread finished
| ind | Index of types of intererest. |
- void WaitForThread()
-
Wait until thread completes execution
| ind | Index of types of intererest. |
- void SetNormalise(BooleanT normalise)
-
Set the normalisation flag
| ind | Index of types of intererest. |
- BooleanT Execute(void)
-
Start thread running, use this command to start thread running
after it has been created. This function can only be called
once.
- int Start(void)
-
Called when thread started. This function should be overloaded
is a derived class. It is called with the new thread after
Execute() is called. There is no need to call this function
directly.
- int End(void)
-
Called when thread terminates normally. Overloading this method
is optional. There is no need to call this function
directly.
------------- Execution control ----------------------
These may be called by any thread.
- void Yield(void)
-
Yield control of processor, call if you wish a brief delay
in execution.
- void Terminate(void)
-
Terminate thread.
Call to stop the thread running.
- BooleanT Pause(void)
-
Stop thread running temporarly.
- BooleanT Continue(void)
-
Continue thread running again after call to Pause().
- BooleanT SetPriority(int Pri)
-
Set the priority of the process
0 to 32767, Higher faster.
------------- Thread ID ----------------------
Functions to identify threads.
- int GetID(void)
-
Get a unique ID for this thread.
NB. An id may no be assigned to the thread until
after Execute() has been called.
- IntT GetCurrentThreadID()
-
Get ID of current thread.
- VThread * GetCurrentThread(void)
-
Get a pointer to the currently executing thread.
|
Programmer:Kieron J Messer, Documentation by CxxDoc: Tue Mar 20 10:48:08 2001
|