GLAST / LAT > DAQ and FSW > FSW > Doxygen Index> MSG / dev > test_msg_mt / rhel5-64
#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/MTS_msgs.h>
#include <MSG_prvdefs.h>
#include <MSG_tstdefs.h>
Classes | |
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 struct _MSG_OptCount | MSG_OptCount |
Typedef for struct _MSG_OptCount. | |
Functions | |
static void | testOptions_cb (MSG_OutputModes mode, void *prm, const MSG_Message *msg) |
Output processor to capture statistics on options. | |
static void | testOptions (void) |
Run the accumulation phase of the options test. | |
unsigned int | MSG_testOptions () |
Driver for the MSG options test suite. | |
Variables | |
static const char * | s_state = "control state" |
The string "control state". | |
static const char * | s_status = "status value" |
The string "status value". |
CVS $Id: MSG_testOptions.c,v 1.9 2011/03/25 01:05:53 apw Exp $
static void testOptions | ( | void | ) | [static] |
Run the accumulation phase of the options test.
testOptions() runs the accumulation phase of the options test.
Referenced by MSG_testOptions().
static void testOptions_cb | ( | MSG_OutputModes | mode, | |
void * | prm, | |||
const MSG_Message * | msg | |||
) | [static] |
Output processor to capture statistics on options.
mode | (in) Output processor call (init, normal or exit) | |
prm | (in) User parameter (for this output processor) | |
msg | (in) Message structure |
References _MSG_OptCount::cnt, _MSG_OptCount::err, and MSG_N_TRACE.
Referenced by MSG_testOptions().