Main Page | Modules | Namespace List | Class Hierarchy | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

attnmgr_traces.h

Go to the documentation of this file.
00001 /********************************************************************
00002 
00003 Copyright 2006, ACCESS Systems Americas, Inc. All rights reserved.
00004 
00005 The contents of this file are subject to the Mozilla Public License Version
00006 1.1 (the "License"); you may not use this file except in compliance with
00007 the License. You may obtain a copy of the License at
00008 http://www.mozilla.org/MPL/
00009 
00010 Software distributed under the License is distributed on an "AS IS" basis,
00011 WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
00012 for the specific language governing rights and limitations under the
00013 License.
00014 
00015 The Original Code is the entire contents of this file.
00016 
00017 The Initial Developer of the Original Code is ACCESS Systems Americas, Inc.
00018 
00019 Portions created by ACCESS Systems Americas, Inc. are Copyright © 2006. All
00020 Rights Reserved.
00021 
00022 Contributor(s): none.
00023 
00024 ********************************************************************/
00032 #ifndef __ALP_ATTN_TRACE_H__
00033 #define __ALP_ATTN_TRACE_H__
00034 
00035 #include <hiker/types.h>
00036 #include <hiker/traces.h>
00037 #include <hiker/sysclass.h>
00038 
00047 /* @{ */
00048 
00049 /* trace facilities */
00050 #define ALP_ATTN_TRACE_GEN      ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x000000)
00051 #define ALP_ATTN_TRACE_TEST     ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x010000)
00052 #define ALP_ATTN_TRACE_API      ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x020000)
00053 #define ALP_ATTN_TRACE_DML      ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x030000)
00054 #define ALP_ATTN_TRACE_IPC      ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x040000)
00055 #define ALP_ATTN_TRACE_IPC_SRV  ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x050000)
00056 #define ALP_ATTN_TRACE_ALERT    ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x060000)
00057 #define ALP_ATTN_TRACE_LAUNCH   ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x070000)
00058 #define ALP_ATTN_TRACE_APPS     ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x080000)
00059 #define ALP_ATTN_TRACE_STATUS   ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x090000)
00060 #define ALP_ATTN_TRACE_DAEMON   ALP_TRACE_DEFINE(ALP_CLASS_ATTN, 0x0A0000)
00061 
00062 
00063 /* Attention Manager specific trace macros */
00064 #define ALP_ATLX(GROUP, str, ...) ALP_TM(TL(ALP_ATTN_TRACE_##GROUP,"%s(): " str, __PRETTY_FUNCTION__, ## __VA_ARGS__))
00065 #define ALP_ATX(GROUP, str, ...)  ALP_TM(T(ALP_ATTN_TRACE_##GROUP, "%s(): " str, __PRETTY_FUNCTION__, ## __VA_ARGS__))
00066 #define ALP_ABX(GROUP, str, ...)  ALP_TM(B(ALP_ATTN_TRACE_##GROUP, str, ## __VA_ARGS__))
00067 
00068 #define ALP_ATL(str, ...) ALP_TM(TL(ALP_ATTN_TRACE_GEN, "%s(): " str, __PRETTY_FUNCTION__, ## __VA_ARGS__))
00069 #define ALP_AT(str, ...)  ALP_TM(T(ALP_ATTN_TRACE_GEN, "%s(): " str, __PRETTY_FUNCTION__, ## __VA_ARGS__))
00070 #define ALP_AB(str, ...)  ALP_TM(B(ALP_ATTN_TRACE_GEN, str, ## __VA_ARGS__))
00071 
00072 /* @} */
00073 
00074 #endif /* __ALP_ATTN_IPC_H__ */

Generated on Sat Dec 16 20:29:47 2006 for hiker-0.9 by  doxygen 1.4.4