Dear Researcher,
you are asking about basic modeling concepts. Please refer to the User's
Manual section 2.1 ("Modeling Concepts") for a brief introduction:
https://omnetpp.org/doc/omnetpp/manual/usman.html#cha:overview
Best,
Christoph
Researcher wrote:
> thank you a lot for your replay.
>
> Currently I want to make the connection like the tic toc tutorial.
>
> I already defined a number of road side units. Then in the connection
> part , I use the gate that defined in the RSU.ned.
>
> I get this error:
>
> Error in module (cModule) RSUExampleScenario.rsu[0] (id=7) during
> network setup: Gate `RSUExampleScenario.rsu[0].in[0]' is not connected
> to a submodule (or internally to another gate of the same module).
>
> My two questions are :*
> 1- "Simple module gates have normally one connection attached. Compound
> module gates, however,
> need to be connected both inside and outside of the module to be useful".*
> since the rsu is compound model while the tic toc example use simple
> model , how can I make the connection for rsu?
>
> 2- I saw that there is (tictoc11.cc) C++ file to define how can the
> simple module send messages using different functions like (
> initialize() , handleMessage(cMessage *msg), finish() , etc )
> *is there any need for that for the RSU compound module or it is already
> implemented ?*
>
> thank you in advanced.
>
> --
> You received this message because you are subscribed to the Google
> Groups "OMNeT++ Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
omnetpp+u...@googlegroups.com
> <mailto:
omnetpp+u...@googlegroups.com>.
> Visit this group at
http://groups.google.com/group/omnetpp.
> For more options, visit
https://groups.google.com/d/optout.