Last change
on this file since 4604 was
3615,
checked in by ldelgass, 12 years ago
|
Remove enclosing Rappture namespace from vtkvis. Remove outline and outline
color subcommands from dataset in vtkvis protocol -- they are replaced by the
outline object. Translate heightmap to dataset z plane (client is doing this
right now).
|
-
Property svn:eol-style set to
native
|
File size:
1.1 KB
|
Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (C) 2004-2012 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | * Author: George A. Howlett <gah@purdue.edu> |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef VTKVIS_TRACE_H |
---|
9 | #define VTKVIS_TRACE_H |
---|
10 | |
---|
11 | #include <syslog.h> |
---|
12 | |
---|
13 | namespace VtkVis { |
---|
14 | |
---|
15 | extern void logUserMessage(const char* format, ...); |
---|
16 | |
---|
17 | extern const char *getUserMessages(); |
---|
18 | |
---|
19 | extern void clearUserMessages(); |
---|
20 | |
---|
21 | extern void initLog(); |
---|
22 | |
---|
23 | extern void closeLog(); |
---|
24 | |
---|
25 | extern void logMessage(int priority, const char *funcname, const char *fileName, |
---|
26 | int lineNum, const char* format, ...); |
---|
27 | |
---|
28 | #define ERROR(...) VtkVis::logMessage(LOG_ERR, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__) |
---|
29 | #ifdef WANT_TRACE |
---|
30 | #define TRACE(...) VtkVis::logMessage(LOG_DEBUG, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__) |
---|
31 | #else |
---|
32 | #define TRACE(...) |
---|
33 | #endif /*WANT_TRACE*/ |
---|
34 | #define WARN(...) VtkVis::logMessage(LOG_WARNING, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__) |
---|
35 | #define INFO(...) VtkVis::logMessage(LOG_INFO, __FUNCTION__, __FILE__, __LINE__, __VA_ARGS__) |
---|
36 | |
---|
37 | #define USER_ERROR(...) VtkVis::logUserMessage(__VA_ARGS__) |
---|
38 | |
---|
39 | } |
---|
40 | |
---|
41 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.