GLAST/LAT > DAQ and FSW > FSW > Doxygen Index > EMSG / V1-1-0
Constituent: emsg_st     Tag: sun-gcc
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "PBS/MBA.h"
#include "PBS/FPA.h"
#include "EMSG/EMSG_msgs.h"
#include "EMSG_prvdefs.h"
Include dependency graph for EMSG_output.c:
Functions | |
unsigned int | EMSG_attachOutputRtn (EMSG_OutputRtn **handle, EMSG_CbOutputRtn *rtn, void *prm) |
Attach a message output callback routine. | |
unsigned int | EMSG_detachOutputRtn (EMSG_OutputRtn *handle) |
Detach a message callback routine. | |
unsigned int | EMSG_outputScan (void *prm, void *hdr) |
Call back the message output processing routines. |
This file contains all the routines needed to attach, detach and scan output processors for the message system.
|
Attach a message output callback routine. This routine attaches a message output processing routine. Each routine attached is called once when the message system is starting, once per call to EMSG_report(), and once when the message system is stopping. In the single-threaded version of MSG, the attached routines are called directly by the EMSG_report() routine. In the multi-threaded version of MSG the routines are called by the message processing task. Output processing routines may only be attached/detached when the message system is in state EMSG_S_INITIALIZED. This is true:
|
|
Detach a message callback routine. This routine detaches an message output processing routine. Output processing routines may only be attached/detached when the message system is in state EMSG_S_INITIALIZED. This is true:
|
|
Call back the message output processing routines. This routine scans through attached output processors.
|