IT++ Logo Newcom Logo

itpp::Constant_Rate_Packet_Generator Class Reference

Inheritance diagram for itpp::Constant_Rate_Packet_Generator:

itpp::Poisson_Packet_Generator itpp::Packet_Generator List of all members.

Public Member Functions

 Constant_Rate_Packet_Generator (const double Avg_bit_rate=1.0, const int Packet_size=150, const unsigned long int Max_packets=0)
virtual ~Constant_Rate_Packet_Generator ()
void set_parameters (const double Avg_bit_rate, const int Packet_size, const unsigned long int Max_packets)
void set_parameters (const int Packet_size, const unsigned long int Max_packets)
double get_avg_bit_rate ()
int get_packet_size ()
int get_max_packets ()

Public Attributes

Signal< Packet * > output
Slot< Packet_Generator, bool > start

Protected Member Functions

virtual Ttype delta_t ()

Protected Attributes

double avg_delta_t
double avg_bit_rate
Exponential_RNG ee

Detailed Description

Definition at line 87 of file packet_generator.h.


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

Generated on Wed Apr 18 11:23:43 2007 for IT++ by Doxygen 1.5.2