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

wm_msg.cc

Go to the documentation of this file.
00001 #include "nml.hh"
00002 #include "nmlmsg.hh"
00003 #include "cms.hh"
00004 
00005 #include "wm_msg.hh"
00006 
00007 RCS_WM_MSG::RCS_WM_MSG (NMLTYPE t, long sz):
00008 NMLmsg (t, sz)
00009 {
00010 // just avoiding an inline function.
00011 }
00012 
00013 int
00014 RCS_WM_MSG_format (NMLTYPE t, void RCS_FAR * buf, CMS RCS_FAR * cms)
00015 {
00016   switch (t)
00017     {
00018     case RCS_GENERIC_WM_TYPE:
00019       ((RCS_GENERIC_WM *) buf)->update (cms);
00020       return (1);
00021 
00022     default:
00023       return (0);
00024     }
00025   return (0);
00026 }
00027 
00028 RCS_GENERIC_WM::RCS_GENERIC_WM ():
00029 RCS_WM_MSG (RCS_GENERIC_WM_TYPE, sizeof (RCS_GENERIC_WM))
00030 {
00031 // Just avoiding an inline function.
00032 }
00033 
00034 void
00035 RCS_GENERIC_WM::update (CMS * cms)
00036 {
00037 // Just avoiding an inline function.
00038 }
00039 
00040 RCS_WM_CHANNEL::RCS_WM_CHANNEL (NML_FORMAT_PTR f_ptr, char *name,
00041                                 char *process, char *file, int set_to_server):
00042 NML (name, process, file, set_to_server)
00043 {
00044   format_chain = new RCS_LINKED_LIST;
00045   prefix_format_chain (f_ptr);
00046   prefix_format_chain (RCS_WM_MSG_format);
00047   register_with_server ();
00048 }
00049 
00050 RCS_WM_CHANNEL::~RCS_WM_CHANNEL ()
00051 {
00052   // Something funny happens to vxgdb without this being explicitly defined.
00053 }

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