Public Member Functions | Protected Member Functions | Protected Attributes

ns3::CounterCalculator< T > Class Template Reference

Inheritance diagram for ns3::CounterCalculator< T >:
Inheritance graph
[legend]
Collaboration diagram for ns3::CounterCalculator< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void Update ()
void Update (const T i)
GetCount () const
virtual void Output (DataOutputCallback &callback) const

Protected Member Functions

virtual void DoDispose (void)

Protected Attributes

m_count

template<typename T = uint32_t>
class ns3::CounterCalculator< T >


Member Function Documentation

template<typename T >
void ns3::CounterCalculator< T >::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::DataCalculator.

Reimplemented in ns3::PacketCounterCalculator.


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