[Ns-developers] static ns-3 take two
Gustavo Carneiro
gjcarneiro at gmail.com
Sun Feb 15 06:12:26 PST 2009
2009/2/15 Mathieu Lacage <mathieu.lacage at sophia.inria.fr>
> On Sun, 2009-02-15 at 13:01 +0000, Gustavo Carneiro wrote:
>
> > The trick is to generate a source file that registers all known object
> > typeids. The available object typeids are discovered by a simple regexp
> > scanning of the ns-3 public header files. For this reason, olsr does not
>
> can't you grep for uses of NS_OBJECT_ENSURE_REGISTERED in source files ?
It does not help with the olsr problem. Even if I can detect
olsr::AgentImpl exists, I cannot call olsr::AgentImpl::GetTypeId because it
is not declared in a public header. Unless you know a way to
forward-declare class static methods?
>
>
> regards,
> Mathieu
>
>
--
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