You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the introduction of the axis class, Unit (and it’s subclasses) do not hold any member data. We should not, therefore, be creating multiple instances of concrete units to attach to the various axes of various workspaces. Instead, the Unit Factory should just hand out a pointer to the same instance every time a unit is created.
Despite the title of this ticket, this should probably be achieved by modifying the factory to simply hand out the address of a concrete unit if it’s previously been created, rather than by modifying the unit classes themselves.
The text was updated successfully, but these errors were encountered:
Original Reporter: Russell Taylor
With the introduction of the axis class, Unit (and it’s subclasses) do not hold any member data. We should not, therefore, be creating multiple instances of concrete units to attach to the various axes of various workspaces. Instead, the Unit Factory should just hand out a pointer to the same instance every time a unit is created.
Despite the title of this ticket, this should probably be achieved by modifying the factory to simply hand out the address of a concrete unit if it’s previously been created, rather than by modifying the unit classes themselves.
The text was updated successfully, but these errors were encountered: