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

cmd_msg.hh File Reference

#include "rcs_defs.hh"
#include "nml.hh"
#include "nmlmsg.hh"

Include dependency graph for cmd_msg.hh:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

class  RCS_CMD_MSG
class  RCS_CMD_CHANNEL
class  RCS_GENERIC_CMD

Defines

#define RCS_GENERIC_CMD_TYPE   ((NMLTYPE) 1000000)

Enumerations

enum  RCS_GENERIC_CMD_ID { GENERIC_INIT, GENERIC_HALT }

Functions

int RCS_EXPORT RCS_CMD_MSG_format (NMLTYPE, void RCS_FAR *, CMS RCS_FAR *)


Define Documentation

#define RCS_GENERIC_CMD_TYPE   ((NMLTYPE) 1000000)
 

Definition at line 39 of file cmd_msg.hh.


Enumeration Type Documentation

enum RCS_GENERIC_CMD_ID
 

Enumeration values:
GENERIC_INIT 
GENERIC_HALT 

Definition at line 33 of file cmd_msg.hh.

00034 {
00035   GENERIC_INIT,
00036   GENERIC_HALT
00037 };


Function Documentation

int RCS_EXPORT RCS_CMD_MSG_format NMLTYPE    t,
void RCS_FAR *    buf,
CMS RCS_FAR *    cms
 

Definition at line 31 of file cmd_msg.cc.

00032 {
00033   cms->update (((RCS_CMD_MSG *) buf)->serial_number);
00034 
00035 //  printf(" RCS_CMD_MSG_format: called.\n");
00036   switch (t)
00037     {
00038     case RCS_GENERIC_CMD_TYPE:
00039       ((RCS_GENERIC_CMD *) buf)->update (cms);
00040       return (1);
00041 
00042     default:
00043       return (0);
00044     }
00045   return (0);
00046 }


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