GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > LSEP / V1-3-4
Constituent: lsepw     Tag: rad750
Typedefs | |
typedef struct _LSEPW_dgmFwServices | LSEPW_dgmFwServices |
typedef struct _LSEPW | LSEPW |
typedef struct _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. |
CVS $Id: LSEPW_evt0.h,v 1.5 2007/10/16 21:52:12 russell Exp $
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.
0,success | ||
-1,Specified | level is not supported | |
-2,Compression | construction failed |
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.
0,success | ||
-1,failure |
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.
level | The maximum format level to support | |
cfg | Level specific configuration parameter |