Developer Documentation
Centre for Vision, Speech & Signal Processing
USER IN NAMESPACE AMMA TREE ROOT AMMA SEARCH AMMA HOME
 

  PUBLIC
DctThread::DctThread(const ByteImageC &,const StringC &,IntT,const StringC &,BooleanT)
DctThread::DctThread(const DctThread &)
DctThread::Copy(void) const
DctThread::Start(void)
DctThread::End(void)
DctThread::ThreadFinished(void)
DctThread::WaitForThread(void)
DctThread::SetNormalise(BooleanT)
VThread::Execute(void)
VThread::Start(void)
VThread::End(void)
VThread::Yield(void)
VThread::Terminate(void)
VThread::Pause(void)
VThread::Continue(void)
VThread::SetPriority(int)
VThread::GetID(void)
VThread::GetCurrentThreadID(void)
VThread::GetCurrentThread(void)
DctThread
 
include "amma/visualdb/DctThread.hh"
User Level:Default
Library:QueryThread
Example:exIndex.cc
Section:default.Kieron J Messer
In Scope:std

Parent Classes:

Variables:
VSemaphore threadFinished;
indIndex of types of intererest.

StringC name;
indIndex of types of intererest.

ByteImageC image;
indIndex of types of intererest.

StringC path;
indIndex of types of intererest.

IntT windowSize;
indIndex of types of intererest.

BooleanT normalise;
indIndex of types of intererest.
normalise the features

Methods:
DctThread(const ByteImageC & image,const StringC & outpath,IntT winSize,const StringC & name,BooleanT normalise = FALSE)
Constructor
indIndex of types of intererest.

DctThread(const DctThread & em)
Copy constructor
indIndex of types of intererest.

DctThread & Copy() const
Make a copy
indIndex of types of intererest.

int Start()
Start EM thread
indIndex of types of intererest.

int End()
End EM thread
indIndex of types of intererest.

BooleanT ThreadFinished()
Check to see if thread finished
indIndex of types of intererest.

void WaitForThread()
Wait until thread completes execution
indIndex of types of intererest.

void SetNormalise(BooleanT normalise)
Set the normalisation flag
indIndex of types of intererest.

#include "amma/Thread/VThread.hh"
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