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

  PUBLIC
TickerTriggerBodyC::TickerTriggerBodyC(RealT,const TriggerC &)
TickerTriggerBodyC::Start(void)
TickerTriggerBodyC::SendTerminate(void)
TickerTriggerBodyC::Shutdown(void)
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)

   TickerTriggerBodyC   
 
Ticker body.
 
include "Ravl/Threads/TickerTrigger.hh"
Created:02/07/1999 
Source file:Ravl/OS/Threads/Tools/TickerTrigger.hh
User Level:Develop
Library:RavlThreads
In Scope:RavlN

Comments:
This class triggers a method at repeatedly with a fixed delay between calls.

Parent Classes: Variables:
RealT delay;

DateC next;

TriggerC se;

Methods:
TickerTriggerBodyC(RealT ndelay,const TriggerC & nse)
Let rip !

int Start()
Called on startup.

void SendTerminate()
Set terminate.
Obsolete use Shutdown()

void Shutdown()
Shutdown ticker.

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