|
Developer Documentation |
|
Centre for Vision, Speech & Signal Processing |
Parent Classes:
Variables:
- VSemaphore threadFinished;
-
| ind | Index of types of intererest. |
- StringC name;
-
| ind | Index of types of intererest. |
- ByteImageC image;
-
| ind | Index of types of intererest. |
- StringC path;
-
| ind | Index of types of intererest. |
- IntT windowSize;
-
| ind | Index of types of intererest. |
The window size to use
- BooleanT normalise;
-
| ind | Index of types of intererest. |
Use barbaras feature normalisation
Methods:
- GaborThread(const ByteImageC & image,const StringC & outpath,IntT winSize,const StringC & name,BooleanT normalise = FALSE)
-
Constructor
| ind | Index of types of intererest. |
- GaborThread(const GaborThread & em)
-
Copy constructor
| ind | Index of types of intererest. |
- GaborThread & 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 in)
-
Set the normalisaton 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:49:27 2001
|