Developer Documentation
RAVL, Recognition And Vision Library
USER HOME PAGE CLASS LIST CONTENTS
Ravl - OS - Threads - LaunchThreadBodyC
 

  PUBLIC
LaunchThreadBodyC::LaunchThreadBodyC(const TriggerC &)
LaunchThreadBodyC::Start(void)
LaunchThreadBodyC::Done(void)
LaunchThreadBodyC::SigEvent(void)
LaunchThreadBodyC::Reset(const TriggerC &)
ThreadBodyC::Execute(void)
ThreadBodyC::Terminate(void)
ThreadBodyC::SetPriority(int)
ThreadBodyC::ID(void) const
ThreadBodyC::Start(void)
ThreadBodyC::End(void)
ThreadBodyC::Startup(void)
ThreadBodyC::Cancel(void)
ThreadBodyC::StartThread(void *)
ThreadBodyC::cancellationHandler(void *)
RCBodyVC::Save(ostream &) const
RCBodyVC::Save(BinOStreamC &) const
RCBodyVC::Copy(void) const
RCBodyVC::DeepCopy(UIntT) const
RCBodyC::References(void) const
RCBodyC::Copy(void) const
RCBodyC::DeepCopy(UIntT) const
RCBodyC::IncRefCounter(void)
RCBodyC::DecRefCounter(void)

   LaunchThreadBodyC   
 
Launch event body.
 
include "Ravl/Threads/LaunchThread.hh"
Created:02/07/99 
Source file:Ravl/OS/Threads/Tools/LaunchThread.hh
User Level:Develop
Library:RavlThreads
In Scope:RavlN

Parent Classes: Variables:
TriggerC se;
Event to call.

ThreadEventC done;
Signal when done.

ThreadEventC reStart;
Signal to restart.

Methods:
LaunchThreadBodyC(const TriggerC & nse)
Constructor.

int Start()
Called on startup.

ThreadEventC & Done()
Access done event.

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

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

#include "Ravl/Threads/Thread.hh"
bool 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.

bool 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.

int Start()
Called when thread started.
This function should be overloaded is a derived class. It is called with the new thread after Execute() is called.

int End()
Called when thread terminates normally.
Overloading this method is optional. There is no need to call this function directly.

void Startup()
Start user code.

void Cancel()
Cancel thread.

void * StartThread(void *)

void cancellationHandler(void * data)

#include "Ravl/RCHandleV.hh"
bool Save(ostream & out) const
Save to stream 'out'.

bool Save(BinOStreamC & out) const
Save to binary stream 'out'.

RCBodyVC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

#include "Ravl/RefCounter.hh"
UIntT References() const
Access count of handles open to this object.

RCBodyC & Copy() const
Make copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

RCBodyC & DeepCopy(UIntT levels = ((UIntT))) const
Make a deep copy of body.
This should be provided in derived classes. this funtion will issue an assertion failure if called.

void IncRefCounter()
Increment reference counter.

bool DecRefCounter()
Decrement reference counter.


Maintainer:Charles Galambos, Created: 02/07/99, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002