TG Motion
version 421 - 4033/904 cnc 121
Real-time system for controlling servo drives and I/O modules
|
Structure for transmitting information for the function ToolChainCore_GetLastError and for the callback functions AddOutputLogFunc, SetStatusBarTextFunc, MathWarningFunc. More...
#include <TGM_CNC.h>
Public Attributes | |
int32_t | stringId |
int32_t | nLines |
int32_t | actLine |
int32_t | fileIdx |
TGM_LPCSTR | m_fullError |
TGM_LPCSTR | m_errorArguments |
Structure for transmitting information for the function ToolChainCore_GetLastError and for the callback functions AddOutputLogFunc, SetStatusBarTextFunc, MathWarningFunc.
int32_t CALLBACK_INFO::stringId |
Text no. from textual .INI file, and also error no., can be -1, then only CALLBACK_INFO::nLines and CALLBACK_INFO::actLine items are valid
int32_t CALLBACK_INFO::nLines |
int32_t CALLBACK_INFO::actLine |
int32_t CALLBACK_INFO::fileIdx |
Number of file with an error or which is being compiled. File name will be identified using function ToolChainCore_IdxToFile. Can be -1, then only CALLBACK_INFO::nLines and CALLBACK_INFO::actLine fields are valid
TGM_LPCSTR CALLBACK_INFO::m_fullError |
Only for ToolChainCore_GetLastError - pointer to the complete error text (ANSI string). String may be empty. The content needs to be copied to the local variable right after the calling ToolChainCore_GetLastError.
TGM_LPCSTR CALLBACK_INFO::m_errorArguments |
Only for ToolChainCore_GetLastError - pointer to ANSI string, which contains possible arguments of an error string, or an empty string. Individual arguments are separated by LF (0x10). The content needs to be copied to the local variable right after the calling ToolChainCore_GetLastError.