Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

MNRTCPPacket Class Reference

#include <MNRTCPPacket.h>

Inheritance diagram for MNRTCPPacket:

Inheritance graph
[legend]
Collaboration diagram for MNRTCPPacket:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MNRTCPPacket (unsigned int pt_)
virtual ~MNRTCPPacket ()
virtual bool isA (SH::Report::ID id) const
 type identification
void init (unsigned int pt_)
u_int8 getCount () const
void setCount (u_int8 cnt)
void setLength (unsigned int len)
unsigned int getLength () const
unsigned int getType () const
virtual void write_to_buffer (u_int8 *buffer, size_t len) const
virtual void dump (ostream &ostr) const

Static Public Attributes

SH::Report::ID Id
 type identification

Protected Member Functions

 MNRTCPPacket ()

Constructor & Destructor Documentation

MNRTCPPacket::MNRTCPPacket  )  [inline, protected]
 

The constructor is called by SH::ReportFactory only. The type_name is passed to the parent class, and the actual initialization is performed in the init function separately.

MNRTCPPacket::MNRTCPPacket unsigned int  pt_  ) 
 

virtual MNRTCPPacket::~MNRTCPPacket  )  [virtual]
 


Member Function Documentation

virtual void MNRTCPPacket::dump ostream &  ostr  )  const [virtual]
 

This function is called by the operator<< and must be overloaded by all child classes.

Reimplemented from SH::Report.

Reimplemented in MNRTCPPacket_SR, MNRTCPPacket_RR, MNRTCPPacket_APP, and MNRTCPPacket_SDES.

u_int8 MNRTCPPacket::getCount  )  const
 

unsigned int MNRTCPPacket::getLength  )  const [inline]
 

unsigned int MNRTCPPacket::getType  )  const [inline]
 

void MNRTCPPacket::init unsigned int  pt_  ) 
 

virtual bool MNRTCPPacket::isA SH::Report::ID  id  )  const [virtual]
 

type identification

Reimplemented in MNRTCPPacket_SR, MNRTCPPacket_RR, MNRTCPPacket_APP, and MNRTCPPacket_SDES.

void MNRTCPPacket::setCount u_int8  cnt  ) 
 

void MNRTCPPacket::setLength unsigned int  len  ) 
 

virtual void MNRTCPPacket::write_to_buffer u_int8 buffer,
size_t  len
const [virtual]
 

Reimplemented in MNRTCPPacket_SR, MNRTCPPacket_RR, MNRTCPPacket_APP, and MNRTCPPacket_SDES.


Member Data Documentation

SH::Report::ID MNRTCPPacket::Id [static]
 

type identification

Reimplemented from SH::Report.

Reimplemented in MNRTCPPacket_SR, MNRTCPPacket_RR, MNRTCPPacket_APP, and MNRTCPPacket_SDES.


The documentation for this class was generated from the following file:
Generated on Sun Mar 6 13:35:59 2005 for Komssys by doxygen 1.3.8