usbdmx.com Home of the opto isolated, bus powered, DMX512 interface with both in and out universes. Cheap and simple to build. USBDMX logo

LOCueHistory Class Reference

A class that stores the previous cues for use in playing cues in reverse order. More...

#import <LOCueHistory.h>


Public Member Functions

(id) - initWithMaxHistory:
 initalize a cue history with a max number of cues to prevent the array from growing too large.
(void) - addCue:
 Add a cue to the history.
(float) - lastCue
 retrive the previous cue from the history.

Protected Attributes

NSMutableArray * cueHistory
int maxHistory


Detailed Description

A class that stores the previous cues for use in playing cues in reverse order.

Member Function Documentation

- (void) addCue: (float)  aCue  

Add a cue to the history.

Should be called when cue fade starts.

- (float) lastCue  

retrive the previous cue from the history.

Doing so removes the current cue from the history.


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