Line | |
---|
1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
2 | /* |
---|
3 | * Copyright (C) 2004-2012 HUBzero Foundation, LLC |
---|
4 | * |
---|
5 | * Author: Leif Delgass <ldelgass@purdue.edu> |
---|
6 | */ |
---|
7 | |
---|
8 | #ifndef VTKVIS_RENDERERCMD_H |
---|
9 | #define VTKVIS_RENDERERCMD_H |
---|
10 | |
---|
11 | #include <cstdio> |
---|
12 | #include <tcl.h> |
---|
13 | |
---|
14 | #include "ReadBuffer.h" |
---|
15 | #ifdef USE_THREADS |
---|
16 | #include "ResponseQueue.h" |
---|
17 | #endif |
---|
18 | |
---|
19 | namespace VtkVis { |
---|
20 | |
---|
21 | #ifdef USE_THREADS |
---|
22 | extern void queueResponse(ClientData clientData, const void *bytes, size_t len, |
---|
23 | Response::AllocationType allocType, |
---|
24 | Response::ResponseType type = Response::DATA); |
---|
25 | #endif |
---|
26 | |
---|
27 | extern int processCommands(Tcl_Interp *interp, |
---|
28 | ClientData clientData, |
---|
29 | ReadBuffer *inBufPtr, |
---|
30 | int fdOut); |
---|
31 | |
---|
32 | extern int handleError(Tcl_Interp *interp, |
---|
33 | ClientData clientData, |
---|
34 | int status, |
---|
35 | int fdOut); |
---|
36 | |
---|
37 | extern void initTcl(Tcl_Interp *interp, |
---|
38 | ClientData clientData); |
---|
39 | |
---|
40 | extern void exitTcl(Tcl_Interp *interp); |
---|
41 | |
---|
42 | } |
---|
43 | |
---|
44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.