GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSEP / V1-3-1

Constituent: lsepw     Tag: mv2304


Interface   Data Structures   File List   Data Fields   Globals  

LSEPW_evt0.h File Reference

Adds (writes) events to the event datagram in primary format 0. More...

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


Typedefs

typedef _LSEPW_dgmFwServices LSEPW_dgmFwServices
typedef _LSEPW LSEPW
typedef _LSEW_dgmFw LSEW_dgmFw

Functions

int LSEPW_evt0_sizeof (unsigned int max_level, void *cfg)
 Returns the size, in bytes, of the control structure needed to supprot the specified format level.
int LSEPW_evt0_construct (void *ctxs[16], unsigned int max_level, void *mem, const void *cfg, LSEW_dgmFw *dgmFw, const LSEPW_dgmFwServices *defaults, LSEPW *lsepw)
 Translates the event format level to a set of datagram services and initializes the context parameter.
int LSEPW_evt0_level_set (void *ctxs[16], unsigned int level, LSEW_dgmFw *dgmFw, const LSEPW_dgmFwServices *defaults, LSEPW *lsepw)
 Sets the output compression level.

Detailed Description

Adds (writes) events to the event datagram in primary format 0.

Author:
JJRussell - russell@slac.stanford.edu
   CVS $Id: LSEPW_evt0.h,v 1.5 2007/10/16 21:52:12 russell Exp $

Function Documentation

int LSEPW_evt0_construct void *  ctxs[16],
unsigned int  max_level,
void *  mem,
const void *  cfg,
LSEW_dgmFw *  dgmFw,
const LSEPW_dgmFwServices defaults,
LSEPW lsepw
 

Translates the event format level to a set of datagram services and initializes the context parameter.

Return values:
0,success 
-1,Specified level is not supported
-2,Compression construction failed
Parameters:
ctxs The array of contexts to be initialized
max_level The format level, also the initial level selected
mem The memory to carve the contexts from
cfg Additional configuration information
dgmFw The datagram framework handle
defaults The set of default LSEPW datagram services
lsepw The context parameter for the LSEPW datagram services

int LSEPW_evt0_level_set void *  ctxs[16],
unsigned int  level,
LSEW_dgmFw *  dgmFw,
const LSEPW_dgmFwServices defaults,
LSEPW lsepw
 

Sets the output compression level.

Return values:
0,success 
-1,failure 
Parameters:
ctxs The array of previously initialized user contexts
level The format level
dgmFw The datagram framework handle
defaults The set of default LSEPW datagram services
lsepw The context parameter for the LSEPW datagram services

int LSEPW_evt0_sizeof unsigned int  level,
void *  cfg
 

Returns the size, in bytes, of the control structure needed to supprot the specified format level.

Returns:
The size, in bytes, of the compression structure
Parameters:
level The maximum format level to support
cfg Level specific configuration parameter


Generated on Fri Oct 19 01:37:19 2007 by  doxygen 1.4.4