#include <Repeat.h>
Public Member Functions | |
| mrs_natural | interval2samples (mrs_real srate) |
| convert the repeat interval to a sample count based on the given sample rate | |
| virtual bool | repeat () |
| report whether this Repeat specifies another repeat | |
| Repeat (std::string time_interval, mrs_natural rep_count) | |
| specify finite repetition | |
| Repeat (std::string time_interval) | |
| specify infinite repetition | |
| Repeat () | |
| specify no repetition | |
| void | set (bool inf, std::string time_interval, mrs_natural rep_count) |
| specify finite repetition | |
Definition at line 36 of file Repeat.h.
| Repeat | ( | std::string | time_interval | ) |
specify infinite repetition
| time_interval | the interval of time between repetitions |
Definition at line 30 of file Repeat.cpp.
| Repeat | ( | std::string | time_interval, | |
| mrs_natural | rep_count | |||
| ) |
specify finite repetition
| time_interval | the interval of time between repetitions | |
| rep_count | the number of times to repeat |
Definition at line 35 of file Repeat.cpp.
| mrs_natural interval2samples | ( | mrs_real | srate | ) |
convert the repeat interval to a sample count based on the given sample rate
| srate | the sample rate to be used in the conversion |
Definition at line 57 of file Repeat.cpp.
| bool repeat | ( | ) | [virtual] |
report whether this Repeat specifies another repeat
Definition at line 41 of file Repeat.cpp.
Referenced by EvEvent::repeat().
| void set | ( | bool | inf, | |
| std::string | time_interval, | |||
| mrs_natural | rep_count | |||
| ) |
specify finite repetition
| inf | true if repeat is to be infinite which negates rep_count | |
| time_interval | the interval of time between repetitions | |
| rep_count | the number of times to repeat |
Definition at line 49 of file Repeat.cpp.
1.5.6