OSC-priority-queue.c File Reference

#include "OSC-common.h"
#include "OSC-timetag.h"
#include "OSC-priority-queue.h"
#include <stdio.h>

Classes

struct  OSCQueueStruct

Defines

#define PRINT_PRIORITY_QUEUE
#define CAPACITY   1000

Functions

void OSCQueuePrint (OSCQueue q)
OSCQueue OSCNewQueue (int maxItems, void *(*InitTimeMalloc)(int numBytes))
Boolean OSCQueueInsert (OSCQueue q, OSCSchedulableObject new)
OSCTimeTag OSCQueueEarliestTimeTag (OSCQueue q)
static void RemoveElement (int goner, OSCQueue q)
OSCSchedulableObject OSCQueueRemoveEarliest (OSCQueue q)
void OSCQueueScanStart (OSCQueue q)
OSCSchedulableObject OSCQueueScanNext (OSCQueue q)
void OSCQueueRemoveCurrentScanItem (OSCQueue q)
void CheckWholeQueue (void)

Define Documentation

#define PRINT_PRIORITY_QUEUE

#define CAPACITY   1000

Referenced by OSCNewQueue(), and OSCQueueInsert().


Function Documentation

void OSCQueuePrint ( OSCQueue  q  ) 

OSCQueue OSCNewQueue ( int  maxItems,
void *(*)(int numBytes)  InitTimeMalloc 
)

Boolean OSCQueueInsert ( OSCQueue  q,
OSCSchedulableObject  new 
)

OSCTimeTag OSCQueueEarliestTimeTag ( OSCQueue  q  ) 

static void RemoveElement ( int  goner,
OSCQueue  q 
) [static]

OSCSchedulableObject OSCQueueRemoveEarliest ( OSCQueue  q  ) 

void OSCQueueScanStart ( OSCQueue  q  ) 

OSCSchedulableObject OSCQueueScanNext ( OSCQueue  q  ) 

void OSCQueueRemoveCurrentScanItem ( OSCQueue  q  ) 

void CheckWholeQueue ( void   ) 


Generated on Thu Sep 17 23:14:16 2009 for CSL by  doxygen 1.5.8