User Documentation
RAVL, Recognition And Vision Library
DEVELOP HOME PAGE CLASS LIST CONTENTS
Ravl - OS - Threads - ThreadBodyC
 

  PUBLIC
ThreadBodyC::ThreadBodyC(void)
ThreadBodyC::~ThreadBodyC(void)
ThreadBodyC::Execute(void)
ThreadBodyC::Terminate(void)
ThreadBodyC::SetPriority(int)
ThreadBodyC::ID(void) const
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)

   ThreadBodyC   
 
Called when a thread is cancelled. Thread body.
 
include "Ravl/Threads/Thread.hh"
Created:02/07/1999 
User Level:Develop
Library:RavlThreads
In Scope:RavlN

Parent Classes: Derived Classes: Variables:
Methods:
ThreadBodyC()
Default constructor.

~ThreadBodyC()
Destructor.

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.

#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/1999, Documentation by CxxDoc: Tue Aug 13 09:59:02 2002