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

  PUBLIC
MessageQueueBaseC::MessageQueueBaseC(int)
MessageQueueBaseC::MessageQueueBaseC(const MessageQueueBaseC &)
MessageQueueBaseC::Dump(void) const
MessageQueueBaseC::MaxSize(void) const
MessageQueueBaseC::IsSpace(void) const
MessageQueueBaseC::IsEmptyBase(void) const

   MessageQueueBaseC   
 
MessageQueue base class.
 
include "Ravl/Threads/MessageQueue.hh"
Created:25/11/1995 
Source file:Ravl/OS/Threads/Tools/MessageQueue.hh
User Level:Develop
Library:RavlThreads
In Scope:RavlN

Comments:
SMALL OBJECT.

Derived Classes: Variables:
MutexC access;
Access control.

SemaphoreC putSema;
Used to limit the size of the queue.

SemaphoreC ready;
Used to signal queue is not empty.

const IntT maxSize;

IntT head;

IntT tail;

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

MessageQueueBaseC(const MessageQueueBaseC &)
Not supported !

void Dump(void) const
Dump contents to stdout.

IntT MaxSize() const
Get size of pipe.

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

bool IsEmptyBase() const
Is space to data into ring ?


Maintainer:Charles Galambos, Created: 25/11/1995, Documentation by CxxDoc: Tue Aug 13 09:59:30 2002