rtxPrintStream.h File Reference
Functions that allow printing diagnostic message to a stream using a callback function. More...
#include <stdarg.h>
#include "rtxsrc/rtxContext.h"
Go to the source code of this file.
Classes | |
| struct | OSRTPrintStream |
| Structure to hold information about a global PrintStream. More... | |
Typedefs | |
| typedef void(*) | rtxPrintCallback (void *pPrntStrmInfo, const char *fmtspec, va_list arglist) |
| Callback function definition for print stream. | |
Functions | |
| int | rtxSetPrintStream (OSCTXT *pctxt, rtxPrintCallback myCallback, void *pStrmInfo) |
| This function is for setting the callback function for a PrintStream. | |
| int | rtxSetGlobalPrintStream (rtxPrintCallback myCallback, void *pStrmInfo) |
| This function is for setting the callback function for a PrintStream. | |
| int | rtxPrintToStream (OSCTXT *pctxt, const char *fmtspec,...) |
| Print-to-stream function which in turn calls the user registered callback function of the context for printing. | |
| int | rtxDiagToStream (OSCTXT *pctxt, const char *fmtspec, va_list arglist) |
| Diagnostics print-to-stream function. | |
| int | rtxPrintStreamRelease (OSCTXT *pctxt) |
| This function releases the memory held by PrintStream in the context. | |
Variables | |
| OSRTPrintStream | g_PrintStream |
| Global PrintStream. | |
Detailed Description
Functions that allow printing diagnostic message to a stream using a callback function.
Definition in file rtxPrintStream.h.
