ns3::PacketCounterCalculator Class Reference

#include <packet-data-calculators.h>

Inheritance diagram for ns3::PacketCounterCalculator:
Inheritance graph
[legend]
Collaboration diagram for ns3::PacketCounterCalculator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 PacketCounterCalculator ()
virtual ~PacketCounterCalculator ()
void PacketUpdate (std::string path, Ptr< const Packet > packet)
void FrameUpdate (std::string path, Ptr< const Packet > packet, Mac48Address realto)

Protected Member Functions

virtual void DoDispose (void)

Detailed Description

Definition at line 31 of file packet-data-calculators.h.


Constructor & Destructor Documentation

PacketCounterCalculator::PacketCounterCalculator (  ) 

Definition at line 35 of file packet-data-calculators.cc.

References NS_LOG_FUNCTION_NOARGS.

PacketCounterCalculator::~PacketCounterCalculator (  )  [virtual]

Definition at line 40 of file packet-data-calculators.cc.

References NS_LOG_FUNCTION_NOARGS.


Member Function Documentation

void PacketCounterCalculator::DoDispose ( void   )  [protected, virtual]

This method is called by Object::Dispose or by the object's destructor, whichever comes first.

Subclasses are expected to implement their real destruction code in an overriden version of this method and chain up to their parent's implementation once they are done. i.e., for simplicity, the destructor of every subclass should be empty and its content should be moved to the associated DoDispose method.

Reimplemented from ns3::CounterCalculator< uint32_t >.

Definition at line 45 of file packet-data-calculators.cc.

References NS_LOG_FUNCTION_NOARGS.

void PacketCounterCalculator::FrameUpdate ( std::string  path,
Ptr< const Packet packet,
Mac48Address  realto 
)
void PacketCounterCalculator::PacketUpdate ( std::string  path,
Ptr< const Packet packet 
)

The documentation for this class was generated from the following files:
Generated on Thu Dec 3 14:10:08 2009 for NS-3 by  doxygen 1.6.3