GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > MSG / V3-0-0

Constituent: test_msg_mt     Tag: rad750


Interface   Data Structures   File List   Data Fields   Globals  

MSG_testOptions.c File Reference

Various tests of option handling. More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBS/MBA.h"
#include "PBS/TASK.h"
#include "MSG/MSG_pubdefs.h"
#include "MSG/MSG_msgs.h"
#include "MSG_prvdefs.h"
#include "MSG_tstdefs.h"
#include "MTS_msgs.h"

Include dependency graph for MSG_testOptions.c:

Include dependency graph

Data Structures

struct  _MSG_OptCount
 Structure to hold a bunch of counters used in options testing. More...


Defines

#define MSG_N_TRACE   8
 Number of trace levels to try.


Typedefs

typedef _MSG_OptCount MSG_OptCount
 Typedef for struct _MSG_OptCount.


Functions

void testOptions_cb (MSG_OutputModes mode, void *prm, const MSG_Message *msg)
 Output processor to capture statistics on options.

void testOptions (void)
 Run the accumulation phase of the options test.

unsigned int MSG_testOptions ()
 Driver for the MSG options test suite.


Variables

const char * s_state = "control state"
 The string "control state".

const char * s_status = "status value"
 The string "status value".


Detailed Description

Various tests of option handling.

CVS $Id: MSG_testOptions.c,v 1.6 2004/12/12 06:45:40 apw Exp $
Author:
A.P.Waite

Function Documentation

static void testOptions void   )  [static]
 

Run the accumulation phase of the options test.

testOptions() runs the accumulation phase of the options test.

void testOptions_cb MSG_OutputModes  mode,
void *  prm,
const MSG_Message *  msg
[static]
 

Output processor to capture statistics on options.

Parameters:
mode (in) Output processor call (init, normal or exit)
prm (in) User parameter (for this output processor)
msg (in) Message structure
testOptions_cb() captures statistics on calls from different tasks running with different options.


Generated on Sun Jul 17 10:07:39 2005 by doxygen 1.3.3