source: trunk/packages/vizservers/geovis/RendererCmd.h @ 3998

Last change on this file since 3998 was 3998, checked in by ldelgass, 10 years ago

Add prelimilary skeleton for geovis map rendering server. Not functional, not
integrated into configure, etc.

File size: 1.1 KB
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2/*
3 * Copyright (C) 2004-2013  HUBzero Foundation, LLC
4 *
5 * Author: Leif Delgass <ldelgass@purdue.edu>
6 */
7
8#ifndef GEOVIS_RENDERERCMD_H
9#define GEOVIS_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
19namespace GeoVis {
20
21#ifdef USE_THREADS
22extern ssize_t queueResponse(const void *bytes, size_t len,
23                             Response::AllocationType allocType,
24                             Response::ResponseType type = Response::DATA);
25#endif
26
27extern int processCommands(Tcl_Interp *interp,
28                           ClientData clientData,
29                           ReadBuffer *inBufPtr,
30                           int fdOut);
31
32extern int handleError(Tcl_Interp *interp,
33                       ClientData clientData,
34                       int status,
35                       int fdOut);
36
37extern void initTcl(Tcl_Interp *interp,
38                    ClientData clientData);
39
40extern void exitTcl(Tcl_Interp *interp);
41
42}
43
44#endif
Note: See TracBrowser for help on using the repository browser.