20 |
|
|
21 |
class ParserContext; |
class ParserContext; |
22 |
class ExecContext; |
class ExecContext; |
|
class CoreVMFunction_message; |
|
|
class CoreVMFunction_exit; |
|
|
class CoreVMFunction_wait; |
|
|
class CoreVMFunction_abs; |
|
|
class CoreVMFunction_random; |
|
|
class CoreVMFunction_num_elements; |
|
23 |
|
|
24 |
/** @brief Core virtual machine for real-time instrument scripts. |
/** @brief Core virtual machine for real-time instrument scripts. |
25 |
* |
* |
210 |
*/ |
*/ |
211 |
std::map<String,int> builtInConstIntVariables() OVERRIDE; |
std::map<String,int> builtInConstIntVariables() OVERRIDE; |
212 |
|
|
213 |
|
/** |
214 |
|
* Returns all built-in dynamic variables. This method returns a STL |
215 |
|
* map, where the map's key is the dynamic variable's name and the |
216 |
|
* map's value is the pointer to the actual object implementing the |
217 |
|
* behavior which is actually generating the content of the dynamic |
218 |
|
* variable. |
219 |
|
* |
220 |
|
* This method is re-implemented by deriving classes to add more use |
221 |
|
* case specific built-in dynamic variables. |
222 |
|
*/ |
223 |
|
std::map<String,VMDynVar*> builtInDynamicVariables() OVERRIDE; |
224 |
|
|
225 |
VMEventHandler* currentVMEventHandler(); //TODO: should be protected (only usable during exec() calls, intended only for VMFunctions) |
VMEventHandler* currentVMEventHandler(); //TODO: should be protected (only usable during exec() calls, intended only for VMFunctions) |
226 |
VMParserContext* currentVMParserContext(); //TODO: should be protected (only usable during exec() calls, intended only for VMFunctions) |
VMParserContext* currentVMParserContext(); //TODO: should be protected (only usable during exec() calls, intended only for VMFunctions) |
227 |
VMExecContext* currentVMExecContext(); //TODO: should be protected (only usable during exec() calls, intended only for VMFunctions) |
VMExecContext* currentVMExecContext(); //TODO: should be protected (only usable during exec() calls, intended only for VMFunctions) |
229 |
protected: |
protected: |
230 |
VMEventHandler* m_eventHandler; |
VMEventHandler* m_eventHandler; |
231 |
ParserContext* m_parserContext; |
ParserContext* m_parserContext; |
232 |
CoreVMFunction_message* m_fnMessage; |
class CoreVMFunction_message* m_fnMessage; |
233 |
CoreVMFunction_exit* m_fnExit; |
class CoreVMFunction_exit* m_fnExit; |
234 |
CoreVMFunction_wait* m_fnWait; |
class CoreVMFunction_wait* m_fnWait; |
235 |
CoreVMFunction_abs* m_fnAbs; |
class CoreVMFunction_abs* m_fnAbs; |
236 |
CoreVMFunction_random* m_fnRandom; |
class CoreVMFunction_random* m_fnRandom; |
237 |
CoreVMFunction_num_elements* m_fnNumElements; |
class CoreVMFunction_num_elements* m_fnNumElements; |
238 |
|
class CoreVMDynVar_NKSP_REAL_TIMER* m_varRealTimer; |
239 |
|
class CoreVMDynVar_NKSP_PERF_TIMER* m_varPerfTimer; |
240 |
}; |
}; |
241 |
|
|
242 |
} // namespace LinuxSampler |
} // namespace LinuxSampler |