Simulacrum  1.2
Public Types | Public Member Functions | List of all members
Simulacrum::SRingBuffer Class Reference

#include <sring.h>

Collaboration diagram for Simulacrum::SRingBuffer:
Collaboration graph

Public Types

typedef char bufftype
 

Public Member Functions

 SRingBuffer (unsigned size)
 
virtual ~SRingBuffer ()
 
unsigned size ()
 
unsigned usedSize ()
 
void reset ()
 
void resize (unsigned newsize)
 
void add (bufftype newdatum)
 
bool isEnd ()
 
bool hasMore ()
 
bufftype get ()
 
void resetGet ()
 

Member Typedef Documentation

◆ bufftype

Constructor & Destructor Documentation

◆ SRingBuffer()

SRingBuffer::SRingBuffer ( unsigned  size)

◆ ~SRingBuffer()

SRingBuffer::~SRingBuffer ( )
virtual

Member Function Documentation

◆ add()

void SRingBuffer::add ( bufftype  newdatum)

◆ get()

SRingBuffer::bufftype SRingBuffer::get ( )

◆ hasMore()

bool SRingBuffer::hasMore ( )

◆ isEnd()

bool SRingBuffer::isEnd ( )

◆ reset()

void SRingBuffer::reset ( )

◆ resetGet()

void SRingBuffer::resetGet ( )

◆ resize()

void SRingBuffer::resize ( unsigned  newsize)

◆ size()

unsigned SRingBuffer::size ( )

◆ usedSize()

unsigned SRingBuffer::usedSize ( )

The documentation for this class was generated from the following files:
Simulacrum Project