[Ns-developers] release update [feedback needed]
Mathieu Lacage
mathieu.lacage at sophia.inria.fr
Wed Jun 10 07:50:47 PDT 2009
On Wed, 2009-06-10 at 07:46 -0700, Tom Henderson wrote:
> Mathieu Lacage wrote:
> > A related question about this code: why do we keep around all these base
> > class + implementation classes in src/node and src/internet-stack for
> > ListRouting ? I understand why you did this for StaticRouting but,
> > ListRouting does not look immediately useful and appears to merely
> > increase the pain of introducing modifications there. Would you object
> > if I removed the Ipv4ListRouting base class and removed the Impl postfix
> > of the impl class ?
>
> I did this to expose the public API for list routing
> (AddRoutingProtocol() ).
You can do this without splitting it between a base class and an
implementation class (just export the header). The only reason for the
split is if you plan to have multiple implementations which, really, I
can't foresee.
Mathieu
More information about the Ns-developers
mailing list