sources:
fifo1.cpp (4.0k)
fifo1.h (1.2k)
fifo1_n.cpp (4.0k)
fifonet1_n.cpp (10.2k)
gen1.cpp (1.3k)
gen1.h (443 bytes)
gen1_n.cpp (4.1k)
sink1.cpp (1.4k)
sink1.h (503 bytes)
sink1_n.cpp (3.9k)


website:
more info here


screenshot:
studies/performance/Performance-Code4/gen1.h
download file

  1 //-------------------------------------------------------------
  2 // file: gen1.h
  3 // (part of Fifo1 - an OMNeT++ demo simulation)
  4 //-------------------------------------------------------------
  5
  6 #ifndef __GEN_H
  7 #define __GEN_H
  8
  9 #include <omnetpp.h>
 10
 11 class FF2Generator : public cSimpleModule {
 12     Module_Class_Members(FF2Generator,cSimpleModule,16384)
 13     virtual void activity();
 14     virtual void finish();
 15 };
 16
 17 #endif
 18
 19