class State { public: typedef UtilPtr<ChannelState> ChannelStatePtr; typedef PerChannel<Bool> ChannelUseMap; typedef UtilPtr<ChannelUseMap> ChannelUseMapPtr; State(ChannelUseMapPtr); void update(const MidiMsg*); void change(const State*, void (*func)(const MidiMsg&)); ChannelStatePtr& operator()(ioref, int); void iterate(void (*func)(ioref, int, ChannelStatePtr*, void*), void*); };
State(ChannelUseMapPtr u)
void update(const MidiMsg* m)
void change(const State* s, void (*func)(const MidiMsg&))
func
) to
cause the synthesizers to have the state of this State object,
assuming that their previous state was s.
ChannelStatePtr& operator()(ioref n, int c)
void iterate(void (*func)(ioref n, int c, ChannelStatePtr* e, void* x), void* x)