messages.hh revision 13317
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright
9 * notice, this list of conditions and the following disclaimer in the
10 * documentation and/or other materials provided with the distribution;
11 * neither the name of the copyright holders nor the names of its
12 * contributors may be used to endorse or promote products derived from
13 * this software without specific prior written permission.
14 *
15 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
16 * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
17 * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
18 * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
19 * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
20 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
21 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
25 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * Authors: Gabe Black
28 */
29
30#ifndef __SYSTEMC_EXT_CORE_MESSAGES_HH__
31#define __SYSTEMC_EXT_CORE_MESSAGES_HH__
32
33namespace sc_core
34{
35
36extern const char SC_ID_NO_BOOL_RETURNED_[];
37extern const char SC_ID_NO_INT_RETURNED_[];
38extern const char SC_ID_NO_SC_LOGIC_RETURNED_[];
39extern const char SC_ID_OPERAND_NOT_SC_LOGIC_[];
40extern const char SC_ID_OPERAND_NOT_BOOL_[];
41extern const char SC_ID_INSTANCE_EXISTS_[];
42extern const char SC_ID_ILLEGAL_CHARACTERS_[];
43extern const char SC_ID_VC6_PROCESS_HELPER_[];
44extern const char SC_ID_VC6_MAX_PROCESSES_EXCEEDED_[];
45extern const char SC_ID_END_MODULE_NOT_CALLED_[];
46extern const char SC_ID_HIER_NAME_INCORRECT_[];
47extern const char SC_ID_SET_STACK_SIZE_[];
48extern const char SC_ID_SC_MODULE_NAME_USE_[];
49extern const char SC_ID_SC_MODULE_NAME_REQUIRED_[];
50extern const char SC_ID_SET_TIME_RESOLUTION_[];
51extern const char SC_ID_SET_DEFAULT_TIME_UNIT_[];
52extern const char SC_ID_DEFAULT_TIME_UNIT_CHANGED_[];
53extern const char SC_ID_INCONSISTENT_API_CONFIG_[];
54extern const char SC_ID_WAIT_NOT_ALLOWED_[];
55extern const char SC_ID_NEXT_TRIGGER_NOT_ALLOWED_[];
56extern const char SC_ID_IMMEDIATE_NOTIFICATION_[];
57extern const char SC_ID_HALT_NOT_ALLOWED_[];
58extern const char SC_ID_WATCHING_NOT_ALLOWED_[];
59extern const char SC_ID_DONT_INITIALIZE_[];
60extern const char SC_ID_WAIT_N_INVALID_[];
61extern const char SC_ID_MAKE_SENSITIVE_[];
62extern const char SC_ID_MAKE_SENSITIVE_POS_[];
63extern const char SC_ID_MAKE_SENSITIVE_NEG_[];
64extern const char SC_ID_INSERT_MODULE_[];
65extern const char SC_ID_REMOVE_MODULE_[];
66extern const char SC_ID_NOTIFY_DELAYED_[];
67extern const char SC_ID_GEN_UNIQUE_NAME_[];
68extern const char SC_ID_MODULE_NAME_STACK_EMPTY_[];
69extern const char SC_ID_NAME_EXISTS_[];
70extern const char SC_ID_IMMEDIATE_SELF_NOTIFICATION_[];
71extern const char SC_ID_WAIT_DURING_UNWINDING_[];
72extern const char SC_ID_CYCLE_MISSES_EVENTS_[];
73extern const char SC_ID_RETHROW_UNWINDING_[];
74extern const char SC_ID_PROCESS_ALREADY_UNWINDING_[];
75extern const char SC_ID_MODULE_METHOD_AFTER_START_[];
76extern const char SC_ID_MODULE_THREAD_AFTER_START_[];
77extern const char SC_ID_MODULE_CTHREAD_AFTER_START_[];
78extern const char SC_ID_SIMULATION_TIME_OVERFLOW_[];
79extern const char SC_ID_SIMULATION_STOP_CALLED_TWICE_[];
80extern const char SC_ID_SIMULATION_START_AFTER_STOP_[];
81extern const char SC_ID_STOP_MODE_AFTER_START_[];
82extern const char SC_ID_SIMULATION_START_AFTER_ERROR_[];
83extern const char SC_ID_SIMULATION_UNCAUGHT_EXCEPTION_[];
84extern const char SC_ID_PHASE_CALLBACKS_UNSUPPORTED_[];
85extern const char SC_ID_PHASE_CALLBACK_NOT_IMPLEMENTED_[];
86extern const char SC_ID_PHASE_CALLBACK_REGISTER_[];
87extern const char SC_ID_PHASE_CALLBACK_FORBIDDEN_[];
88extern const char SC_ID_SIMULATION_START_UNEXPECTED_[];
89extern const char SC_ID_THROW_IT_IGNORED_[];
90extern const char SC_ID_NOT_EXPECTING_DYNAMIC_EVENT_NOTIFY_[];
91extern const char SC_ID_DISABLE_WILL_ORPHAN_PROCESS_[];
92extern const char SC_ID_PROCESS_CONTROL_CORNER_CASE_[];
93extern const char SC_ID_METHOD_TERMINATION_EVENT_[];
94extern const char SC_ID_JOIN_ON_METHOD_HANDLE_[];
95extern const char SC_ID_NO_PROCESS_SEMANTICS_[];
96extern const char SC_ID_EVENT_ON_NULL_PROCESS_[];
97extern const char SC_ID_EVENT_LIST_FAILED_[];
98extern const char SC_ID_UNKNOWN_PROCESS_TYPE_[];
99extern const char SC_ID_TIME_CONVERSION_FAILED_[];
100extern const char SC_ID_NEGATIVE_SIMULATION_TIME_[];
101extern const char SC_ID_BAD_SC_MODULE_CONSTRUCTOR_[];
102extern const char SC_ID_EMPTY_PROCESS_HANDLE_[];
103extern const char SC_ID_NO_SC_START_ACTIVITY_[];
104extern const char SC_ID_KILL_PROCESS_WHILE_UNITIALIZED_[];
105extern const char SC_ID_RESET_PROCESS_WHILE_NOT_RUNNING_[];
106extern const char SC_ID_THROW_IT_WHILE_NOT_RUNNING_[];
107
108} // namespace sc_core
109
110#endif // __SYSTEMC_EXT_CORE_MESSAGES_HH__
111