A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::FlowClassifier Class Reference

#include <flow-classifier.h>

+ Inheritance diagram for ns3::FlowClassifier:
+ Collaboration diagram for ns3::FlowClassifier:

Public Member Functions

 FlowClassifier ()
virtual ~FlowClassifier ()
virtual void SerializeToXmlStream (std::ostream &os, int indent) const =0
- Public Member Functions inherited from ns3::SimpleRefCount< FlowClassifier >
 SimpleRefCount ()
 SimpleRefCount (const SimpleRefCount &o)
uint32_t GetReferenceCount (void) const
SimpleRefCountoperator= (const SimpleRefCount &o)
void Ref (void) const
void Unref (void) const

Protected Member Functions

FlowId GetNewFlowId ()

Private Member Functions

 FlowClassifier (FlowClassifier const &)
FlowClassifieroperator= (FlowClassifier const &)

Private Attributes

FlowId m_lastNewFlowId

Additional Inherited Members

- Static Public Member Functions inherited from ns3::SimpleRefCount< FlowClassifier >
static void Cleanup (void)

Detailed Description

provides a method to translate raw packet data into abstract flow identifier'' andpacket identifier'' parameters. These identifiers are unsigned 32-bit integers that uniquely identify a flow and a packet within that flow, respectively, for the whole simulation, regardless of the point in which the packet was captured. These abstract identifiers are used in the communication between FlowProbe and FlowMonitor, and all collected statistics reference only those abstract identifiers in order to keep the core architecture generic and not tied down to any particular flow capture method or classification system.

Definition at line 42 of file flow-classifier.h.

Constructor & Destructor Documentation

ns3::FlowClassifier::FlowClassifier ( FlowClassifier const &  )
private
ns3::FlowClassifier::FlowClassifier ( )

Definition at line 25 of file flow-classifier.cc.

ns3::FlowClassifier::~FlowClassifier ( )
virtual

Definition at line 31 of file flow-classifier.cc.

Member Function Documentation

FlowId ns3::FlowClassifier::GetNewFlowId ( )
protected

Definition at line 36 of file flow-classifier.cc.

References m_lastNewFlowId.

Referenced by ns3::Ipv4FlowClassifier::Classify().

+ Here is the caller graph for this function:

FlowClassifier& ns3::FlowClassifier::operator= ( FlowClassifier const &  )
private
virtual void ns3::FlowClassifier::SerializeToXmlStream ( std::ostream &  os,
int  indent 
) const
pure virtual

Implemented in ns3::Ipv4FlowClassifier.

Referenced by ns3::FlowMonitor::SerializeToXmlStream().

+ Here is the caller graph for this function:

Member Data Documentation

FlowId ns3::FlowClassifier::m_lastNewFlowId
private

Definition at line 45 of file flow-classifier.h.

Referenced by GetNewFlowId().


The documentation for this class was generated from the following files: