Hocket.hpp
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022 #ifndef HOCKET_H
00023 #define HOCKET_H
00024
00025 #include "Platform.hpp"
00026 #ifdef SWIG
00027 %module CsoundAC
00028 %{
00029 #include "ScoreNode.hpp"
00030 %}
00031 #else
00032 #include "ScoreNode.hpp"
00033 using namespace boost::numeric;
00034 #endif
00035
00036 namespace csound
00037 {
00041 class Hocket :
00042 public ScoreNode
00043 {
00044 public:
00045 int modulus;
00046 int startingIndex;
00047 Hocket();
00048 virtual ~Hocket();
00049 virtual ublas::matrix<double> traverse(const ublas::matrix<double> &globalCoordinates, Score &score);
00050 virtual void produceOrTransform(Score &score, size_t beginAt, size_t endAt, const ublas::matrix<double> &coordinates);
00051 };
00052 }
00053 #endif
00054