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

TaggedMsg Class Reference

#include <BroadcastMgr.h>

List of all members.

Public Member Functions

 TaggedMsg ()
 TaggedMsg (int t)
 TaggedMsg (int t, int s, int c, void *m)
 ~TaggedMsg ()
int hash () const
int operator== (const TaggedMsg &tm) const

Public Attributes

int tag
int counter
int msgSize
char msg [BCASTMSGSIZE]


Constructor & Destructor Documentation

TaggedMsg::TaggedMsg  )  [inline]
 

Definition at line 58 of file BroadcastMgr.h.

00058 {}

TaggedMsg::TaggedMsg int  t  )  [inline]
 

Definition at line 59 of file BroadcastMgr.h.

00059 : tag(t) {}

TaggedMsg::TaggedMsg int  t,
int  s,
int  c,
void *  m
[inline]
 

Definition at line 60 of file BroadcastMgr.h.

00061     : tag(t), counter(c), msgSize(s) { memcpy((void*)msg,m,s); }

TaggedMsg::~TaggedMsg  )  [inline]
 

Definition at line 62 of file BroadcastMgr.h.

00062 {}


Member Function Documentation

int TaggedMsg::hash  )  const [inline]
 

Definition at line 69 of file BroadcastMgr.h.

00069 { return tag; }

int TaggedMsg::operator== const TaggedMsg tm  )  const [inline]
 

Definition at line 70 of file BroadcastMgr.h.

References tag.

00070 { return(tag == tm.tag); }


Member Data Documentation

int TaggedMsg::counter
 

Definition at line 65 of file BroadcastMgr.h.

Referenced by BroadcastMgr::getbuf().

char TaggedMsg::msg[BCASTMSGSIZE]
 

Definition at line 67 of file BroadcastMgr.h.

Referenced by BroadcastMgr::getbuf().

int TaggedMsg::msgSize
 

Definition at line 66 of file BroadcastMgr.h.

Referenced by BroadcastMgr::getbuf().

int TaggedMsg::tag
 

Definition at line 64 of file BroadcastMgr.h.

Referenced by operator==().


The documentation for this class was generated from the following file:
Generated on Mon Nov 23 05:00:11 2009 for NAMD by  doxygen 1.3.9.1