Google

Main Page   Class Hierarchy   Compound List   File List   Compound Members  

iSequence Struct Reference

A sequence of operations tagged with relative time information. More...

#include <sequence.h>

Inheritance diagram for iSequence:

iBase List of all members.

Public Methods

virtual void AddOperation (csTicks time, iSequenceOperation *operation)=0
 Add an operation to this sequence. More...

virtual void AddRunSequence (csTicks time, iSequence *sequence)=0
 Add a standard operation to execute another sequence. More...

virtual void AddCondition (csTicks time, iSequenceCondition *condition, iSequence *trueSequence, iSequence *falseSequence)=0
 Add a standard operation to perform a condition and execute the right sequence depending on the result. More...

virtual void AddLoop (csTicks time, iSequenceCondition *condition, iSequence *sequence)=0
 Perform the sequence for as long as the condition is valid. More...

virtual void Clear ()=0
 Clear all operations in this sequence (call DecRef()).

virtual bool IsEmpty ()=0
 Return true if this sequence is empty.


Detailed Description

A sequence of operations tagged with relative time information.

All operations added to this sequence will be executed relative to the time the sequence itself is executed. The execute order of operations added at the same relative time is undefined.


Member Function Documentation

void iSequence::AddCondition ( csTicks time,
iSequenceCondition * condition,
iSequence * trueSequence,
iSequence * falseSequence ) [pure virtual]
 

Add a standard operation to perform a condition and execute the right sequence depending on the result.

This function will call IncRef() on the condition and sequences.

void iSequence::AddLoop ( csTicks time,
iSequenceCondition * condition,
iSequence * sequence ) [pure virtual]
 

Perform the sequence for as long as the condition is valid.

This function will call IncRef() on the condition and sequence.

void iSequence::AddOperation ( csTicks time,
iSequenceOperation * operation ) [pure virtual]
 

Add an operation to this sequence.

This function will call IncRef() on the operation.

void iSequence::AddRunSequence ( csTicks time,
iSequence * sequence ) [pure virtual]
 

Add a standard operation to execute another sequence.

This function will call IncRef() on the sequence.


The documentation for this struct was generated from the following file:
Generated for Crystal Space by doxygen 1.2.5 written by Dimitri van Heesch, ©1997-2000