0
Vote

Non Virtual Interfaces corrections

description

Some classes in the engine do not comply with the NVI pattern. The code has to be changed in this way.
  • If a class is designed to be inherited the destructor is public and virtual or protected (or private) non-virtual. Else it is public non-virtual.
  • A virtual function is not public. (create non-virtual interface calling virtual functions)
  • A data must never be public or protected. (create protected set and get if needed)

comments

wrote Jan 24, 2009 at 12:12 AM

Associated with changeset 24558.

wrote Jan 26, 2009 at 10:17 PM

Associated with changeset 24637.

wrote Jan 26, 2009 at 10:18 PM

This task is finished in exo²/physics.

wrote Feb 1, 2009 at 1:29 AM

Associated with changeset 24797.

wrote Feb 5, 2009 at 9:21 PM

Associated with changeset 24960.

wrote Feb 8, 2009 at 5:47 PM

This Work Item is still active because the modularisation is not finished

wrote Feb 1, 2013 at 11:00 PM