Optional handlers for user defined M-codes. More...
#include <core_handlers.h>
Data Fields | |
user_mcode_check_ptr | check |
Handler for checking if a user defined M-code is supported. More... | |
user_mcode_validate_ptr | validate |
Handler for validating parameters for a user defined M-code. More... | |
user_mcode_execute_ptr | execute |
Handler for executing a user defined M-code. More... | |
Optional handlers for user defined M-codes.
Handlers may be chained so that several plugins can add M-codes. Chaining is achieved by saving a copy of the current user_mcode_ptrs_t struct when the plugin is initialized and calling the same handler via the copy when a M-code is not recognized.
user_mcode_check_ptr check |
Handler for checking if a user defined M-code is supported.
user_mcode_execute_ptr execute |
Handler for executing a user defined M-code.
user_mcode_validate_ptr validate |
Handler for validating parameters for a user defined M-code.