iceWing
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Macros | Functions | Variables
output.h File Reference
#include <time.h>
#include "region.h"
#include "grab.h"

Go to the source code of this file.

Macros

#define IW_GHYP_TITLE   "GestureHyp-Regions"
#define IW_OUTPUT_STATUS_DONE   "DONE"
#define IW_OUTPUT_STATUS_CANCEL   "CANCEL"

Functions

void iw_output_sync (const char *stream)
void iw_output_stream (const char *stream, const void *data)
void iw_output_image (const grabImageData *img, const char *stream)
int iw_output_regions (iwRegion *regions, int nregions, struct timeval time, int img_num, const char *typ, const char *stream)
void iw_output_hypos (iwRegion *regions, int nregions, struct timeval time, int img_num, const char *stream)
void iw_output_status (const char *msg)
char * iw_output_register_stream (const char *suffix, NDRfunction_t *fkt)
void iw_output_register_function_with_data (const char *suffix, DACSfunction_t *fkt, NDRfunction_t *ndr_in, NDRfunction_t *ndr_out, void(*out_kill_fkt)(void *), void *data)
void iw_output_register_function (const char *suffix, DACSfunction_t *fkt, NDRfunction_t *ndr_in, NDRfunction_t *ndr_out, void(*out_kill_fkt)(void *))
void iw_output_register (void)

Variables

DACSentry_t * iw_dacs_entry

Macro Definition Documentation

#define IW_GHYP_TITLE   "GestureHyp-Regions"

The typ used in iw_output_hypos()

#define IW_OUTPUT_STATUS_DONE   "DONE"

Status messages which should be send if something is completed or aborted

#define IW_OUTPUT_STATUS_CANCEL   "CANCEL"

Function Documentation

void iw_output_sync ( const char *  stream)

  Output a SYNC signal on stream 'stream'.

void iw_output_stream ( const char *  stream,
const void *  data 
)

  Output 'data' on stream 'stream'.

void iw_output_image ( const grabImageData img,
const char *  stream 
)

  Output img as Bild_t on stream 'stream' (!=NULL) or
  DACSNAME_images ('stream'==NULL).

int iw_output_regions ( iwRegion regions,
int  nregions,
struct timeval  time,
int  img_num,
const char *  typ,
const char *  stream 
)

  Output regions as RegionHyp_t on stream 'stream' WITHOUT SYNC
  (data is entered in the Hypothesenkopf) and return the number of
  regions given out.

void iw_output_hypos ( iwRegion regions,
int  nregions,
struct timeval  time,
int  img_num,
const char *  stream 
)

  Distribute regions as RegionHyp_t on stream 'stream' with time
  'time' and sequenz_nr 'img_num'.

void iw_output_status ( const char *  msg)

  Output status message msg on stream DACSNAME_status.

char* iw_output_register_stream ( const char *  suffix,
NDRfunction_t *  fkt 
)

  Register a DACS stream as DACSNAME'suffix' and return a pointer
  to this newly allocated name.

void iw_output_register_function_with_data ( const char *  suffix,
DACSfunction_t *  fkt,
NDRfunction_t *  ndr_in,
NDRfunction_t *  ndr_out,
void(*)(void *)  out_kill_fkt,
void *  data 
)

  Register a DACS function as DACSNAME'suffix'.

void iw_output_register_function ( const char *  suffix,
DACSfunction_t *  fkt,
NDRfunction_t *  ndr_in,
NDRfunction_t *  ndr_out,
void(*)(void *)  out_kill_fkt 
)
void iw_output_register ( void  )

  Register with DACS. The other output_register_...() functions call
  this by themselves.


Variable Documentation

DACSentry_t* iw_dacs_entry