Main Page | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

hdr_msg Struct Reference

#include <message.h>

Collaboration diagram for hdr_msg:

Collaboration graph
[legend]
List of all members.

Public Member Functions

char * msg ()
int maxmsg ()

Static Public Member Functions

int & offset ()
hdr_msgaccess (const Packet *p)

Public Attributes

char msg_ [64]

Static Public Attributes

int offset_

Member Function Documentation

hdr_msg* hdr_msg::access const Packet p  )  [inline, static]
 

Definition at line 47 of file message.h.

References Packet::access(), and offset_.

Referenced by MessageAgent::command(), IvsReceiver::command(), MessageAgent::recv(), and IvsSource::recv().

00047                                                        {
00048                 return (hdr_msg*) p->access(offset_);
00049         }

Here is the call graph for this function:

int hdr_msg::maxmsg  )  [inline]
 

Definition at line 53 of file message.h.

References msg_.

Referenced by MessageAgent::command(), and IvsReceiver::command().

00053 { return (sizeof(msg_)); }

char* hdr_msg::msg  )  [inline]
 

Definition at line 52 of file message.h.

References msg_.

Referenced by MessageAgent::command(), IvsReceiver::command(), MessageAgent::recv(), and IvsSource::recv().

00052 { return (msg_); }

int& hdr_msg::offset  )  [inline, static]
 

Definition at line 46 of file message.h.

References offset_.

00046 { return offset_; }


Member Data Documentation

char hdr_msg::msg_[64]
 

Definition at line 43 of file message.h.

Referenced by maxmsg(), and msg().

int hdr_msg::offset_ [static]
 

Definition at line 44 of file common/message.cc.

Referenced by access(), MessageHeaderClass::MessageHeaderClass(), and offset().


The documentation for this struct was generated from the following files:
Generated on Tue Apr 20 12:50:39 2004 for NS2.26SourcesOriginal by doxygen 1.3.3