Ticket #32 (closed: fixed)
Refactor an ObjectFactory out from the various factories
| Reported by: | Nick Draper | Owned by: | Russell Taylor | 
|---|---|---|---|
| Priority: | major | Milestone: | Iteration 2 | 
| Component: | Keywords: | ||
| Cc: | Blocked By: | ||
| Blocking: | Tester: | 
Description
We currently have several Factories within Mantid (and this may grow further).
- AlgorithmFactory (serves instances)
 - WorkspaceFactory (serves instances)
 - ServiceFactory (serves singletons)
 
The common factors of these algorithms should be refactored out to an object factory that the specific factories inherit from.
Attachments
Change History
Changed 13 years ago by Nick Draper
- Attachment DynamicFactory.h added
 
comment:1 Changed 13 years ago by Nick Draper
- Owner set to Russell Taylor
 
Added sample code for the base factory class
comment:3 Changed 13 years ago by Russell Taylor
- Status changed from assigned to closed
 - Resolution set to fixed
 
comment:4 Changed 13 years ago by Russell Taylor
- Status changed from closed to reopened
 - Resolution fixed deleted
 
Still need to add automatic registration...
comment:5 Changed 13 years ago by Russell Taylor
- Status changed from reopened to closed
 - Resolution set to fixed
 
comment:6 Changed 13 years ago by Russell Taylor
- Status changed from closed to reopened
 - Resolution fixed deleted
 
comment:9 Changed 13 years ago by Russell Taylor
- Status changed from reopened to closed
 - Resolution set to fixed
 
comment:10 Changed 5 years ago by Stuart Campbell
This ticket has been transferred to github issue 880
Note: See
        TracTickets for help on using
        tickets.
    
DynamicFactory header