blob: 0e15ad5b439886a70ccdd0d8e46a29d712a5d7d5 [file] [log] [blame]
// basedebugtype.hh - Platform independent Base Debug (BD) bdtype definitions.
/*******************************************************************************
* Copyright (c) 2014 Zeligsoft (2009) Limited and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*******************************************************************************/
#ifndef BASEDEBUGTYPE_HH
#define BASEDEBUGTYPE_HH
// BD - base debug message types.
// These will be moved elsewhere in a future installment.
// --- USERS --- new BD_xxx macros can be added here.
// BD_xxx (BD type) values can go up to 63.
// BD type 0 is reserved for future use.
// WARNING - changing BD_xxx values requires changing BD_PREFIX_STRING below.
#define BD_BIND 1
#define BD_BINDDEBUG 2
#define BD_BINDFAIL 3
#define BD_COMMAND 4
#define BD_CONNECT 5
#define BD_CONTROLLER 6
#define BD_CONTROLLERMAP 7
#define BD_DESTROY 8
#define BD_ERROR 9
#define BD_HASHMAP 10
#define BD_IMPORT 11
#define BD_INJECT 12
#define BD_INSTANTIATE 13
#define BD_LOCK 14
#define BD_LOGMSG 15
// WARNING - changing BD_xxx values requires changing BD_PREFIX_STRING below.
#define BD_MODEL 16
#define BD_MSG 17
#define BD_MSGALLOC 18
#define BD_PARAMETER 19
#define BD_SAP 20
#define BD_SEND 21
#define BD_SERIALIZE 22
#define BD_SIGNAL 23
#define BD_SIGNALDATA 24
#define BD_SIGNALREF 25
#define BD_SIGNALINIT 26
#define BD_SIGNALALLOC 27
#define BD_SWERR 28
#define BD_TIMER 29
#define BD_TIMERALLOC 30
#define BD_MAXPLUS1 31
// WARNING - changing BD_xxx values requires changing BD_PREFIX_STRING below.
// WARNING - these have to align to BD_xxx values above.
#define BD_PREFIX_STRING { \
"?", \
"BIND", \
"BINDDEBUG", \
"BINDFAIL", \
"COMMAND", \
"CONNECT", \
"CONTROLLER", \
"CONTROLLERMAP", \
"DESTROY", \
"ERROR", \
"HASHMAP", \
"IMPORT", \
"INJECT", \
"INSTANTIATE", \
/* WARNING - these have to align to BD_xxx values above.*/ \
"LOCK", \
"LOGMSG", \
"MODEL", \
"MSG", \
"MSGALLOC", \
"PARAMETER", \
"SAP", \
"SEND", \
"SERIALIZE", \
"SIGNAL", \
"SIGNALDATA", \
"SIGNALREF", \
"SIGNALINIT", \
"SIGNALALLOC", \
"SWERR", \
"TIMER", \
"TIMERALLOC", \
}
// WARNING - these have to align to BD_xxx values above.
#endif // BASEDEBUGTYPE_HH