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

  PUBLIC
LaunchThreadC::LaunchThreadC(void)
LaunchThreadC::LaunchThreadC(const TriggerC &)
LaunchThreadC::Done(void)
LaunchThreadC::SigEvent(void)
ThreadC::Execute(void)
ThreadC::Terminate(void)
ThreadC::SetPriority(int)
ThreadC::ID(void) const
RCHandleC::operator =(const RCHandleC &)
RCHandleC::DeepCopy(UIntT) const
RCHandleC::operator ==(const RCHandleC &) const
RCHandleC::operator !=(const RCHandleC &) const
RCHandleC::Hash(void) const
RCHandleC::IsValid(void) const
RCHandleC::Invalidate(void)
RCHandleC::IsHandleType(const DT &) const
RCHandleC::CheckHandleType(const DT &) const
RCHandleC::References(void) const
RCHandleC::operator <<(ostream &,const RCHandleC &)
RCHandleC::operator >>(istream &,RCHandleC &)

   LaunchThreadC   
 
Launch event handle.
 
include "Ravl/Threads/LaunchThread.hh"
Created:02/07/99 
User Level:Normal
Library:RavlThreads
In Scope:RavlN

Parent Classes: Methods:
LaunchThreadC()
Default constructor.

LaunchThreadC(const TriggerC & nse)
Constructor.

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

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.

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

#include "Ravl/RefCounter.hh"
const RCHandleC<ThreadBodyC> & operator =(const RCHandleC<ThreadBodyC> & oth)
Assign handle.

RCHandleC<ThreadBodyC> DeepCopy(UIntT levels = ((UIntT))) const
Do a deep copy of the object.

bool operator ==(const RCHandleC<ThreadBodyC> & oth) const
Are handles to the same object ?

bool operator !=(const RCHandleC<ThreadBodyC> & oth) const
Are handles to different objects ?

UIntT Hash() const
Default hash function.
This hashes on the address of the body.

bool IsValid() const
Test if this is a valid handle.

void Invalidate()
Invalidate this handle.
Unattaches the body from the handle.

bool IsHandleType(const DT &) const
Is handle of given type ?

void CheckHandleType(const DT & dummy) const
Check handle type. Throw an expception if not.

UIntT References() const
Find the number of references to the body of this object.

ostream & operator <<(ostream & strm,const RCHandleC<ThreadBodyC> & obj)

istream & operator >>(istream & strm,RCHandleC<ThreadBodyC> & obj)


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