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

  PUBLIC
MsgPipeC::MsgPipeC(int)
MsgPipeC::MsgPipeC(const MsgPipeC &)
MsgPipeC::~MsgPipeC(void)
MsgPipeC::Put(const T &)
MsgPipeC::TryPut(const T &)
MsgPipeC::Get(void)
MsgPipeC::TryGet(T &)
MsgPipeC::IsElm(void)
MsgPipeC::Size(void)
MsgPipeC::Empty(void)
MsgPipeBaseC::Dump(void) const
MsgPipeBaseC::N(void) const
MsgPipeBaseC::IsSpace(void) const
MsgPipeBaseC::IsEmpty(void) const
MsgPipeC<class T>
 
Message MsgPipe
 
include "amma/PThread/MsgPipe.hh"
User Level:Default
Library:PThreadTools
Example:exChild.cc
Section:Utilities.Threads
In Scope:PThread

Comments:
SMALL OBJECT.

Parent Classes: Variables:
T * data;

Methods:
MsgPipeC(int nMaxSize = 10)
Default constructor.

MsgPipeC(const MsgPipeC<T> &)

~MsgPipeC()
Destructor.

void Put(const T & Data)
Put data into queue.

BooleanT TryPut(const T & Data)
Try an put data in queue if there's space. Ret:TRUE = Data in queue. Ret:FALSE = data not in queue.

T Get(void)
Get data from queue.

BooleanT TryGet(T & Data)
Try and get data from queue. Ret:FALSE = No data available.

BooleanT IsElm(void)
Is there data in the queue ?

int Size(void)
How much data is there in the queue.

void Empty()
Empty pipe of all its contents.

void Dump(void) const
Dump contents to stdout.

IntT N() const
Get size of pipe.

BooleanT IsSpace() const
Is space to data into ring ?

BooleanT IsEmpty() const
Is space to data into ring ?


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