[Ns-developers] contrib code details

Gustavo Carneiro gjcarneiro at gmail.com
Wed Dec 5 03:22:44 PST 2007


  Hi,

  I wanted to implement the contrib code, move EventGarbageCollector class
into it, but I quickly realized some operational details are missing.

  First of all, and taking EventGarbageCollector as example, it is composed
of 1) a header  file "event-garbage-collector.h", and 2) a C++ source  file
"event-garbage-collector.cc".  It is clear where to put the header file, but
what happens to the associated C++ source file?  Second, is the header file
only going to be installed to ns3/contrib and originate from any module, or
will it live in the src/contrib directory all along?

  My proposal is to create a 'contrib' ns-3 real module, with the sole
difference that it installs header files to ns3/contrib instead of ns3.  Is
this what was intedend all along?

  Thanks,

-- 
Gustavo J. A. M. Carneiro
INESC Porto, Telecommunications and Multimedia Unit
"The universe is always one step beyond logic." -- Frank Herbert


More information about the Ns-developers mailing list