#include <OpcodeBase.hpp>

DerivedClass : public OpcodeBase<DerivedClass> { public: // All output fields must be declared first as MYFLT *: MYFLT *aret1; // All input fields must be declared next as MYFLT *: MYFLT *iarg1; MYFLT *karg2; MYFLT *aarg3; // All internal state variables must be declared after that: size_t state1; double state2; MYFLT state3; // Declare and implement only whichever of these are required: void init(); void kontrol(); void audio; void noteoff(); void deinit(); };
Public Member Functions | |
| int | init (CSOUND *csound) |
| int | kontrol (CSOUND *csound) |
| int | audio (CSOUND *csound) |
| int | noteoff (CSOUND *csound) |
| void | log (CSOUND *csound, const char *format,...) |
| void | warn (CSOUND *csound, const char *format,...) |
Static Public Member Functions | |
| static int | init_ (CSOUND *csound, void *opcode_) |
| static int | kontrol_ (CSOUND *csound, void *opcode) |
| static int | audio_ (CSOUND *csound, void *opcode) |
| static int | noteoff_ (CSOUND *csound, void *opcode) |
Data Fields | |
| OPDS | h |
| int OpcodeBase< T >::init | ( | CSOUND * | csound | ) | [inline] |
References NOTOK.
| static int OpcodeBase< T >::init_ | ( | CSOUND * | csound, | |
| void * | opcode_ | |||
| ) | [inline, static] |
References CSOUND_::RegisterDeinitCallback, CSOUND_::reinitflag, and CSOUND_::tieflag.
| int OpcodeBase< T >::kontrol | ( | CSOUND * | csound | ) | [inline] |
| static int OpcodeBase< T >::kontrol_ | ( | CSOUND * | csound, | |
| void * | opcode | |||
| ) | [inline, static] |
References OpcodeBase< T >::kontrol().
| int OpcodeBase< T >::audio | ( | CSOUND * | csound | ) | [inline] |
| static int OpcodeBase< T >::audio_ | ( | CSOUND * | csound, | |
| void * | opcode | |||
| ) | [inline, static] |
References OpcodeBase< T >::audio().
| int OpcodeBase< T >::noteoff | ( | CSOUND * | csound | ) | [inline] |
| static int OpcodeBase< T >::noteoff_ | ( | CSOUND * | csound, | |
| void * | opcode | |||
| ) | [inline, static] |
References OpcodeBase< T >::noteoff().
| void OpcodeBase< T >::log | ( | CSOUND * | csound, | |
| const char * | format, | |||
| ... | ||||
| ) | [inline] |
References CSOUND_::MessageV.
| void OpcodeBase< T >::warn | ( | CSOUND * | csound, | |
| const char * | format, | |||
| ... | ||||
| ) | [inline] |
References CSOUNDMSG_WARNING, CSOUND_::GetDebug, CSOUND_::GetMessageLevel, CSOUND_::MessageV, and WARNMSG.
| OPDS OpcodeBase< T >::h |
1.5.6