Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

nmldiag.cc File Reference

#include "nml.hh"
#include "nmldiag.hh"
#include "rcs_prnt.hh"
#include <time.h>

Include dependency graph for nmldiag.cc:

Include dependency graph

Go to the source code of this file.

Functions

int nml_print_diag_list ()

Variables

char access_name [9][40]


Function Documentation

int nml_print_diag_list void   
 

Definition at line 133 of file nmldiag.cc.

Referenced by NO_DBG_MEM(), and rcsinfo().

00134 {
00135   if (NULL != NML_Main_Channel_List)
00136     {
00137       NML *nml = (NML *) NML_Main_Channel_List->get_head ();
00138       while (NULL != nml)
00139         {
00140           if (NULL != nml->cms)
00141             {
00142               if (!nml->cms->enable_diagnostics)
00143                 {
00144                   nml = (NML *) NML_Main_Channel_List->get_next ();
00145                   continue;
00146                 }
00147               rcs_print ("\n*********************************************\n");
00148               if (NULL != nml->cms->BufferName)
00149                 {
00150                   rcs_print ("* Buffer Name: %s\n", nml->cms->BufferName);
00151                 }
00152               NML_DIAGNOSTICS_INFO *ndi = nml->get_diagnostics_info ();
00153               if (NULL != ndi)
00154                 {
00155                   ndi->print ();
00156                 }
00157               rcs_print ("*********************************************\n\n");
00158             }
00159           nml = (NML *) NML_Main_Channel_List->get_next ();
00160         }
00161     }
00162   return (0);
00163 }


Variable Documentation

char access_name[9][40] [static]
 

Initial value:

 {
  "ZERO",
  "READ",
  "CHECK_IF_READ",
  "PEEK",
  "WRITE",
  "WRITE_IF_READ",
  "CLEAR",
  "GET_MSG_COUNT",
  "GET_DIAG_INFO"
}

Definition at line 8 of file nmldiag.cc.


Generated on Sun Dec 2 15:57:19 2001 for rcslib by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001