I tried searching the list for answers but could not find one so I am
posting this basic question about the "Unused entry (does not match
any parameter)" warning I see in my omnetpp.ini file.
I am using the INETMANET framework. I took the TCPBasicAppClient.ned
(and its C++ header/impl files), and made my own class. So I now have
something like this:
simple MyTCPBasicClient like TCPApp {
// everything here including parameters, etc, is the same as
TCPBasicAppClient.ned from INETMANET.
}
I also added the @class to the parameters in the above simple module.
Now, in my example I have a WirelessHost and I want to set its
tcpAppType to be "MyTCPBasicClient" instead of "TCPBasicClientApp". In
the IDE, when I type something like this:
**.host*.tcpAppType =
and I press Control-Space to see what all choices are available, I see
the definition of the module I defined (in addition to the already
supported choices). So I select the "MyTCPBasicClient".
But now I get the Unused entry warning (yellow markers) for all the
parameters like port, connectAddress, etc.
Even then I tried to run my example and it runs properly. When I
inspect the host object, I see that it has all the parameters and the
values are set to what I specified in the omnetpp.ini file.
But then the question is why are those warning showing up and why are
those parameters not being matched? I am using the 4.0 version and
not the latest beta.
thanks
Aniruddha
thanks
Aniruddha
--
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To post to this group, send email to omn...@googlegroups.com.
To unsubscribe from this group, send email to omnetpp+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/omnetpp?hl=en.
Thanks,
Andras
Thanks for your inputs. I will submit a bug report.
Thanks
Aniruddha