NS-3 based Named Data Networking (NDN) simulator
ndnSIM 2.0: NDN, CCN, CCNx, content centric networks
API Documentation
ns3::Batches Class Reference

Class representing sets of (time, number) tuples with support of reading writing to streams. More...

#include <batches.hpp>

Inheritance diagram for ns3::Batches:
Collaboration diagram for ns3::Batches:

Public Member Functions

 Batches ()
 Default constructor. More...
 
void Add (const Time &when, uint32_t amount)
 Add tuple. More...
 

Detailed Description

Class representing sets of (time, number) tuples with support of reading writing to streams.

Definition at line 36 of file batches.hpp.

Constructor & Destructor Documentation

§ Batches()

ns3::Batches::Batches ( )
inline

Default constructor.

Definition at line 41 of file batches.hpp.

Member Function Documentation

§ Add()

void ns3::Batches::Add ( const Time &  when,
uint32_t  amount 
)
inline

Add tuple.

Parameters
whentime for the tuple
amountnumber for the tuple

Definition at line 49 of file batches.hpp.

Referenced by ns3::operator>>().


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