Public Member Functions | Protected Member Functions | Protected Attributes

ns3::DataCalculator Class Reference

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

List of all members.

Public Member Functions

bool GetEnabled () const
void Enable ()
void Disable ()
void SetKey (const std::string key)
std::string GetKey () const
void SetContext (const std::string context)
std::string GetContext () const
virtual void Start (const Time &startTime)
virtual void Stop (const Time &stopTime)
virtual void Output (DataOutputCallback &callback) const =0

Protected Member Functions

virtual void DoDispose (void)

Protected Attributes

bool m_enabled
std::string m_key
std::string m_context

Member Function Documentation

virtual void ns3::DataCalculator::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.

It is safe to call GetObject from within this method.

Reimplemented from ns3::Object.

Reimplemented in ns3::CounterCalculator< T >, ns3::PacketCounterCalculator, ns3::TimeMinMaxAvgTotalCalculator, and ns3::CounterCalculator< uint32_t >.


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