Rev | Line | |
---|
[2100] | 1 | /* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */ |
---|
| 2 | /* |
---|
[3177] | 3 | * Copyright (C) 2004-2012 HUBzero Foundation, LLC |
---|
[2100] | 4 | * |
---|
| 5 | * Author: Leif Delgass <ldelgass@purdue.edu> |
---|
| 6 | */ |
---|
| 7 | |
---|
[3615] | 8 | #ifndef VTKVIS_RENDERERCMD_H |
---|
| 9 | #define VTKVIS_RENDERERCMD_H |
---|
[2100] | 10 | |
---|
| 11 | #include <cstdio> |
---|
| 12 | #include <tcl.h> |
---|
[3360] | 13 | |
---|
[2573] | 14 | #include "ReadBuffer.h" |
---|
[3451] | 15 | #ifdef USE_THREADS |
---|
| 16 | #include "ResponseQueue.h" |
---|
| 17 | #endif |
---|
[2100] | 18 | |
---|
| 19 | namespace VtkVis { |
---|
| 20 | |
---|
[3451] | 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 | |
---|
[3330] | 27 | extern int processCommands(Tcl_Interp *interp, |
---|
| 28 | ClientData clientData, |
---|
| 29 | ReadBuffer *inBufPtr, |
---|
[2573] | 30 | int fdOut); |
---|
[3330] | 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 | |
---|
[2278] | 40 | extern void exitTcl(Tcl_Interp *interp); |
---|
[2100] | 41 | |
---|
| 42 | } |
---|
| 43 | |
---|
| 44 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.