Number of nodes in a network

3 views
Skip to first unread message

pardal

unread,
Mar 11, 2010, 11:00:53 AM3/11/10
to omnetpp
Hello everybody,

In a simple module that I have created, I defined a pointer to the
network like this:

parent = getParentModule();
network = parent->getParentModule();

(the simple module is in a compound module).

My question is: how can I get the number of nodes in the network using
the pointer "network"? Is there another way of doing it (without using
the pointer)?

Thanks in advance.

Reply all
Reply to author
Forward
0 new messages