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

  PUBLIC
LaunchEventC::LaunchEventC(void)
LaunchEventC::LaunchEventC(const SignalEventC &)
LaunchEventC::LaunchEventC(LaunchEventBodyC &)
LaunchEventC::Body(void)
LaunchEventC::Reset(const SignalEventC &)
LaunchEventC::Done(void)
LaunchEventC::SigEvent(void)
ThreadC::Body(void)
ThreadC::Body(void) const
ThreadC::Execute(void)
ThreadC::Terminate(void)
ThreadC::SetPriority(int)
ThreadC::ID(void) const
RCHandleC::IsValid(void) const
RCHandleC::IsValidObject(void) const
RCHandleC::operator=(const RCHandleC &)
RCHandleC::operator==(const RCHandleC &) const
RCHandleC::operator!=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsConst(void) const
RCHandleC::IsNotConst(void) const
RCHandleC::SetConst(void) const
RCHandleC::Invalidate(void)
RCHandleC::Body(void)
RCHandleC::Body(void) const
LaunchEventC
 
Launch event handle.
 
include "amma/PThread/Launch.hh"
User Level:Default
Library:PThreadTools
Example:exChild.cc
Section:default.Charles Galambos
In Scope:PThread

Parent Classes:

Methods:
LaunchEventC()
Default constructor.

LaunchEventC(const SignalEventC & nse)
Constructor.

LaunchEventC(LaunchEventBodyC & leb)
Body constructor.

LaunchEventBodyC & Body()
Access thread body.

void Reset(const SignalEventC & nse)
Reset signal event.
Setup new event....

BEventC & Done()
Access done event.
This is true when launched event completes.

SignalEventC & SigEvent()
Event to call.
NB. This is used by the child thread and should not be modified until after the event 'done' has occured.

#include "amma/PThread/Thread.hh"
ThreadBodyC & Body()
Access body.

const ThreadBodyC & Body() const
Access body.

BooleanT Execute()
Start thread running.
use this command to start thread running after it has been created. This function can only be called once.

void Terminate()
Terminate thread.
Call to stop the thread running. THEAD SAFE.

BooleanT SetPriority(int pri)
Set the priority of the process 0 to 32767, Higher faster. THEAD SAFE.

UIntT ID() const
Get a unique ID for this thread. NB. An id may no be assigned to the thread until after Execute() has been called. THEAD SAFE.

#include "amma/RCHandle.hh"
BooleanT IsValid() const
Check its a valid handle.

BooleanT IsValidObject() const
Check its a valid handle, and that the object is pointed to is also valid.

RCHandleC<ThreadBodyC> & operator=(const RCHandleC<ThreadBodyC> & oth)
Assignment.

BooleanT operator==(const RCHandleC<ThreadBodyC> & oth) const
Comparison operator.

BooleanT operator!=(const RCHandleC<ThreadBodyC> & oth) const
Comparison operator.

UIntT Hash() const
Hash function.x

BooleanT IsConst() const
Is object constant ?

BooleanT IsNotConst() const
Is object not constant ?

void SetConst(void) const
Lock the object.
This is const as a convience though it actual modified the object, often object you wish to ensure are constant already have const set. protected:

void Invalidate()
Turn this into an invalid handle.

ThreadBodyC & Body()
Direct access to body.

const ThreadBodyC & Body() const
Constant access to body.


Programmer:Charles Galambos, Documentation by CxxDoc: Tue Mar 20 10:49:27 2001