Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

PacketInfo Class Reference

PacketInfo: Stores a packet and where it came from. More...

#include <PacketInfo.h>

Inheritance diagram for PacketInfo::

BasicObject List of all members.

Public Methods

 PacketInfo (Node *fromNode, NpPacket *packet)
virtual ~PacketInfo ()
NodegetFromNode ()
NpPacketgetPacket ()
virtual void toStream (std::ostream &)

Private Attributes

NpPacketm_packet
Nodem_fromNode

Detailed Description

PacketInfo: Stores a packet and where it came from.

Definition at line 11 of file PacketInfo.h.


Constructor & Destructor Documentation

PacketInfo::PacketInfo Node * fromNode,
NpPacket * packet
 

Definition at line 4 of file PacketInfo.cpp.

virtual PacketInfo::~PacketInfo [inline, virtual]
 

Definition at line 14 of file PacketInfo.h.


Member Function Documentation

Node * PacketInfo::getFromNode
 

Definition at line 12 of file PacketInfo.cpp.

Referenced by PriorityPacketQueue::getNext().

NpPacket * PacketInfo::getPacket
 

Definition at line 19 of file PacketInfo.cpp.

Referenced by PriorityPacketQueue::getNext().

void PacketInfo::toStream std::ostream & out [virtual]
 

Reimplemented from BasicObject.

Definition at line 26 of file PacketInfo.cpp.


Member Data Documentation

Node* PacketInfo::m_fromNode [private]
 

Definition at line 24 of file PacketInfo.h.

NpPacket* PacketInfo::m_packet [private]
 

Definition at line 23 of file PacketInfo.h.


The documentation for this class was generated from the following files:
Generated at Thu Jul 11 13:31:58 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001