encapsulates repetition information for scheduled events
More...
#include <Repeat.h>
Detailed Description
encapsulates repetition information for scheduled events
- Author:
- Neil Burroughs inb@cs.uvic.ca
Definition at line 36 of file Repeat.h.
Constructor & Destructor Documentation
specify no repetition
Definition at line 25 of file Repeat.cpp.
Repeat |
( |
std::string |
time_interval | ) |
|
specify infinite repetition
- Parameters:
-
time_interval | the interval of time between repetitions |
Definition at line 30 of file Repeat.cpp.
specify finite repetition
- Parameters:
-
time_interval | the interval of time between repetitions |
rep_count | the number of times to repeat |
Definition at line 35 of file Repeat.cpp.
Member Function Documentation
convert the repeat interval to a sample count based on the given sample rate
- Parameters:
-
srate | the sample rate to be used in the conversion |
- Returns:
- the count of samples
Definition at line 57 of file Repeat.cpp.
void operator++ |
( |
| ) |
[inline] |
void operator++ |
( |
int |
| ) |
[inline] |
void operator-- |
( |
| ) |
[inline] |
void operator-- |
( |
int |
| ) |
[inline] |
report whether this Repeat specifies another repeat
- Returns:
- true if repeat is warranted
Definition at line 41 of file Repeat.cpp.
void set |
( |
bool |
inf, |
|
|
std::string |
time_interval, |
|
|
mrs_natural |
rep_count |
|
) |
| |
specify finite repetition
- Parameters:
-
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.
The documentation for this class was generated from the following files:
- /usr/src/RPM/BUILD/marsyas-0.6.0/src/marsyas/sched/Repeat.h
- /usr/src/RPM/BUILD/marsyas-0.6.0/src/marsyas/sched/Repeat.cpp