A collection of SimplePatterns to be executed in sequence. More...
#include <ComplexPattern.h>
Public Member Functions | |
| ComplexPattern (const ComplexPattern &other) | |
| ComplexPattern & | operator= (const ComplexPattern &other) |
| SimplePattern * | addPattern (int time, SimplePattern *pattern) |
| map< int, SimplePattern * > | getPatterns () |
A collection of SimplePatterns to be executed in sequence.
| SimplePattern* ComplexPattern::addPattern | ( | int | time, |
| SimplePattern * | pattern | ||
| ) |
Adds a simple pattern to the end of this complex pattern with the given delay in milliseconds
| time | time in milliseconds for the simplepattern to execute at For example: addPattern(1000, &pattern1); addPattern(1500,&pattern2) will make pattern2 execute 500 milliseconds after pattern1 |
| map<int,SimplePattern*> ComplexPattern::getPatterns | ( | ) |
Get the map of simple patterns keyed by the time at which to execute them
1.8.7