Mailing list archive (omnetpp-l at omnetpp.org)
[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[omnetpp] Customized channels definition and use
Hi all
Let's suppose I want to create a customized channel such that it
performs some non standard tasks.
I checked on INET and I found a customized channel,
ThruputMeteringChannel, derived from the cBasicChannel class as it is
supposed to be (I think...)
Problem with that is the way the channel is indeed put to use. A
top-level simple module, ChannelInstaller, is created and its duty is to
run over the whole list of channels in the system and (eventually,
because some filtering could be applied) substitute the standard channel
definition with
ThruputMeteringChannel.
Provided that it works, and of course it does, and that I want to
substitute just a very small fraction of the channels, isn't there an
easier way to accomplish this? Any ways to specify the customized
channel in the ned file(s) as it is supposed to be?
Thanks a lot,
Regards,
Michele
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php
Home |
Main Index |
Thread Index