13 |
#include "../../common/global.h" |
#include "../../common/global.h" |
14 |
#include "../../scriptvm/ScriptVM.h" |
#include "../../scriptvm/ScriptVM.h" |
15 |
#include "Event.h" |
#include "Event.h" |
16 |
|
#include "InstrumentScriptVMFunctions.h" |
17 |
|
|
18 |
namespace LinuxSampler { |
namespace LinuxSampler { |
19 |
|
|
31 |
public: |
public: |
32 |
InstrumentScriptVM(); |
InstrumentScriptVM(); |
33 |
VMExecStatus_t exec(VMParserContext* parserCtx, ScriptEvent* event); |
VMExecStatus_t exec(VMParserContext* parserCtx, ScriptEvent* event); |
34 |
|
VMFunction* functionByName(const String& name) OVERRIDE; |
35 |
std::map<String,VMIntRelPtr*> builtInIntVariables() OVERRIDE; |
std::map<String,VMIntRelPtr*> builtInIntVariables() OVERRIDE; |
36 |
std::map<String,VMInt8Array*> builtInIntArrayVariables() OVERRIDE; |
std::map<String,VMInt8Array*> builtInIntArrayVariables() OVERRIDE; |
37 |
std::map<String,int> builtInConstIntVariables() OVERRIDE; |
std::map<String,int> builtInConstIntVariables() OVERRIDE; |
48 |
//VMIntArray m_KEY_DOWN; //TODO: ... |
//VMIntArray m_KEY_DOWN; //TODO: ... |
49 |
//VMIntArray m_POLY_AT; //TODO: ... |
//VMIntArray m_POLY_AT; //TODO: ... |
50 |
//int m_POLY_AT_NUM; //TODO: ... |
//int m_POLY_AT_NUM; //TODO: ... |
51 |
|
|
52 |
|
// buil-in script functions |
53 |
|
InstrumentScriptVMFunction_play_note m_fnPlayNote; |
54 |
|
|
55 |
|
friend class InstrumentScriptVMFunction_play_note; |
56 |
}; |
}; |
57 |
|
|
58 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |