1 #ifndef GENERATOR_H
2 #define GENERATOR_H
3
4 #include <omnetpp.h>
5
6 // a class sending messages through its out-gate
7 // in a poisson process, i.e, with exponentially
8 // distributed interarrival times
9 class Generator : public cSimpleModule {
10 public:
11 Module_Class_Members(Generator,cSimpleModule,16384)
12 virtual void activity();
13 virtual void finish();
14
15 private:
16 long messageCount;
17 };
18
19 #endif
20