WarpTwin
Documentation for WarpTwin models and classes.
Loading...
Searching...
No Matches
clockwerkerrors.h
Go to the documentation of this file.
1/******************************************************************************
2* Copyright (c) ATTX LLC 2024. All Rights Reserved.
3*
4* This software and associated documentation (the "Software") are the
5* proprietary and confidential information of ATTX, LLC. The Software is
6* furnished under a license agreement between ATTX and the user organization
7* and may be used or copied only in accordance with the terms of the agreement.
8* Refer to 'license/attx_license.adoc' for standard license terms.
9*
10* EXPORT CONTROL NOTICE: THIS SOFTWARE MAY INCLUDE CONTENT CONTROLLED UNDER THE
11* INTERNATIONAL TRAFFIC IN ARMS REGULATIONS (ITAR) OR THE EXPORT ADMINISTRATION
12* REGULATIONS (EAR99). No part of the Software may be used, reproduced, or
13* transmitted in any form or by any means, for any purpose, without the express
14* written permission of ATTX, LLC.
15******************************************************************************/
16/*
17Header file to define warnings and errors for clockwerk module.
18Convention is as follows:
19NO_ERROR is zero
20ERRORS are numbers > 0
21WARNINGS are numbers < 0
22
23Author: Alex Reynolds
24*/
25
26#ifndef CLOCKWERKERRORS_H
27#define CLOCKWERKERRORS_H
28
32
34#define NO_ERROR 0
35
41#define ERROR_DIMENSIONS 1
42
45#define ERROR_POORLY_CONDITIONED 2
46#define TOLERANCE_CONDITIONING 1e-12
47
49#define ERROR_DIVIDE_BY_ZERO 3
50
53#define ERROR_INVALID_RANGE 4
54
57#define ERROR_NEGATIVE_SQRT 5
58
60#define ERROR_NULLPTR 6
61
63#define ERROR_SUBTRACTION_PARAMS 7
64
66#define ERROR_NAN 8
67
71
74#define ERROR_TREE_NAME_EXISTS 10
75
78#define ERROR_TREE_NODE_NOT_PRESENT 11
79
82#define WARN_NOT_LOGGABLE -12
83
85#define ERROR_CIRCULAR_REFERENCE 13
86
88#define ERROR_TREE_LOCKED 14
89
92#define WARN_NAME_LENGTH -15
93
97
100#define ERROR_MAX_MSG_SIZE 20
101
103#define ERROR_FILE_WRITE 21
104
106#define ERROR_FILE_READ 22
107
109#define WARN_LOG_LEVEL -22
110
114
116#define ERROR_WRITE_PERMISSION 31
117
121
123#define ERROR_LOGGER_LOCK 40
124
126#define ERROR_BUFFER_NOT_IMPLEMENTED 41
127
131
133#define ERROR_PARENT_NOT_FRAME 50
134
136#define ERROR_DIFFERENT_TREE 51
137
139#define ERROR_NO_ROOT_FRAME 52
140
142#define ERROR_FRAME_MOD_PERMISSION 53
143
146#define ERROR_FRAME_PARENT_TYPE 54
147
151
153#define ERROR_STEP_OVERRUN 60
154
156#define ERROR_INVALID_INTEGRATOR_TYPE 61
157
161
163#define ERROR_NOT_FOUND 70
164
166#define WARNING_NOT_CONVERGED -71
167
169#define WARNING_POORLY_MATCHED_RATES -72
170
172#define WARNING_NOT_OVERRIDDEN -73
173
175#define ERROR_NOT_OVERRIDDEN 74
176
180
182#define ERROR_CANNOT_CONVERT_STRING 80
183
185#define WARNING_NO_MATCH -81
186
188#define ERROR_NOT_SETUP 82
189
193
195#define ERROR_QUEUE_FULL 90
196
198#define ERROR_QUEUE_EMPTY 91
199
201#define WARNING_BUFFER_FULL -92
202
203#endif