Public Member Functions | Public Attributes
pyclearsilver.guid.CircularSet Class Reference

A simple circular set to ensure we don't duplicate GUIDs in the same millisecond. More...

List of all members.

Public Member Functions

def __init__
def add

Public Attributes

 queue
 queue_map
 queueindex

Detailed Description

A simple circular set to ensure we don't duplicate GUIDs in the same millisecond.

A circular set.  A set that maxes at a given size, replacing the oldest element after maximum size.
   This implementation is NOT thread safe.  (generate() below is thread safe, though)

Definition at line 142 of file guid.py.


Constructor & Destructor Documentation

Definition at line 146 of file guid.py.


Member Function Documentation

def pyclearsilver.guid.CircularSet.add (   self,
  val 
)
Adds a value to the queue

Definition at line 151 of file guid.py.


Member Data Documentation

Definition at line 146 of file guid.py.

Definition at line 146 of file guid.py.

Definition at line 146 of file guid.py.


The documentation for this class was generated from the following file:


pyclearsilver
Author(s): Scott Hassan/hassan@willowgarage.com
autogenerated on Wed Apr 23 2014 10:35:42