/Users/craigcornelius/Projects/SPRING Mac Release 0.2/space.h File Reference

#include <netinet/in.h>
#include "socket.h"

Include dependency graph for space.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

union  uf_t
union  us_t
class  space

Defines

#define TYPE_QUIT   ((space_type) 0x80)
#define TYPE_VOID   ((space_type) 0x81)
#define TYPE_TRIANGLE   ((space_type) 0x82)
#define TYPE_INTERPOL   ((space_type) 0x83)
#define SEND_QUIT   ((space_type) 0x00)
#define SEND_COORD   ((space_type) 0x01)

Typedefs

typedef char space_type

Functions

long copy_float_to_buf (char *buf, double val)
void copy_ushort_to_buf (char *buf, unsigned short val)
long receive_float_from_buf (char *buf, double *val)
long hashdouble (double val)
void receive_ushort_from_buf (char *buf, unsigned short *val)
float receive_long_from_buf (char *buf, long *val)


Define Documentation

#define SEND_COORD   ((space_type) 0x01)

Definition at line 33 of file space.h.

#define SEND_QUIT   ((space_type) 0x00)

Definition at line 32 of file space.h.

#define TYPE_INTERPOL   ((space_type) 0x83)

Definition at line 30 of file space.h.

#define TYPE_QUIT   ((space_type) 0x80)

Definition at line 27 of file space.h.

#define TYPE_TRIANGLE   ((space_type) 0x82)

Definition at line 29 of file space.h.

#define TYPE_VOID   ((space_type) 0x81)

Definition at line 28 of file space.h.


Typedef Documentation

typedef char space_type

Definition at line 25 of file space.h.


Function Documentation

long copy_float_to_buf ( char *  buf,
double  val 
) [inline]

Definition at line 35 of file space.h.

void copy_ushort_to_buf ( char *  buf,
unsigned short  val 
) [inline]

Definition at line 47 of file space.h.

long hashdouble ( double  val  )  [inline]

Definition at line 69 of file space.h.

long receive_float_from_buf ( char *  buf,
double *  val 
) [inline]

Definition at line 57 of file space.h.

float receive_long_from_buf ( char *  buf,
long *  val 
) [inline]

Definition at line 87 of file space.h.

void receive_ushort_from_buf ( char *  buf,
unsigned short *  val 
) [inline]

Definition at line 77 of file space.h.


Generated on Thu Aug 30 11:04:07 2007 for SPRING Mac by  doxygen 1.5.3