Marsyas
0.6.0-alpha
|
Shuffle the incoming slices randomly. More...
#include <SliceShuffle.h>
Inherits MarSystem.
Public Member Functions | |
MarSystem * | clone () const |
Implementation of the MarSystem::clone() method. | |
void | myProcess (realvec &in, realvec &out) |
Implementation of the MarSystem::myProcess method. | |
SliceShuffle (std::string name) | |
SliceShuffle constructor. | |
SliceShuffle (const SliceShuffle &a) | |
SliceShuffle copy constructor. | |
~SliceShuffle () | |
SliceShuffle destructor. |
Shuffle the incoming slices randomly.
Incoming slices are stored in a buffer and on each process call a random one is drawn as output.
Controls:
Definition at line 38 of file SliceShuffle.h.
SliceShuffle | ( | std::string | name | ) |
SliceShuffle constructor.
Add any specific controls needed by this MarSystem.
Definition at line 25 of file SliceShuffle.cpp.
SliceShuffle | ( | const SliceShuffle & | a | ) |
SliceShuffle copy constructor.
All member MarControlPtr have to be explicitly reassigned in the copy constructor.
Definition at line 31 of file SliceShuffle.cpp.
~SliceShuffle | ( | ) |
SliceShuffle destructor.
Definition at line 39 of file SliceShuffle.cpp.
Implementation of the MarSystem::clone() method.
Implements MarSystem.
Definition at line 44 of file SliceShuffle.cpp.
Implementation of the MarSystem::myProcess method.
Pick a random slice.
Get slice from buffer and store the new input.
Implements MarSystem.
Definition at line 75 of file SliceShuffle.cpp.